Related Documentation Download this Manual
PDF (US Ltr) - 40.2Mb
PDF (A4) - 40.3Mb
Man Pages (TGZ) - 262.0Kb
Man Pages (Zip) - 367.6Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb
PDF (A4) - 40.3Mb
Man Pages (TGZ) - 262.0Kb
Man Pages (Zip) - 367.6Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb
MySQL 8.4 Reference Manual / ... / MySQL sys Schema / sys Schema Object Reference / sys Schema Stored Procedures / 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 aLIKEpattern match.A value of
''matches all instruments.
Disable a specific instrument:
mysql> CALL sys.ps_setup_disable_instrument('wait/lock/metadata/sql/mdl');+-----------------------+| summary |+-----------------------+| Disabled 1 instrument |+-----------------------+Disable all mutex instruments:
mysql> CALL sys.ps_setup_disable_instrument('mutex');+--------------------------+| summary |+--------------------------+| Disabled 177 instruments |+--------------------------+Related Documentation Download this Manual
PDF (US Ltr) - 40.2Mb
PDF (A4) - 40.3Mb
Man Pages (TGZ) - 262.0Kb
Man Pages (Zip) - 367.6Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb
PDF (A4) - 40.3Mb
Man Pages (TGZ) - 262.0Kb
Man Pages (Zip) - 367.6Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb