Note
This view is available starting with V4.0.0.
Purpose
The GV$OB_PARAMETERS view displays information about parameters (including hidden parameters with names starting with an underscore) on all OBServer nodes where the tenant is located.
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. |
| ZONE | VARCHAR2(128) | NO | The zone name. |
| SCOPE | VARCHAR2(64) | NO |
|
| TENANT_ID | NUMBER(38) | YES | The tenant ID:
|
| NAME | VARCHAR2(128) | NO | The name of the parameter. |
| DATA_TYPE | VARCHAR2(128) | YES | The type of the parameter value.
NoteStarting from V4.3.0, the value of this field changes from |
| 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 in which the parameter takes effect after modification:
|
| DEFAULT_VALUE | VARCHAR2(65536) | NO | The default value of the parameter.
Note
|
| ISDEFAULT | VARCHAR2(3) | NO | Indicates whether the current value is the default value:
Note
|
The values of the DATA_TYPE field in the view are as follows:
| Value | Description | Example (NAME=VALUE) |
|---|---|---|
| BOOL | Boolean type | enable_ddl=True |
| INT | Integer type | log_disk_percentage=1 |
| DOUBLE | Double 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 | Specifies whether 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 parameter on all OBServer nodes where the tenant is located.
obclient [SYS]> SELECT * FROM SYS.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
