1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

WL#2360 Performance schema

Part V: performance schema implementation
This commit is contained in:
Marc Alff
2010-01-11 18:47:27 -07:00
parent a4c3bc618b
commit 67a48e1a4c
285 changed files with 27090 additions and 629 deletions

View File

@@ -0,0 +1,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';