My Oracle Support Banner

How To Use the Optimizer Trace Feature in MySQL 5.6 and Later to Investigate Why a Given Query Plan Was Chosen? (Doc ID 2241524.1)

Last updated on SEPTEMBER 04, 2023

Applies to:

MySQL Server - Version 5.6 and later
MySQL Cluster - Version 7.3 and later
Information in this document applies to any platform.


Investigate why the optimizer chose a given execution plan for a query.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Further Reading

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.