Debian Codegraph @

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

raw
1 select * from performance_schema.table_lock_waits_summary_by_table
2 limit 1;
3 select * from performance_schema.table_lock_waits_summary_by_table
4 where object_name='FOO';
5 insert into performance_schema.table_lock_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_lock_waits_summary_by_table`
10 update performance_schema.table_lock_waits_summary_by_table
11 set count_star=12;
12 ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`table_lock_waits_summary_by_table`
13 update performance_schema.table_lock_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_lock_waits_summary_by_table`
16 delete from performance_schema.table_lock_waits_summary_by_table
17 where count_star=1;
18 ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`table_lock_waits_summary_by_table`
19 delete from performance_schema.table_lock_waits_summary_by_table;
20 ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`table_lock_waits_summary_by_table`
21 LOCK TABLES performance_schema.table_lock_waits_summary_by_table READ;
22 ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`table_lock_waits_summary_by_table`
23 UNLOCK TABLES;
24 LOCK TABLES performance_schema.table_lock_waits_summary_by_table WRITE;
25 ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`table_lock_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_lock_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_READ_NORMAL, x_READ_WITH_SHARED_LOCKS, x_READ_HIGH_PRIORITY and x_READ_NO_INSERT 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_WRITE_ALLOW_WRITE, x_WRITE_CONCURRENT_INSERT, x_WRITE_DELAYED, x_WRITE_LOW_PRIORITY and x_WRITE_NORMAL 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_READ_NORMAL Number of all internal read normal locks.
53 SUM_TIMER_READ_NORMAL Total wait time of all internal read normal locks that are timed.
54 MIN_TIMER_READ_NORMAL Minimum wait time of all internal read normal locks that are timed.
55 AVG_TIMER_READ_NORMAL Average wait time of all internal read normal locks that are timed.
56 MAX_TIMER_READ_NORMAL Maximum wait time of all internal read normal locks that are timed.
57 COUNT_READ_WITH_SHARED_LOCKS Number of all internal read with shared locks.
58 SUM_TIMER_READ_WITH_SHARED_LOCKS Total wait time of all internal read with shared locks that are timed.
59 MIN_TIMER_READ_WITH_SHARED_LOCKS Minimum wait time of all internal read with shared locks that are timed.
60 AVG_TIMER_READ_WITH_SHARED_LOCKS Average wait time of all internal read with shared locks that are timed.
61 MAX_TIMER_READ_WITH_SHARED_LOCKS Maximum wait time of all internal read with shared locks that are timed.
62 COUNT_READ_HIGH_PRIORITY Number of all internal read high priority locks.
63 SUM_TIMER_READ_HIGH_PRIORITY Total wait time of all internal read high priority locks that are timed.
64 MIN_TIMER_READ_HIGH_PRIORITY Minimum wait time of all internal read high priority locks that are timed.
65 AVG_TIMER_READ_HIGH_PRIORITY Average wait time of all internal read high priority locks that are timed.
66 MAX_TIMER_READ_HIGH_PRIORITY Maximum wait time of all internal read high priority locks that are timed.
67 COUNT_READ_NO_INSERT Number of all internal read no insert locks.
68 SUM_TIMER_READ_NO_INSERT Total wait time of all internal read no insert locks that are timed.
69 MIN_TIMER_READ_NO_INSERT Minimum wait time of all internal read no insert locks that are timed.
70 AVG_TIMER_READ_NO_INSERT Average wait time of all internal read no insert locks that are timed.
71 MAX_TIMER_READ_NO_INSERT Maximum wait time of all internal read no insert locks that are timed.
72 COUNT_READ_EXTERNAL Number of all external read locks.
73 SUM_TIMER_READ_EXTERNAL Total wait time of all external read locks that are timed.
74 MIN_TIMER_READ_EXTERNAL Minimum wait time of all external read locks that are timed.
75 AVG_TIMER_READ_EXTERNAL Average wait time of all external read locks that are timed.
76 MAX_TIMER_READ_EXTERNAL Maximum wait time of all external read locks that are timed.
77 COUNT_WRITE_ALLOW_WRITE Number of all internal read normal locks.
78 SUM_TIMER_WRITE_ALLOW_WRITE Total wait time of all internal write allow write locks that are timed.
79 MIN_TIMER_WRITE_ALLOW_WRITE Minimum wait time of all internal write allow write locks that are timed.
80 AVG_TIMER_WRITE_ALLOW_WRITE Average wait time of all internal write allow write locks that are timed.
81 MAX_TIMER_WRITE_ALLOW_WRITE Maximum wait time of all internal write allow write locks that are timed.
82 COUNT_WRITE_CONCURRENT_INSERT Number of all internal concurrent insert write locks.
83 SUM_TIMER_WRITE_CONCURRENT_INSERT Total wait time of all internal concurrent insert write locks that are timed.
84 MIN_TIMER_WRITE_CONCURRENT_INSERT Minimum wait time of all internal concurrent insert write locks that are timed.
85 AVG_TIMER_WRITE_CONCURRENT_INSERT Average wait time of all internal concurrent insert write locks that are timed.
86 MAX_TIMER_WRITE_CONCURRENT_INSERT Maximum wait time of all internal concurrent insert write locks that are timed.
87 COUNT_WRITE_DELAYED Number of all internal write delayed locks.
88 SUM_TIMER_WRITE_DELAYED Total wait time of all internal write delayed locks that are timed.
89 MIN_TIMER_WRITE_DELAYED Minimum wait time of all internal write delayed locks that are timed.
90 AVG_TIMER_WRITE_DELAYED Average wait time of all internal write delayed locks that are timed.
91 MAX_TIMER_WRITE_DELAYED Maximum wait time of all internal write delayed locks that are timed.
92 COUNT_WRITE_LOW_PRIORITY Number of all internal write low priority locks.
93 SUM_TIMER_WRITE_LOW_PRIORITY Total wait time of all internal write low priority locks that are timed.
94 MIN_TIMER_WRITE_LOW_PRIORITY Minimum wait time of all internal write low priority locks that are timed.
95 AVG_TIMER_WRITE_LOW_PRIORITY Average wait time of all internal write low priority locks that are timed.
96 MAX_TIMER_WRITE_LOW_PRIORITY Maximum wait time of all internal write low priority locks that are timed.
97 COUNT_WRITE_NORMAL Number of all internal write normal locks.
98 SUM_TIMER_WRITE_NORMAL Total wait time of all internal write normal locks that are timed.
99 MIN_TIMER_WRITE_NORMAL Minimum wait time of all internal write normal locks that are timed.
100 AVG_TIMER_WRITE_NORMAL Average wait time of all internal write normal locks that are timed.
101 MAX_TIMER_WRITE_NORMAL Maximum wait time of all internal write normal locks that are timed.
102 COUNT_WRITE_EXTERNAL Number of all external write locks.
103 SUM_TIMER_WRITE_EXTERNAL Total wait time of all external write locks that are timed.
104 MIN_TIMER_WRITE_EXTERNAL Minimum wait time of all external write locks that are timed.
105 AVG_TIMER_WRITE_EXTERNAL Average wait time of all external write locks that are timed.
106 MAX_TIMER_WRITE_EXTERNAL Maximum wait time of all external write locks that are timed.