SHOW SQL_PARSER RULE

描述

SHOW SQL_PARSER RULE 语法用于查询解析引擎规则配置。

语法

语法 铁路图

  1. ShowSqlParserRule ::=
  2. 'SHOW' 'SQL_PARSER' 'RULE'

返回值说明

说明
sql_comment_parse_enabledSQL 注释解析启用状态
parse_tree_cache语法树缓存
sql_statement_cacheSQL 语句缓存

示例

  • 查询解析引擎规则配置
  1. SHOW SQL_PARSER RULE;
  1. mysql> SHOW SQL_PARSER RULE;
  2. +---------------------------+-----------------------------------------+-------------------------------------------+
  3. | sql_comment_parse_enabled | parse_tree_cache | sql_statement_cache |
  4. +---------------------------+-----------------------------------------+-------------------------------------------+
  5. | false | initialCapacity: 128, maximumSize: 1024 | initialCapacity: 2000, maximumSize: 65535 |
  6. +---------------------------+-----------------------------------------+-------------------------------------------+
  7. 1 row in set (0.05 sec)

保留字

SHOWSQL_PARSERRULE

相关链接