MySQL 9.3 Reference Manual Including MySQL NDB Cluster 9.3

28.3.20 The INFORMATION_SCHEMA OPTIMIZER_TRACE Table

The OPTIMIZER_TRACE table provides information produced by the optimizer tracing capability for traced statements. To enable tracking, use the optimizer_trace system variable. For details, see Section 10.15, “Tracing the Optimizer”.

The OPTIMIZER_TRACE table has these columns: