| 1 |
select * from performance_schema.events_waits_summary_by_instance |
| 2 |
where event_name like 'Wait/Synch/%' limit 1; |
| 3 |
select * from performance_schema.events_waits_summary_by_instance |
| 4 |
where event_name='FOO'; |
| 5 |
select * from performance_schema.events_waits_summary_by_instance |
| 6 |
order by count_star limit 1; |
| 7 |
select * from performance_schema.events_waits_summary_by_instance |
| 8 |
order by count_star desc limit 1; |
| 9 |
select * from performance_schema.events_waits_summary_by_instance |
| 10 |
where min_timer_wait > 0 order by count_star limit 1; |
| 11 |
select * from performance_schema.events_waits_summary_by_instance |
| 12 |
where min_timer_wait > 0 order by count_star desc limit 1; |
| 13 |
insert into performance_schema.events_waits_summary_by_instance |
| 14 |
set event_name='FOO', object_instance_begin=0, |
| 15 |
count_star=1, sum_timer_wait=2, min_timer_wait=3, |
| 16 |
avg_timer_wait=4, max_timer_wait=5; |
| 17 |
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_waits_summary_by_instance' |
| 18 |
update performance_schema.events_waits_summary_by_instance |
| 19 |
set count_star=12; |
| 20 |
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_waits_summary_by_instance' |
| 21 |
update performance_schema.events_waits_summary_by_instance |
| 22 |
set count_star=12 where event_name like "FOO"; |
| 23 |
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_waits_summary_by_instance' |
| 24 |
delete from performance_schema.events_waits_summary_by_instance |
| 25 |
where count_star=1; |
| 26 |
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_waits_summary_by_instance' |
| 27 |
delete from performance_schema.events_waits_summary_by_instance; |
| 28 |
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_waits_summary_by_instance' |
| 29 |
LOCK TABLES performance_schema.events_waits_summary_by_instance READ; |
| 30 |
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_waits_summary_by_instance' |
| 31 |
UNLOCK TABLES; |
| 32 |
LOCK TABLES performance_schema.events_waits_summary_by_instance WRITE; |
| 33 |
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_waits_summary_by_instance' |
| 34 |
UNLOCK TABLES; |