One of my favorite tools for query optimization is profiling. But recently I noticed this warning:
mysql> set profiling=1; Query OK, 0 rows affected, 1 warning (0.00 sec) mysql> show warnings; +---------+------+----------------------------------------------------------------------+ | Level | Code | Message | +---------+------+----------------------------------------------------------------------+ | Warning | 1287 | '@@profiling' is deprecated and will be removed in a future release. | +---------+------+----------------------------------------------------------------------+
After looking through certain documentation , I should indeed start using the Performance Schema to get this information.
Okay, so let’s give that a try.
I confirmed that I started MySQL 5.6.23 …
[Read more]