Debian Codegraph @

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

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