GV$OB_PARAMETERS

2024-06-28 05:30:30  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 the current tenant.

Columns

Column Type Nullable? Description
SVR_IP varchar(46) NO The IP address of the OBServer node.
SVR_PORT bigint(20) NO The port number of the OBServer node.
ZONE varchar(128) NO The name of the zone.
SCOPE varchar(64) NO
  • CLUSTER: a cluster-level parameter.
  • TENANT: a 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 ID of the tenant.
  • 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. Valid values:
  • 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 OceanBase Database V4.3.x since OceanBase Database V4.3.1.
    • This column is introduced in OceanBase Database V4.2.x since OceanBase Database V4.2.2.
    ISDEFAULT varchar(3) NO Indicates whether the current value is the default value. Valid values:
    • NO: The current value is not the default value.
    • YES: The current value is the default value.

    Note

    • This column is introduced in OceanBase Database V4.3.x since OceanBase Database V4.3.1.
    • This column is introduced in OceanBase Database V4.2.x since OceanBase Database V4.2.2.

    The following table describes the valid values of the DATA_TYPE column.

    Column value Description Example (in the NAME=VALUE format)
    BOOL A Boolean value. enable_ddl=True
    INT An integer. log_disk_percentage=1
    DOUBLE A floating-point number. server_cpu_quota_min=1.0
    STRING A string. leak_mod_to_check=‘NONE’
    STR_LIST A list of strings separated with semicolons (;). config_additional_dir=‘etc2;etc3’
    TIME A period of time. merger_check_interval=‘10m’
    MOMENT A point in time. major_freeze_duty_time=‘02:00’
    CAPACITY A capacity, for example, 3M or 5G. log_disk_size=‘0M’
    VERSION A version. compatible=‘4.3.0.0’
    MODE Indicates whether certain features of OBKV are enabled or disabled. _obkv_feature_mode = ‘ttl=off, rerouting=on’

    Sample query

    Query the parameters on all OBServer nodes of the current tenant.

    obclient [oceanbase]> SELECT * FROM oceanbase.GV$OB_PARAMETERS limit 1 \G
    

    The query result is as follows:

    *************************** 1. row ***************************
           SVR_IP: xx.xx.xx.xx
         SVR_PORT: 2882
             ZONE: zone1
            SCOPE: CLUSTER
        TENANT_ID: NULL
             NAME: _enable_dbms_job_package
        DATA_TYPE: BOOL
            VALUE: False
             INFO: Control whether can use DBMS_JOB package.
          SECTION: OBSERVER
       EDIT_LEVEL: DYNAMIC_EFFECTIVE
    DEFAULT_VALUE: True
        ISDEFAULT: NO
    1 row in set (0.004 sec)
    

    References

    Contact Us