MySQL – How to Get Estimate Cost of Executing a Query

execution-planMySQLperformancequery-performance

In PostgreSQL, EXPLAIN or EXPLAIN ANALYZE will show the estimate cost of executing a query. But EXPLAIN in MySQL doesn't provide this information. How can I get the estimate cost without installation of other tools? I'm using MySQL-5.6.16.

Best Answer

There isn't much out there for MySQL except the following:

Read these carefully, see what you think ...