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  / Optimization and Indexes  /  Verifying Index Usage

10.3.7 Verifying Index Usage

Always check whether all your queries really use the indexes that you have created in the tables. Use theEXPLAIN statement, as described inSection 10.8.1, “Optimizing Queries with EXPLAIN”.