Debian Codegraph @

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

raw
1 select * from performance_schema.events_statements_summary_by_digest
2 where digest like 'XXYYZZ%' limit 1;
3 SCHEMA_NAME DIGEST DIGEST_TEXT COUNT_STAR SUM_TIMER_WAIT MIN_TIMER_WAIT AVG_TIMER_WAIT MAX_TIMER_WAIT SUM_LOCK_TIME SUM_ERRORS SUM_WARNINGS SUM_ROWS_AFFECTED SUM_ROWS_SENT SUM_ROWS_EXAMINED SUM_CREATED_TMP_DISK_TABLES SUM_CREATED_TMP_TABLES SUM_SELECT_FULL_JOIN SUM_SELECT_FULL_RANGE_JOIN SUM_SELECT_RANGE SUM_SELECT_RANGE_CHECK SUM_SELECT_SCAN SUM_SORT_MERGE_PASSES SUM_SORT_RANGE SUM_SORT_ROWS SUM_SORT_SCAN SUM_NO_INDEX_USED SUM_NO_GOOD_INDEX_USED FIRST_SEEN LAST_SEEN
4 select * from performance_schema.events_statements_summary_by_digest
5 where digest='XXYYZZ';
6 SCHEMA_NAME DIGEST DIGEST_TEXT COUNT_STAR SUM_TIMER_WAIT MIN_TIMER_WAIT AVG_TIMER_WAIT MAX_TIMER_WAIT SUM_LOCK_TIME SUM_ERRORS SUM_WARNINGS SUM_ROWS_AFFECTED SUM_ROWS_SENT SUM_ROWS_EXAMINED SUM_CREATED_TMP_DISK_TABLES SUM_CREATED_TMP_TABLES SUM_SELECT_FULL_JOIN SUM_SELECT_FULL_RANGE_JOIN SUM_SELECT_RANGE SUM_SELECT_RANGE_CHECK SUM_SELECT_SCAN SUM_SORT_MERGE_PASSES SUM_SORT_RANGE SUM_SORT_ROWS SUM_SORT_SCAN SUM_NO_INDEX_USED SUM_NO_GOOD_INDEX_USED FIRST_SEEN LAST_SEEN
7 insert into performance_schema.events_statements_summary_by_digest
8 set digest='XXYYZZ', count_star=1, sum_timer_wait=2, min_timer_wait=3,
9 avg_timer_wait=4, max_timer_wait=5;
10 ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_digest`
11 update performance_schema.events_statements_summary_by_digest
12 set count_star=12;
13 ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_digest`
14 update performance_schema.events_statements_summary_by_digest
15 set count_star=12 where digest like "XXYYZZ";
16 ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_digest`
17 delete from performance_schema.events_statements_summary_by_digest
18 where count_star=1;
19 ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_digest`
20 delete from performance_schema.events_statements_summary_by_digest;
21 ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_digest`
22 LOCK TABLES performance_schema.events_statements_summary_by_digest READ;
23 ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_digest`
24 UNLOCK TABLES;
25 LOCK TABLES performance_schema.events_statements_summary_by_digest WRITE;
26 ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`events_statements_summary_by_digest`
27 UNLOCK TABLES;
28 #
29 # MDEV-25325 column_comment for performance_schema tables
30 #
31 select column_name, column_comment
32 from information_schema.columns
33 where table_schema='performance_schema' and table_name='events_statements_summary_by_digest';
34 column_name column_comment
35 SCHEMA_NAME Database name. Records are summarised together with DIGEST.
36 DIGEST Performance Schema digest. Records are summarised together with SCHEMA NAME.
37 DIGEST_TEXT The unhashed form of the digest.
38 COUNT_STAR Number of summarized events
39 SUM_TIMER_WAIT Total wait time of the summarized events that are timed.
40 MIN_TIMER_WAIT Minimum wait time of the summarized events that are timed.
41 AVG_TIMER_WAIT Average wait time of the summarized events that are timed.
42 MAX_TIMER_WAIT Maximum wait time of the summarized events that are timed.
43 SUM_LOCK_TIME Sum of the LOCK_TIME column in the events_statements_current table.
44 SUM_ERRORS Sum of the ERRORS column in the events_statements_current table.
45 SUM_WARNINGS Sum of the WARNINGS column in the events_statements_current table.
46 SUM_ROWS_AFFECTED Sum of the ROWS_AFFECTED column in the events_statements_current table.
47 SUM_ROWS_SENT Sum of the ROWS_SENT column in the events_statements_current table.
48 SUM_ROWS_EXAMINED Sum of the ROWS_EXAMINED column in the events_statements_current table.
49 SUM_CREATED_TMP_DISK_TABLES Sum of the CREATED_TMP_DISK_TABLES column in the events_statements_current table.
50 SUM_CREATED_TMP_TABLES Sum of the CREATED_TMP_TABLES column in the events_statements_current table.
51 SUM_SELECT_FULL_JOIN Sum of the SELECT_FULL_JOIN column in the events_statements_current table.
52 SUM_SELECT_FULL_RANGE_JOIN Sum of the SELECT_FULL_RANGE_JOIN column in the events_statements_current table.
53 SUM_SELECT_RANGE Sum of the SELECT_RANGE column in the events_statements_current table.
54 SUM_SELECT_RANGE_CHECK Sum of the SELECT_RANGE_CHECK column in the events_statements_current table.
55 SUM_SELECT_SCAN Sum of the SELECT_SCAN column in the events_statements_current table.
56 SUM_SORT_MERGE_PASSES Sum of the SORT_MERGE_PASSES column in the events_statements_current table.
57 SUM_SORT_RANGE Sum of the SORT_RANGE column in the events_statements_current table.
58 SUM_SORT_ROWS Sum of the SORT_ROWS column in the events_statements_current table.
59 SUM_SORT_SCAN Sum of the SORT_SCAN column in the events_statements_current table.
60 SUM_NO_INDEX_USED Sum of the NO_INDEX_USED column in the events_statements_current table.
61 SUM_NO_GOOD_INDEX_USED Sum of the NO_GOOD_INDEX_USED column in the events_statements_current table.
62 FIRST_SEEN Time at which the digest was first seen.
63 LAST_SEEN Time at which the digest was most recently seen.