File: dml_mems_by_user_by_event_name.result

package info (click to toggle)
mariadb 1%3A11.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 765,428 kB
  • sloc: ansic: 2,382,827; cpp: 1,803,532; asm: 378,315; perl: 63,176; sh: 46,496; pascal: 40,776; java: 39,363; yacc: 20,428; python: 19,506; sql: 17,864; xml: 12,463; ruby: 8,544; makefile: 6,059; cs: 5,855; ada: 1,700; lex: 1,193; javascript: 1,039; objc: 80; tcl: 73; awk: 46; php: 22
file content (45 lines) | stat: -rw-r--r-- 2,917 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
select * from performance_schema.memory_summary_by_user_by_event_name
where event_name like 'memory/%' limit 1;
select * from performance_schema.memory_summary_by_user_by_event_name
where event_name='FOO';
insert into performance_schema.memory_summary_by_user_by_event_name
set event_name='FOO', user='BAR',
count_alloc=1, count_free=2, sum_number_of_bytes_alloc=3,
sum_number_of_bytes_free=4, low_count_used=5;
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table `performance_schema`.`memory_summary_by_user_by_event_name`
update performance_schema.memory_summary_by_user_by_event_name
set count_alloc=12;
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`memory_summary_by_user_by_event_name`
update performance_schema.memory_summary_by_user_by_event_name
set count_alloc=12 where event_name like "FOO";
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`memory_summary_by_user_by_event_name`
delete from performance_schema.memory_summary_by_user_by_event_name
where count_alloc=1;
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`memory_summary_by_user_by_event_name`
delete from performance_schema.memory_summary_by_user_by_event_name;
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`memory_summary_by_user_by_event_name`
LOCK TABLES performance_schema.memory_summary_by_user_by_event_name READ;
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`memory_summary_by_user_by_event_name`
UNLOCK TABLES;
LOCK TABLES performance_schema.memory_summary_by_user_by_event_name WRITE;
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`memory_summary_by_user_by_event_name`
UNLOCK TABLES;
#
# MDEV-25325 column_comment for performance_schema tables
#
select column_name, column_comment 
from information_schema.columns 
where table_schema='performance_schema' and table_name='memory_summary_by_user_by_event_name';
column_name	column_comment
USER	User portion of the account.
EVENT_NAME	Event name.
COUNT_ALLOC	Total number of allocations to memory.
COUNT_FREE	Total number of attempts to free the allocated memory.
SUM_NUMBER_OF_BYTES_ALLOC	Total number of bytes allocated.
SUM_NUMBER_OF_BYTES_FREE	Total number of bytes freed
LOW_COUNT_USED	Lowest number of allocated blocks (lowest value of CURRENT_COUNT_USED).
CURRENT_COUNT_USED	Currently allocated blocks that have not been freed (COUNT_ALLOC minus COUNT_FREE).
HIGH_COUNT_USED	Highest number of allocated blocks (highest value of CURRENT_COUNT_USED).
LOW_NUMBER_OF_BYTES_USED	Lowest number of bytes used.
CURRENT_NUMBER_OF_BYTES_USED	Current number of bytes used (total allocated minus total freed).
HIGH_NUMBER_OF_BYTES_USED	Highest number of bytes used.