The setup_actors table in MySQL Performance Schema can be used to
specify what users and hosts one wants to have instrumentation
enabled for. By default, connections from all users and hosts are
instrumented:
mysql> select * from performance_schema.setup_actors; +------+------+------+ | HOST | USER | ROLE | +------+------+------+ | % | % | % | +------+------+------+ 1 row in set (0.00 sec)
You can then use standard SQL against this setup_actors table in order to specify what users and hosts you want to have instrumentation enabled for.
But what about the case where you want to enable instrumentation for everyone except the …
[Read more]