File: dml_mems_global_by_event_name.result

package info (click to toggle)
mariadb 1%3A11.8.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 772,520 kB
  • sloc: ansic: 2,414,714; cpp: 1,791,394; asm: 381,336; perl: 62,905; sh: 49,647; pascal: 40,897; java: 39,363; python: 20,791; yacc: 20,432; sql: 17,907; xml: 12,344; ruby: 8,544; cs: 6,542; makefile: 6,145; ada: 1,879; lex: 1,193; javascript: 996; objc: 80; tcl: 73; awk: 46; php: 22
file content (44 lines) | stat: -rw-r--r-- 2,854 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
select * from performance_schema.memory_summary_global_by_event_name
where event_name like 'memory/%' limit 1;
select * from performance_schema.memory_summary_global_by_event_name
where event_name='FOO';
insert into performance_schema.memory_summary_global_by_event_name
set event_name='FOO',
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_global_by_event_name`
update performance_schema.memory_summary_global_by_event_name
set count_alloc=12;
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table `performance_schema`.`memory_summary_global_by_event_name`
update performance_schema.memory_summary_global_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_global_by_event_name`
delete from performance_schema.memory_summary_global_by_event_name
where count_alloc=1;
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`memory_summary_global_by_event_name`
delete from performance_schema.memory_summary_global_by_event_name;
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table `performance_schema`.`memory_summary_global_by_event_name`
LOCK TABLES performance_schema.memory_summary_global_by_event_name READ;
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`memory_summary_global_by_event_name`
UNLOCK TABLES;
LOCK TABLES performance_schema.memory_summary_global_by_event_name WRITE;
ERROR 42000: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table `performance_schema`.`memory_summary_global_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_global_by_event_name';
column_name	column_comment
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.