Debian Codegraph @

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

raw
1 select * from performance_schema.memory_summary_by_account_by_event_name
2 where event_name like 'memory/%' limit 1;
3 select * from performance_schema.memory_summary_by_account_by_event_name
4 where event_name='FOO';
5 insert into performance_schema.memory_summary_by_account_by_event_name
6 set event_name='FOO', user='BAR', host='BAZ',
7 count_alloc=1, count_free=2, sum_number_of_bytes_alloc=3,
8 sum_number_of_bytes_free=4, low_count_used=5;
9 ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`memory_summary_by_account_by_event_name`
10 update performance_schema.memory_summary_by_account_by_event_name
11 set count_alloc=12;
12 ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`memory_summary_by_account_by_event_name`
13 update performance_schema.memory_summary_by_account_by_event_name
14 set count_alloc=12 where event_name like "FOO";
15 ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`memory_summary_by_account_by_event_name`
16 delete from performance_schema.memory_summary_by_account_by_event_name
17 where count_alloc=1;
18 ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`memory_summary_by_account_by_event_name`
19 delete from performance_schema.memory_summary_by_account_by_event_name;
20 ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`memory_summary_by_account_by_event_name`
21 LOCK TABLES performance_schema.memory_summary_by_account_by_event_name READ;
22 ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`memory_summary_by_account_by_event_name`
23 UNLOCK TABLES;
24 LOCK TABLES performance_schema.memory_summary_by_account_by_event_name WRITE;
25 ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`memory_summary_by_account_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='memory_summary_by_account_by_event_name';
33 column_name column_comment
34 USER User portion of the account.
35 HOST Host portion of the account.
36 EVENT_NAME Event name.
37 COUNT_ALLOC Total number of allocations to memory.
38 COUNT_FREE Total number of attempts to free the allocated memory.
39 SUM_NUMBER_OF_BYTES_ALLOC Total number of bytes allocated.
40 SUM_NUMBER_OF_BYTES_FREE Total number of bytes freed
41 LOW_COUNT_USED Lowest number of allocated blocks (lowest value of CURRENT_COUNT_USED).
42 CURRENT_COUNT_USED Currently allocated blocks that have not been freed (COUNT_ALLOC minus COUNT_FREE).
43 HIGH_COUNT_USED Highest number of allocated blocks (highest value of CURRENT_COUNT_USED).
44 LOW_NUMBER_OF_BYTES_USED Lowest number of bytes used.
45 CURRENT_NUMBER_OF_BYTES_USED Current number of bytes used (total allocated minus total freed).
46 HIGH_NUMBER_OF_BYTES_USED Highest number of bytes used.