Debian Codegraph @

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

raw
1 select * from performance_schema.events_statements_summary_by_thread_by_event_name
2 where event_name like 'statement/%' limit 1;
3 select * from performance_schema.events_statements_summary_by_thread_by_event_name
4 where event_name='FOO';
5 insert into performance_schema.events_statements_summary_by_thread_by_event_name
6 set event_name='FOO', thread_id=1,
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_statements_summary_by_thread_by_event_name`
10 update performance_schema.events_statements_summary_by_thread_by_event_name
11 set count_star=12;
12 ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_thread_by_event_name`
13 update performance_schema.events_statements_summary_by_thread_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_statements_summary_by_thread_by_event_name`
16 delete from performance_schema.events_statements_summary_by_thread_by_event_name
17 where count_star=1;
18 ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_thread_by_event_name`
19 delete from performance_schema.events_statements_summary_by_thread_by_event_name;
20 ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_thread_by_event_name`
21 LOCK TABLES performance_schema.events_statements_summary_by_thread_by_event_name READ;
22 ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_thread_by_event_name`
23 UNLOCK TABLES;
24 LOCK TABLES performance_schema.events_statements_summary_by_thread_by_event_name WRITE;
25 ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_thread_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_statements_summary_by_thread_by_event_name';
33 column_name column_comment
34 THREAD_ID Thread associated with the event. Together with EVENT_NAME uniquely identifies the row.
35 EVENT_NAME Event name. Used together with THREAD_ID for grouping events.
36 COUNT_STAR Number of summarized events
37 SUM_TIMER_WAIT Total wait time of the summarized events that are timed.
38 MIN_TIMER_WAIT Minimum wait time of the summarized events that are timed.
39 AVG_TIMER_WAIT Average wait time of the summarized events that are timed.
40 MAX_TIMER_WAIT Maximum wait time of the summarized events that are timed.
41 SUM_LOCK_TIME Sum of the LOCK_TIME column in the events_statements_current table.
42 SUM_ERRORS Sum of the ERRORS column in the events_statements_current table.
43 SUM_WARNINGS Sum of the WARNINGS column in the events_statements_current table.
44 SUM_ROWS_AFFECTED Sum of the ROWS_AFFECTED column in the events_statements_current table.
45 SUM_ROWS_SENT Sum of the ROWS_SENT column in the events_statements_current table.
46 SUM_ROWS_EXAMINED Sum of the ROWS_EXAMINED column in the events_statements_current table.
47 SUM_CREATED_TMP_DISK_TABLES Sum of the CREATED_TMP_DISK_TABLES column in the events_statements_current table.
48 SUM_CREATED_TMP_TABLES Sum of the CREATED_TMP_TABLES column in the events_statements_current table.
49 SUM_SELECT_FULL_JOIN Sum of the SELECT_FULL_JOIN column in the events_statements_current table.
50 SUM_SELECT_FULL_RANGE_JOIN Sum of the SELECT_FULL_RANGE_JOIN column in the events_statements_current table.
51 SUM_SELECT_RANGE Sum of the SELECT_RANGE column in the events_statements_current table.
52 SUM_SELECT_RANGE_CHECK Sum of the SELECT_RANGE_CHECK column in the events_statements_current table.
53 SUM_SELECT_SCAN Sum of the SELECT_SCAN column in the events_statements_current table.
54 SUM_SORT_MERGE_PASSES Sum of the SORT_MERGE_PASSES column in the events_statements_current table.
55 SUM_SORT_RANGE Sum of the SORT_RANGE column in the events_statements_current table.
56 SUM_SORT_ROWS Sum of the SORT_ROWS column in the events_statements_current table.
57 SUM_SORT_SCAN Sum of the SORT_SCAN column in the events_statements_current table.
58 SUM_NO_INDEX_USED Sum of the NO_INDEX_USED column in the events_statements_current table.
59 SUM_NO_GOOD_INDEX_USED Sum of the NO_GOOD_INDEX_USED column in the events_statements_current table.