1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
UPDATE performance_schema.setup_instruments
SET ENABLED = 'NO'
WHERE NAME LIKE 'stage/innodb/%'
OR NAME LIKE 'statement/com/%'
OR NAME = 'idle';
CALL sys.ps_setup_show_disabled_instruments();
disabled_instruments timed
idle YES
stage/innodb/alter table (end) YES
stage/innodb/alter table (insert) YES
stage/innodb/alter table (log apply index) YES
stage/innodb/alter table (log apply table) YES
stage/innodb/alter table (merge sort) YES
stage/innodb/alter table (read PK and internal sort) YES
stage/innodb/buffer pool load YES
statement/com/Binlog Dump YES
statement/com/Bulk_execute YES
statement/com/Change user YES
statement/com/Close stmt YES
statement/com/Connect YES
statement/com/Connect Out YES
statement/com/Create DB YES
statement/com/Daemon YES
statement/com/Debug YES
statement/com/Delayed insert YES
statement/com/Drop DB YES
statement/com/Error YES
statement/com/Execute YES
statement/com/Fetch YES
statement/com/Field List YES
statement/com/Init DB YES
statement/com/Kill YES
statement/com/Long Data YES
statement/com/Ping YES
statement/com/Prepare YES
statement/com/Processlist YES
statement/com/Quit YES
statement/com/Refresh YES
statement/com/Register Slave YES
statement/com/Reset connection YES
statement/com/Reset stmt YES
statement/com/Set option YES
statement/com/Shutdown YES
statement/com/Slave_IO YES
statement/com/Slave_SQL YES
statement/com/Slave_worker YES
statement/com/Sleep YES
statement/com/Statistics YES
statement/com/Table Dump YES
statement/com/Time YES
statement/com/Unimpl get tid YES
UPDATE performance_schema.setup_instruments SET enabled = 'YES', timed = 'YES';
TRUNCATE TABLE performance_schema.setup_actors;
INSERT INTO performance_schema.setup_actors VALUES ('%', '%', '%', 'YES', 'YES');
UPDATE performance_schema.setup_consumers SET enabled = 'YES';
UPDATE performance_schema.threads SET instrumented = 'YES';
|