Change Request
This repository is ONLY used to solve problems related to DOCS-CN.
Please answer the following questions before submitting your issue. Thanks!
- Describe what you find is inappropriate or missing in the existing docs.
- Describe your suggestion or addition.
- 在
system-variables.md 的 tidb_slow_log_rules 小节补充一个表格(建议放在变量介绍后、示例前),至少包含:
- 字段名(identifier,注明大小写不敏感)
- 类型(bool/string/int/uint/float)
- 单位(秒、次数、bytes、ratio 等)
- 取值范围(min~max;若 TiDB 侧未强校验,也可先给出“建议范围/合法范围”说明)
- 语义说明(与慢日志字段的对应关系)
- 在
identify-slow-queries.md 中对 tidb_slow_log_rules 的示例与解释补充单位说明,避免把 Query_time(秒)与 tidb_slow_log_threshold(毫秒)混淆。
- 增加“规则语法约束”小节(或注意事项):
- 最多 10 条规则(
; 分隔)
- 单条规则内条件以
, 分隔
- SESSION 作用域不允许
Conn_ID
- 字段名大小写不敏感
- 含逗号字符串的写法(引号)
(背景:PR #21009 已开始补充 tidb_slow_log_rules 的说明,但以上信息目前仍缺失。)
- Provide some reference materials (documents, websites, etc) if you could.