SHOW SESSION CONFIGS command¶
The SHOW SESSION CONFIGS command lists the configuration options set using either SESSION SET or SESSION RESET for the current session.
The following table describes the returned information:
| Column | Description |
|---|---|
name |
The name of the configuration option. |
type |
The data type of the configuration option. |
value |
The runtime value of the configuration option. |
default_value |
The default value of the configuration option. |
scope |
The type of the configuration option. Valid values: GLOBAL, SERVICE, and SESSION. |
deprecated |
Whether the configuration option is deprecated. Valid values are:false: indicates that the option is not deprecated.true: indicates that it is deprecated. |
mutable |
Whether the configuration option supports dynamic modification at runtime. Valid values are:false: indicates that the option cannot be dynamically modified.true: indicates that it can be dynamically modified. |
since |
The NebulaGraph Database Developer Edition version in which the configuration option was introduced. |
description |
The description of the configuration option. |
Syntax¶
- show_session_configs_command
show_session_configs_command ::=
'SHOW' 'SESSION' 'CONFIGS'
Examples¶
SESSION SET timezone = "Asia/Shanghai" // Set the timezone for the current session to Asia/Shanghai.
SHOW SESSION CONFIGS
Return:
+----------+--------+---------------+---------------+---------+------------+---------+-------+-----------------------------+
| name | type | value | default_value | scope | deprecated | mutable | since | description |
+----------+--------+---------------+---------------+---------+------------+---------+-------+-----------------------------+
| timezone | STRING | Asia/Shanghai | UTC | SESSION | false | true | 5.0.0 | timezone of current session |
+----------+--------+---------------+---------------+---------+------------+---------+-------+-----------------------------+