MySQL Profiling

If we ever wondered what’s the performance of a MySQL query and a SELECT query be more efficient (and hence faster)? MySQL has an embedded profiling feature that we can use from stock MySQL. To enable it, it’s pretty simple: mysql> SET profiling = 1;