1
# Tests for PERFORMANCE_SCHEMA
3
--source include/not_embedded.inc
4
--source include/have_perfschema.inc
6
--source ../include/start_server_common.inc
9
show variables like "performance_schema_max_thread_classes";
12
# select count(*) > 0 from performance_schema.setup_instruments
13
# where name like "thread/%";
15
# Expect no class lost
16
show status like "performance_schema_thread_classes_lost";
19
show variables like "performance_schema_max_thread_instances";
21
select count(*) from performance_schema.threads;
23
# Expect instances lost
24
select variable_value > 0 from information_schema.global_status
25
where variable_name like 'PERFORMANCE_SCHEMA_THREAD_INSTANCES_LOST';