Purpose
The oceanbase.CDB_OB_SYS_VARIABLES view provides the system variable information about all tenants in the sys tenant.
Note
This view is introduced since OceanBase Database V4.0.0.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| CREATE_TIME | timestamp(6) | NO | The time when the system variable was created. |
| MODIFY_TIME | timestamp(6) | NO | The time when the system variable was modified. |
| TENANT_ID | bigint(20) | NO | The ID of the tenant. |
| NAME | varchar(128) | NO | The name of the system variable. |
| VALUE | varchar(65536) | YES | The value of the system variable. |
| MIN_VALUE | varchar(65536) | NO | The minimum value of the system variable. |
| MAX_VALUE | varchar(65536) | NO | The maximum value of the system variable. |
| SCOPE | varchar(16) | NO | The scope where the variable takes effect. Valid values:GLOBAL_ONLY: The variable takes effect at the tenant level.SESSION_ONLY: The variable takes effect at the session level.GLOBAL | SESSION: The variable takes effect at the tenant or session level. |
| INFO | varchar(4096) | NO | The description of the variable. |