Overview
The GV$OB_PARAMETERS view displays the parameter information (including hidden parameters starting with underscores) on all OBServer nodes of a tenant.
Columns
Field Name |
Type |
Whether can be NULL |
Description |
|---|---|---|---|
| SVR_IP | varchar(46) | NO | Server IP Address |
| SVR_PORT | bigint(20) | NO | Server Port Number |
| ZONE | varchar(128) | NO | Zone Name |
| SCOPE | varchar(64) | NO |
|
| TENANT_ID | bigint(20) | YES | Tenant ID:
|
| NAME | varchar(128) | NO | Parameter name |
| DATA_TYPE | varchar(128) | YES | Parameter value type |
| VALUE | varchar(65536) | NO | Parameter Value |
| INFO | varchar(4096) | NO | Parameter Description |
| SECTION | varchar(128) | NO | Module to Which the Parameter Belongs |
| EDIT_LEVEL | varchar(128) | NO | The following table describes the effective time of parameter modifications:
|
| DEFAULT_VALUE | varchar(65536) | NO | Default value of the parameter |
| ISDEFAULT | varchar(3) | NO | Whether the current value is the default value:
|
The possible values of the DATA_TYPE field in the view are as follows:
Field value |
Description |
Example (NAME=VALUE) |
|---|---|---|
| BOOL | Boolean | enable_ddl=True |
| INT | Integer types | log_disk_percentage=1 |
| DOUBLE | Floating-point number types | server_cpu_quota_min=1.0 |
| STRING | String | leak_mod_to_check='NONE' |
| STR_LIST | A list of strings separated by semicolons. | config_additional_dir='etc2;etc3' |
| TIME | Time period | merger_check_interval='10m' |
| MOMENT | Point in Time | major_freeze_duty_time='02:00' |
| CAPACITY | Capacity, for example, 3 MB or 5 GB | log_disk_size='0M' |
| VERSION | Version | compatible='4.3.0.0' |
| MODE | Specify to enable/disable the corresponding OBKV feature. | _obkv_feature_mode = 'ttl=off, rerouting=on' |
Sample query
Query the configuration parameter large_query_threshold on all OBServer nodes where the tenant resides.
obclient [oceanbase]> SELECT * FROM oceanbase.GV$OB_PARAMETERS WHERE NAME LIKE '%large_query_threshold%'\G
The query result is as follows:
*************************** 1. row ***************************
SVR_IP: 11.xx.xx.xx
SVR_PORT: 12615
ZONE: z1
SCOPE: CLUSTER
TENANT_ID: NULL
NAME: large_query_threshold
DATA_TYPE: TIME
VALUE: 5s
INFO: threshold for execution time beyond which a request may be paused and rescheduled as a \'large request\', 0ms means disable \'large request\'. Range: [0ms, +∞)
SECTION: TENANT
EDIT_LEVEL: DYNAMIC_EFFECTIVE
DEFAULT_VALUE: 5s
ISDEFAULT: YES
1 row in set