October 2011
Intermediate to advanced
184 pages
3h 40m
English

The MySQL EXPLAIN command is used to show the Query Execution Plan (QEP) for your SQL statement. The output from the command provides insight into how the MySQL optimizer will execute the SQL statement. The MySQL EXPLAIN command does not provide any tuning recommendations, but it does provide valuable information to help you make tuning decisions.
In this final chapter, we will be detailing the full syntax and options for the EXPLAIN command.
The QEP is produced with the EXPLAIN command. The syntax has two options:
mysql> EXPLAIN [EXTENDED | PARTITIONS ]
-> SELECT ...
or
mysql> EXPLAIN table
The MySQL ...
Read now
Unlock full access