Documentation Home
MySQL 5.7 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 38.2Mb
PDF (A4) - 38.2Mb
PDF (RPM) - 37.1Mb
HTML Download (TGZ) - 10.1Mb
HTML Download (Zip) - 10.2Mb
HTML Download (RPM) - 8.9Mb
Man Pages (TGZ) - 206.2Kb
Man Pages (Zip) - 314.5Kb
Info (Gzip) - 3.5Mb
Info (Zip) - 3.5Mb
Excerpts from this Manual

MySQL 5.7 Reference Manual  /  ...  /  The ps_setup_disable_instrument() Procedure The ps_setup_disable_instrument() Procedure

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

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

    A value of '' matches all instruments.


Disable a specific instrument:

mysql> CALL ps_setup_disable_instrument('wait/lock/metadata/sql/mdl');
| summary               |
| Disabled 1 instrument |

Disable all mutex instruments:

mysql> CALL ps_setup_disable_instrument('mutex');
| summary                  |
| Disabled 177 instruments |

User Comments
Sign Up Login You must be logged in to post a comment.