Note
This view is available starting with V4.2.2.
Purpose
The DBA_OB_SYS_VARIABLES view displays the configurations of system variables (including hidden variables whose names start with an underscore) for the current tenant.
Columns
| Column | Type | Nullable | Description |
|---|---|---|---|
| CREATE_TIME | TIMESTAMP(6) WITH LOCAL TIME ZONE | NO | The creation time. |
| MODIFY_TIME | TIMESTAMP(6) WITH LOCAL TIME ZONE | NO | The modification time. |
| NAME | VARCHAR2(128) | YES | The name of the system variable. |
| VALUE | VARCHAR2(65536) | YES | The current value of the system variable. |
| MIN_VALUE | VARCHAR2(65536) | YES | The minimum value. |
| MAX_VALUE | VARCHAR2(65536) | YES | The maximum value. |
| SCOPE | VARCHAR2(16) | NO | The level of the system variable. |
| INFO | VARCHAR2(4096) | NO | Information comments. |
| DEFAULT_VALUE | VARCHAR2(65536) | YES | The default value of the system variable. |
| ISDEFAULT | VARCHAR2(3) | NO | Indicates whether the value is the default value. |
Sample query
Query the information about the system variable ob_query_timeout for the current tenant.
obclient [SYS]> SELECT * FROM SYS.DBA_OB_SYS_VARIABLES WHERE NAME='ob_query_timeout';
The query result is as follows:
+------------------------------+------------------------------+------------------+----------+-----------+-----------+------------------+----------------------------------+---------------+-----------+
| CREATE_TIME | MODIFY_TIME | NAME | VALUE | MIN_VALUE | MAX_VALUE | SCOPE | INFO | DEFAULT_VALUE | ISDEFAULT |
+------------------------------+------------------------------+------------------+----------+-----------+-----------+------------------+----------------------------------+---------------+-----------+
| 29-JUL-24 02.59.39.316063 PM | 29-JUL-24 02.59.39.316063 PM | ob_query_timeout | 10000000 | NULL | NULL | GLOBAL | SESSION | Query timeout in microsecond(us) | 10000000 | YES |
+------------------------------+------------------------------+------------------+----------+-----------+-----------+------------------+----------------------------------+---------------+-----------+
1 row in set