MySQL 9.4 Reference Manual Including MySQL NDB Cluster 9.4

10.15.8 The optimizer_trace System Variable

The optimizer_trace system variable has these on/off switches: