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 | VARCHAR2(46) | NO | The IP address of the server. |
| SVR_PORT | NUMBER(38) | NO | The port number of the server. |
| SCOPE | VARCHAR2(64) | NO | CLUSTER: cluster-level parameterTENANT: tenant-level parameter |
| TENANT_ID | NUMBER(38) | YES | The ID of the tenant. NULL: The parameter does not belong to any tenant. |
| NAME | VARCHAR2(128) | NO | The name of the parameter. |
| DATA_TYPE | VARCHAR2(128) | YES | The type of the parameter value. |
| VALUE | VARCHAR2(65536) | NO | The value of the parameter. |
| INFO | VARCHAR2(4096) | NO | The description of the parameter. |
| SECTION | VARCHAR2(128) | NO | The module to which the parameter belongs. |
| EDIT_LEVEL | VARCHAR2(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 | VARCHAR2(65536) | NO | The default value of the parameter.
NoteThis column is introduced in V4.2.2. |
| ISDEFAULT | VARCHAR2(3) | NO | Whether the current value is the default value.
NoteThis column is introduced in V4.2.2. |
Example
obclient [oceanbase]> SELECT * FROM SYS.GV$OB_PARAMETERS WHERE ROWNUM <= 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.050 sec)