Documentation Home
MySQL 8.0 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 42.8Mb
PDF (A4) - 42.9Mb
Man Pages (TGZ) - 273.8Kb
Man Pages (Zip) - 385.3Kb
Info (Gzip) - 4.2Mb
Info (Zip) - 4.2Mb
Excerpts from this Manual

MySQL 8.0 Reference Manual  /  ...  /  The ps_setup_disable_consumer() Procedure The ps_setup_disable_consumer() Procedure

Disables Performance Schema consumers with names that contain the argument. Produces a result set indicating how many consumers were disabled. Already disabled consumers do not count.

  • consumer VARCHAR(128): The value used to match consumer names, which are identified by using %consumer% as an operand for a LIKE pattern match.

    A value of '' matches all consumers.


Disable all statement consumers:

mysql> CALL sys.ps_setup_disable_consumer('statement');
| summary              |
| Disabled 4 consumers |