Debian Codegraph @

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

raw
1 select * from performance_schema.events_stages_summary_by_user_by_event_name
2 where event_name like 'stage/%' limit 1;
3 select * from performance_schema.events_stages_summary_by_user_by_event_name
4 where event_name='FOO';
5 insert into performance_schema.events_stages_summary_by_user_by_event_name
6 set event_name='FOO', user='BAR',
7 count_star=1, sum_timer_wait=2, min_timer_wait=3,
8 avg_timer_wait=4, max_timer_wait=5;
9 ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_user_by_event_name`
10 update performance_schema.events_stages_summary_by_user_by_event_name
11 set count_star=12;
12 ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_user_by_event_name`
13 update performance_schema.events_stages_summary_by_user_by_event_name
14 set count_star=12 where event_name like "FOO";
15 ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_user_by_event_name`
16 delete from performance_schema.events_stages_summary_by_user_by_event_name
17 where count_star=1;
18 ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_user_by_event_name`
19 delete from performance_schema.events_stages_summary_by_user_by_event_name;
20 ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_user_by_event_name`
21 LOCK TABLES performance_schema.events_stages_summary_by_user_by_event_name READ;
22 ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_user_by_event_name`
23 UNLOCK TABLES;
24 LOCK TABLES performance_schema.events_stages_summary_by_user_by_event_name WRITE;
25 ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_stages_summary_by_user_by_event_name`
26 UNLOCK TABLES;
27 #
28 # MDEV-25325 column_comment for performance_schema tables
29 #
30 select column_name, column_comment
31 from information_schema.columns
32 where table_schema='performance_schema' and table_name='events_stages_summary_by_user_by_event_name';
33 column_name column_comment
34 USER User. Used together with EVENT_NAME for grouping events.
35 EVENT_NAME Event name. Used together with USER for grouping events.
36 COUNT_STAR Number of summarized events, which includes all timed and untimed events.
37 SUM_TIMER_WAIT Total wait time of the timed summarized events.
38 MIN_TIMER_WAIT Minimum wait time of the timed summarized events.
39 AVG_TIMER_WAIT Average wait time of the timed summarized events.
40 MAX_TIMER_WAIT Maximum wait time of the timed summarized events.