Note
This view is available starting with V4.0.0.
Purpose
The GV$OB_PARAMETERS view displays the information about all configuration items (including hidden configuration items whose names start with an underscore (_)) on all OBServer nodes where the tenant resides.
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 item. |
| DATA_TYPE | varchar(128) | YES | The type of the configuration item value.
NoteStarting from V4.3.0, the value of this column changes from |
| VALUE | varchar(65536) | NO | The value of the configuration item. |
| INFO | varchar(4096) | NO | The description of the configuration item. |
| SECTION | varchar(128) | NO | The module to which the configuration item belongs. |
| EDIT_LEVEL | varchar(128) | NO | The way in which the configuration item takes effect after being modified.
|
| DEFAULT_VALUE | varchar(65536) | NO | The default value of the configuration item.
Note
|
| ISDEFAULT | varchar(3) | NO | Indicates whether the current value is the default value.
Note
|
The DATA_TYPE column in the view can have the following values:
| Value | Description | Example (NAME=VALUE) |
|---|---|---|
| BOOL | Boolean type | enable_ddl=True |
| INT | Integer type | log_disk_percentage=1 |
| DOUBLE | Double-precision floating-point type | server_cpu_quota_min=1.0 |
| STRING | String type | 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 | Time point | major_freeze_duty_time='02:00' |
| CAPACITY | Capacity, such as 3MB or 5G | log_disk_size='0M' |
| VERSION | Version number | compatible='4.3.0.0' |
| MODE | The mode to enable or disable the corresponding feature of OBKV | _obkv_feature_mode = 'ttl=off, rerouting=on' |
Sample query
Query the information about the large_query_threshold configuration item 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
