mirror of
https://github.com/MariaDB/server.git
synced 2025-11-27 05:41:41 +03:00
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
show databases;
|
|
Database
|
|
information_schema
|
|
mtr
|
|
mysql
|
|
performance_schema
|
|
test
|
|
select count(*) from performance_schema.performance_timers;
|
|
count(*)
|
|
5
|
|
select count(*) from performance_schema.setup_consumers;
|
|
count(*)
|
|
12
|
|
select count(*) > 3 from performance_schema.setup_instruments;
|
|
count(*) > 3
|
|
1
|
|
select count(*) from performance_schema.setup_timers;
|
|
count(*)
|
|
4
|
|
show engine PERFORMANCE_SCHEMA status;
|
|
show status like "performance_schema%";
|
|
show variables like "performance_schema_max_cond_classes";
|
|
Variable_name Value
|
|
performance_schema_max_cond_classes 90
|
|
select count(*) > 0 from performance_schema.setup_instruments
|
|
where name like "wait/synch/cond/%";
|
|
count(*) > 0
|
|
1
|
|
show status like "performance_schema_cond_classes_lost";
|
|
Variable_name Value
|
|
Performance_schema_cond_classes_lost 0
|
|
show variables like "performance_schema_max_cond_instances";
|
|
Variable_name Value
|
|
performance_schema_max_cond_instances 0
|
|
select count(*) from performance_schema.cond_instances;
|
|
count(*)
|
|
0
|
|
select variable_value > 0 from information_schema.global_status
|
|
where variable_name like 'PERFORMANCE_SCHEMA_COND_INSTANCES_LOST';
|
|
variable_value > 0
|
|
1
|