Inspect access path and chosen key.
Section: Cross-database tools
MySQL EXPLAIN
sql
sql
EXPLAIN SELECT * FROM users WHERE email = 'a@example.com';Explanation
Check the selected key, rows estimate, and extras such as filesort or temporary operations.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Cross-database tools