Source: https://dev-docs.yueshu.com.cn/v5.3.2/database-gql-reference/data-admin/show/show-session-configs/ Documentation version: v5.3.2 # SHOW SESSION CONFIGS `SHOW SESSION CONFIGS`命令返回使用 [SESSION SET](https://dev-docs.yueshu.com.cn/v5.3.2/database-gql-reference/sessions/set/) 或者 [SESSION RESET](https://dev-docs.yueshu.com.cn/v5.3.2/database-gql-reference/sessions/reset/) 为当前连接的会话设置的所有配置项。 下表展示返回的信息: | 列 | 描述 | `name` | 配置项名称。 | `type` | 配置项数据类型。 | `value` | 配置项的运行时的值。 | `default_value` | 配置项的默认值。 | `scope` | 配置项的类别。有效值:`GLOBAL`、`SERVICE`、`SESSION`。 | `deprecated` | 配置项是否已废弃。值为`false`或`true`:`false`表示未废弃,`true`表示已废弃。 | `mutable` | 配置项是否可动态修改。值为`false`或`true`:`false`表示不可动态修改,`true`表示可动态修改。 | `since` | 配置项的引入版本 | `description` | 配置项的描述 ## 语法 语法图源码 show_session_configs_command ```` show_session_configs_command ::= 'SHOW' 'SESSION' 'CONFIGS' ```` ## 示例 ```` SESSION SET timezone = "Asia/Shanghai" // 为当前会话设置时区为 Asia/Shanghai。 SHOW SESSION CONFIGS ```` 返回: ```` +----------+--------+---------------+---------------+---------+------------+---------+-------+-----------------------------+ | 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 | +----------+--------+---------------+---------------+---------+------------+---------+-------+-----------------------------+ ````