Debian Codegraph @

mysql-test/suite/perfschema/r/dml_ews_by_instance.result

raw
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 `performance_schema`.`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 `performance_schema`.`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 `performance_schema`.`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 `performance_schema`.`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 `performance_schema`.`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 `performance_schema`.`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 `performance_schema`.`events_waits_summary_by_instance`
34 UNLOCK TABLES;
35 #
36 # MDEV-25325 column_comment for performance_schema tables
37 #
38 select column_name, column_comment
39 from information_schema.columns
40 where table_schema='performance_schema' and table_name='events_waits_summary_by_instance';
41 column_name column_comment
42 EVENT_NAME Event name. Used together with OBJECT_INSTANCE_BEGIN for grouping events.
43 OBJECT_INSTANCE_BEGIN If an instrument creates multiple instances, each instance has a unique OBJECT_INSTANCE_BEGIN value to allow for grouping by instance.
44 COUNT_STAR Number of summarized events
45 SUM_TIMER_WAIT Total wait time of the summarized events that are timed.
46 MIN_TIMER_WAIT Minimum wait time of the summarized events that are timed.
47 AVG_TIMER_WAIT Average wait time of the summarized events that are timed.
48 MAX_TIMER_WAIT Maximum wait time of the summarized events that are timed.