April 4, 2012Using EXPLAIN to Write Better MySQL Queries When you issue a query, the MySQL Query Optimizer tries to devise an optimal plan for query execution. You can see information about the plan by prefixing the query with EXPLAIN. EXPLAIN is one of the most powerful tools at your disposal for understanding and optimizing troublesome MySQL queries, but it’s a sad fact that many developers rare
![Using EXPLAIN to Write Better MySQL Queries — SitePoint](https://cdn-ak-scissors.b.st-hatena.com/image/square/b0f47d7caa8f888e33fa72543419bc50a44ddfae/height=288;version=1;width=512/https%3A%2F%2Fwww.sitepoint.com%2Fwp-content%2Fthemes%2Fsitepoint%2Fassets%2Fimages%2Ficon.php.png)