GV$OB_PARAMETERS

2024-03-05 01:54:26  Updated

Note

This view is introduced since OceanBase Database V4.0.0.

Purpose

The GV$OB_PARAMETERS view displays the parameters on all OBServer nodes of a tenant.

Columns

Column Type Nullable? Description
SVR_IP varchar(46) NO The IP address of the server.
SVR_PORT bigint(20) NO The port number of the server.
ZONE varchar(128) NO The name of the zone.
SCOPE varchar(64) NO
  • CLUSTER: cluster-level parameter
  • TENANT: tenant-level parameter
  • TENANT_ID bigint(20) YES The ID of the tenant.
  • NULL: The parameter does not belong to any tenant.
  • Other valid values: the tenant ID.
  • NAME varchar(128) NO The name of the parameter.
    DATA_TYPE varchar(128) YES The type of the parameter value.
    VALUE varchar(65536) NO The value of the parameter.
    INFO varchar(4096) NO The description of the parameter.
    SECTION varchar(128) NO The module to which the parameter belongs.
    EDIT_LEVEL varchar(128) NO The way for the parameter modification to take effect.
  • READONLY: The parameter is read-only and cannot be modified.
  • STATIC_EFFECTIVE: The parameter modification takes effect upon restart.
  • DYNAMIC_EFFECTIVE: The parameter modification takes effect dynamically.
  • DEFAULT_VALUE varchar(65536) NO The default value of the parameter.

    Note

    This column is introduced in V4.2.2.

    ISDEFAULT varchar(3) NO Whether the current value is the default value.
    • NO: The current value is not the default value.
    • YES: The current value is the default value.

    Note

    This column is introduced in V4.2.2.

    Example

    obclient [oceanbase]> SELECT * FROM oceanbase.GV$OB_PARAMETERS limit 2;
    

    The query result is as follows:

    +----------------+----------+-------+---------+-----------+---------------------------------------+-----------+-------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+-------------------+---------------+-----------+
    | SVR_IP         | SVR_PORT | ZONE  | SCOPE   | TENANT_ID | NAME                                  | DATA_TYPE | VALUE | INFO                                                                                                                                                                                                 | SECTION  | EDIT_LEVEL        | DEFAULT_VALUE | ISDEFAULT |
    +----------------+----------+-------+---------+-----------+---------------------------------------+-----------+-------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+-------------------+---------------+-----------+
    | xx.xx.xx.xx |    28824 | zone1 | CLUSTER |      NULL | strict_check_os_params                | NULL      | False | A switch that determines whether to enable strict OS parameter check mode, defaulting to true and can be set to false to bypass strict checks.Value: True: allowed; False: allowed but not suggested | OBSERVER | STATIC_EFFECTIVE  | False         | YES       |
    | xx.xx.xx.xx |    28824 | zone1 | CLUSTER |      NULL | _ha_diagnose_history_recycle_interval | NULL      | 7d    | The recycle interval time of diagnostic history data. Range: [2m, 180d]                                                                                                                              | OBSERVER | DYNAMIC_EFFECTIVE | 7d            | YES       |
    +----------------+----------+-------+---------+-----------+---------------------------------------+-----------+-------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+-------------------+---------------+-----------+
    2 rows in set (0.053 sec)
    

    References

    Contact Us