Debian Codegraph @

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

raw
1 select * from performance_schema.table_io_waits_summary_by_index_usage
2 limit 1;
3 select * from performance_schema.table_io_waits_summary_by_index_usage
4 where object_name='FOO';
5 insert into performance_schema.table_io_waits_summary_by_index_usage
6 set object_type='TABLE', object_name='FOO', object_schema='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`.`table_io_waits_summary_by_index_usage`
10 update performance_schema.table_io_waits_summary_by_index_usage
11 set count_star=12;
12 ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`table_io_waits_summary_by_index_usage`
13 update performance_schema.table_io_waits_summary_by_index_usage
14 set count_star=12 where object_name like "FOO";
15 ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`table_io_waits_summary_by_index_usage`
16 delete from performance_schema.table_io_waits_summary_by_index_usage
17 where count_star=1;
18 ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`table_io_waits_summary_by_index_usage`
19 delete from performance_schema.table_io_waits_summary_by_index_usage;
20 ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`table_io_waits_summary_by_index_usage`
21 LOCK TABLES performance_schema.table_io_waits_summary_by_index_usage READ;
22 ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`table_io_waits_summary_by_index_usage`
23 UNLOCK TABLES;
24 LOCK TABLES performance_schema.table_io_waits_summary_by_index_usage WRITE;
25 ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`table_io_waits_summary_by_index_usage`
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='table_io_waits_summary_by_index_usage';
33 column_name column_comment
34 OBJECT_TYPE TABLE in the case of all indexes.
35 OBJECT_SCHEMA Schema name.
36 OBJECT_NAME Table name.
37 INDEX_NAME Index name, or PRIMARY for the primary index, NULL for no index (inserts are counted in this case).
38 COUNT_STAR Number of summarized events and the sum of the x_READ and x_WRITE columns.
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 COUNT_READ Number of all read operations, and the sum of the equivalent x_FETCH columns.
44 SUM_TIMER_READ Total wait time of all read operations that are timed.
45 MIN_TIMER_READ Minimum wait time of all read operations that are timed.
46 AVG_TIMER_READ Average wait time of all read operations that are timed.
47 MAX_TIMER_READ Maximum wait time of all read operations that are timed.
48 COUNT_WRITE Number of all write operations, and the sum of the equivalent x_INSERT, x_UPDATE and x_DELETE columns.
49 SUM_TIMER_WRITE Total wait time of all write operations that are timed.
50 MIN_TIMER_WRITE Minimum wait time of all write operations that are timed.
51 AVG_TIMER_WRITE Average wait time of all write operations that are timed.
52 MAX_TIMER_WRITE Maximum wait time of all write operations that are timed.
53 COUNT_FETCH Number of all fetch operations.
54 SUM_TIMER_FETCH Total wait time of all fetch operations that are timed.
55 MIN_TIMER_FETCH Minimum wait time of all fetch operations that are timed.
56 AVG_TIMER_FETCH Average wait time of all fetch operations that are timed.
57 MAX_TIMER_FETCH Maximum wait time of all fetch operations that are timed.
58 COUNT_INSERT Number of all insert operations.
59 SUM_TIMER_INSERT Total wait time of all insert operations that are timed.
60 MIN_TIMER_INSERT Minimum wait time of all insert operations that are timed.
61 AVG_TIMER_INSERT Average wait time of all insert operations that are timed.
62 MAX_TIMER_INSERT Maximum wait time of all insert operations that are timed.
63 COUNT_UPDATE Number of all update operations.
64 SUM_TIMER_UPDATE Total wait time of all update operations that are timed.
65 MIN_TIMER_UPDATE Minimum wait time of all update operations that are timed.
66 AVG_TIMER_UPDATE Average wait time of all update operations that are timed.
67 MAX_TIMER_UPDATE Maximum wait time of all update operations that are timed.
68 COUNT_DELETE Number of all delete operations.
69 SUM_TIMER_DELETE Total wait time of all delete operations that are timed.
70 MIN_TIMER_DELETE Minimum wait time of all delete operations that are timed.
71 AVG_TIMER_DELETE Average wait time of all delete operations that are timed.
72 MAX_TIMER_DELETE Maximum wait time of all delete operations that are timed.