文档首页
MySQL 8.4 参考手册
8.4 中文镜像

MySQL 8.4 参考手册 · 中文镜像

正文为中文,英文原文默认隐藏。点击任意中文段落即可展开 / 收起对应英文原文。

打开官方英文原文 ↗

译文由机器翻译生成,仅供理解参考;有疑问请以官方英文原文为准。

MySQL 8.4 参考手册 / 10 优化 / 10.15 跟踪优化器 / 10.15.8 optimizer_trace 系统变量
中文点击中文段落可显示 / 隐藏英文原文本页译文覆盖 100%

10.15.8 optimizer_trace 系统变量10.15.8 The optimizer_trace System Variable

optimizer_trace 系统变量具有这些开/关开关:The optimizer_trace system variable has these on/off switches:

  • enabled:启用(ON)或禁用(OFF)跟踪enabled: Enables (ON) or disables (OFF) tracing

  • one_line:如果设置为 ON,跟踪将不包含空白,从而节省空间。这会使人类难以阅读跟踪,但 JSON 解析器仍然可以使用,因为它们会忽略空白。one_line: If set to ON, the trace contains no whitespace, thus conserving space. This renders the trace difficult to read for humans, still usable by JSON parsers, since they ignore whitespace.