Optimizer Trace OverviewProduces a JSON trace with decision info taken by the optimizer during the optimization phase.
Optimizer Trace GuideGuide to the structured log file showing what actions were taken by the query optimizer.
Basic Optimizer Trace ExampleMariaDB> set optimizer_trace=’enabled=on’; MariaDB> select * from t1 where a<10; MariaDB> s
Optimizer Trace ResourcesOptimizer Trace Walkthrough talk at MariaDB Fest 2020: https://mariadb.org/...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.