mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 03:21:53 +01:00
67a48e1a4c
Part V: performance schema implementation
23 lines
1.1 KiB
Text
23 lines
1.1 KiB
Text
select * from performance_schema.FILE_INSTANCES limit 1;
|
|
FILE_NAME EVENT_NAME OPEN_COUNT
|
|
# # #
|
|
select * from performance_schema.FILE_INSTANCES
|
|
where file_name='FOO';
|
|
FILE_NAME EVENT_NAME OPEN_COUNT
|
|
insert into performance_schema.FILE_INSTANCES
|
|
set file_name='FOO', event_name='BAR', open_count=12;
|
|
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'FILE_INSTANCES'
|
|
update performance_schema.FILE_INSTANCES
|
|
set file_name='FOO';
|
|
ERROR 42000: UPDATE command denied to user 'root'@'localhost' for table 'FILE_INSTANCES'
|
|
delete from performance_schema.FILE_INSTANCES
|
|
where event_name like "wait/%";
|
|
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'FILE_INSTANCES'
|
|
delete from performance_schema.FILE_INSTANCES;
|
|
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'FILE_INSTANCES'
|
|
LOCK TABLES performance_schema.FILE_INSTANCES READ;
|
|
ERROR 42000: SELECT,LOCK TABL command denied to user 'root'@'localhost' for table 'FILE_INSTANCES'
|
|
UNLOCK TABLES;
|
|
LOCK TABLES performance_schema.FILE_INSTANCES WRITE;
|
|
ERROR 42000: SELECT,LOCK TABL command denied to user 'root'@'localhost' for table 'FILE_INSTANCES'
|
|
UNLOCK TABLES;
|