| 1 |
select * from performance_schema.events_statements_histogram_global |
| 2 |
where bucket_number = 1000 limit 1; |
| 3 |
select * from performance_schema.events_statements_histogram_global |
| 4 |
where count_bucket=0; |
| 5 |
insert into performance_schema.events_statements_histogram_global |
| 6 |
set digest='XXYYZZ', count_star=1, sum_timer_wait=2, min_timer_wait=3, |
| 7 |
avg_timer_wait=4, max_timer_wait=5; |
| 8 |
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'events_statements_histogram_global' |
| 9 |
update performance_schema.events_statements_histogram_global |
| 10 |
set count_star=12; |
| 11 |
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_statements_histogram_global' |
| 12 |
update performance_schema.events_statements_histogram_global |
| 13 |
set count_star=12 where digest like "XXYYZZ"; |
| 14 |
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'events_statements_histogram_global' |
| 15 |
delete from performance_schema.events_statements_histogram_global |
| 16 |
where count_star=1; |
| 17 |
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_statements_histogram_global' |
| 18 |
delete from performance_schema.events_statements_histogram_global; |
| 19 |
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'events_statements_histogram_global' |
| 20 |
LOCK TABLES performance_schema.events_statements_histogram_global READ; |
| 21 |
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_statements_histogram_global' |
| 22 |
UNLOCK TABLES; |
| 23 |
LOCK TABLES performance_schema.events_statements_histogram_global WRITE; |
| 24 |
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'events_statements_histogram_global' |
| 25 |
UNLOCK TABLES; |