Documentation Home
MySQL 8.0 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 43.3Mb
PDF (A4) - 43.4Mb
Man Pages (TGZ) - 297.2Kb
Man Pages (Zip) - 402.4Kb
Info (Gzip) - 4.3Mb
Info (Zip) - 4.3Mb
Excerpts from this Manual

MySQL 8.0 Reference Manual  / ...  / Optimization  / Tracing the Optimizer  /  Optimizer Trace Implementation

10.15.16 Optimizer Trace Implementation

See the filessql/opt_trace*, starting withsql/opt_trace.h. A trace is started by creating an instance ofOpt_trace_start; information is added to this trace by creating instances ofOpt_trace_object andOpt_trace_array, and by using theadd() methods of these classes.