Debian Codegraph @

mysql-test/suite/sysschema/t/pr_ps_setup_show_enabled_instruments.test

raw
1
2 # Disable all but a few instruments (reduces output as well)
3 # It is not possible to disable memory/performance_schema/%
4 # so don't even try.
5 UPDATE performance_schema.setup_instruments
6 SET ENABLED = 'NO'
7 WHERE NAME NOT LIKE 'memory/performance_schema/%'
8 AND NAME NOT LIKE 'stage/innodb/%'
9 AND NAME NOT LIKE 'statement/com/%'
10 AND NAME <> 'idle';
11
12 CALL sys.ps_setup_show_enabled_instruments();
13
14 # Clean up
15 -- source ../include/ps_setup_reset_to_default_cleanup.inc