modify.result 809 Bytes
Newer Older
Marc Alff's avatar
Marc Alff committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
UPDATE performance_schema.SETUP_INSTRUMENTS SET TIMED = 'NO';
UPDATE performance_schema.SETUP_INSTRUMENTS SET ENABLED = 'NO';
UPDATE performance_schema.SETUP_TIMERS 
SET TIMER_NAME = 'NANOSECOND' WHERE NAME = 'Wait';
UPDATE performance_schema.SETUP_TIMERS 
SET TIMER_NAME = 'CYCLE' WHERE NAME = 'Wait';
UPDATE performance_schema.SETUP_INSTRUMENTS SET TIMED = 'YES';
UPDATE performance_schema.SETUP_INSTRUMENTS SET ENABLED = 'YES' 
WHERE NAME IN ('wait/io/file/sql/FRM', 
'thread/sql/Connection', 
'wait/synch/cond/sql/COND_mdl', 
'wait/synch/rwlock/sql/LOCK_sys_init_connect', 
'wait/synch/mutex/sql/LOCK_mdl');
UPDATE performance_schema.SETUP_CONSUMERS SET ENABLED = 'NO'
WHERE NAME = 'events_waits_history';
UPDATE performance_schema.SETUP_CONSUMERS SET ENABLED = 'YES'
WHERE NAME = 'events_waits_history';