Note
This view is available starting with V4.0.0.
Purpose
The V$OB_PARAMETERS view displays the information about the configuration parameters (including the hidden parameters that start with an underscore) on the current OBServer node.
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 |
|
| TENANT_ID | bigint(20) | YES | The tenant ID.
|
| NAME | varchar(128) | NO | The name of the configuration parameter. |
| DATA_TYPE | varchar(128) | YES | The value type of the configuration parameter. |
| VALUE | varchar(65536) | NO | The value of the configuration parameter. |
| INFO | varchar(4096) | NO | The description of the configuration parameter. |
| SECTION | varchar(128) | NO | The module to which the configuration parameter belongs. |
| EDIT_LEVEL | varchar(128) | NO | The way in which the configuration parameter takes effect after modification:
|
| DEFAULT_VALUE | varchar(65536) | NO | The default value of the configuration parameter
NoteThis column is available starting with V4.2.2. |
| ISDEFAULT | varchar(3) | NO | Indicates whether the current value is the default value:
NoteThis column is available starting with V4.2.2. |
Sample query
Query the information about the configuration parameters on the current OBServer node and display the second record.
obclient [oceanbase]> SELECT * FROM oceanbase.V$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.046 sec)