| 1 |
select count(*) from performance_schema.setup_instruments |
| 2 |
where enabled='YES' |
| 3 |
and name like "wait/%"; |
| 4 |
count(*) |
| 5 |
0 |
| 6 |
select count(*) > 0 from performance_schema.mutex_instances; |
| 7 |
count(*) > 0 |
| 8 |
1 |
| 9 |
select count(*) > 0 from performance_schema.rwlock_instances; |
| 10 |
count(*) > 0 |
| 11 |
1 |
| 12 |
select count(*) > 0 from performance_schema.cond_instances; |
| 13 |
count(*) > 0 |
| 14 |
1 |
| 15 |
select count(*) > 0 from performance_schema.socket_instances; |
| 16 |
count(*) > 0 |
| 17 |
1 |
| 18 |
select NAME from performance_schema.mutex_instances |
| 19 |
where NAME = "wait/synch/mutex/sql/tz_LOCK"; |
| 20 |
NAME |
| 21 |
wait/synch/mutex/sql/tz_LOCK |
| 22 |
select NAME from performance_schema.rwlock_instances |
| 23 |
where NAME = "wait/synch/rwlock/sql/LOCK_system_variables_hash"; |
| 24 |
NAME |
| 25 |
wait/synch/rwlock/sql/LOCK_system_variables_hash |
| 26 |
select NAME from performance_schema.cond_instances |
| 27 |
where NAME = "wait/synch/cond/sql/COND_server_started"; |
| 28 |
NAME |
| 29 |
wait/synch/cond/sql/COND_server_started |
| 30 |
select EVENT_NAME from performance_schema.socket_instances |
| 31 |
where EVENT_NAME = "wait/io/socket/sql/client_connection"; |
| 32 |
EVENT_NAME |
| 33 |
wait/io/socket/sql/client_connection |