mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
10.0-base merge
This commit is contained in:
@ -15,6 +15,9 @@ WHERE name LIKE 'wait/io/file/%';
|
||||
update performance_schema.threads SET instrumented = 'YES'
|
||||
WHERE PROCESSLIST_ID=connection_id();
|
||||
|
||||
# reset lost counters
|
||||
flush status;
|
||||
|
||||
--disable_warnings
|
||||
DROP TABLE IF EXISTS t1;
|
||||
--enable_warnings
|
||||
@ -183,3 +186,7 @@ ORDER BY p.processlist_user, h.operation;
|
||||
|
||||
# Clean-up.
|
||||
UPDATE performance_schema.setup_instruments SET enabled = 'YES', timed = 'YES';
|
||||
|
||||
# In case of failure, will indicate the root cause
|
||||
show status like "performance_schema%";
|
||||
|
||||
|
@ -13,6 +13,15 @@ UPDATE performance_schema.setup_instruments SET enabled = 'YES'
|
||||
WHERE name LIKE 'wait/synch/mutex/%'
|
||||
OR name LIKE 'wait/synch/rwlock/%';
|
||||
|
||||
# reset lost counters
|
||||
flush status;
|
||||
|
||||
# Make sure objects are instrumented
|
||||
select NAME from performance_schema.mutex_instances
|
||||
where NAME = 'wait/synch/mutex/sql/LOCK_open';
|
||||
select NAME from performance_schema.rwlock_instances
|
||||
where NAME = 'wait/synch/rwlock/sql/LOCK_grant';
|
||||
|
||||
--disable_warnings
|
||||
DROP TABLE IF EXISTS t1;
|
||||
--enable_warnings
|
||||
@ -119,3 +128,6 @@ DROP TABLE t1;
|
||||
|
||||
UPDATE performance_schema.setup_instruments SET enabled = 'YES', timed = 'YES';
|
||||
|
||||
# In case of failure, will indicate the root cause
|
||||
show status like "performance_schema%";
|
||||
|
||||
|
Reference in New Issue
Block a user