1
select @@global.performance_schema_max_thread_instances;
2
@@global.performance_schema_max_thread_instances
4
select @@session.performance_schema_max_thread_instances;
5
ERROR HY000: Variable 'performance_schema_max_thread_instances' is a GLOBAL variable
6
show global variables like 'performance_schema_max_thread_instances';
8
performance_schema_max_thread_instances 123
9
show session variables like 'performance_schema_max_thread_instances';
11
performance_schema_max_thread_instances 123
12
select * from information_schema.global_variables
13
where variable_name='performance_schema_max_thread_instances';
14
VARIABLE_NAME VARIABLE_VALUE
15
PERFORMANCE_SCHEMA_MAX_THREAD_INSTANCES 123
16
select * from information_schema.session_variables
17
where variable_name='performance_schema_max_thread_instances';
18
VARIABLE_NAME VARIABLE_VALUE
19
PERFORMANCE_SCHEMA_MAX_THREAD_INSTANCES 123
20
set global performance_schema_max_thread_instances=1;
21
ERROR HY000: Variable 'performance_schema_max_thread_instances' is a read only variable
22
set session performance_schema_max_thread_instances=1;
23
ERROR HY000: Variable 'performance_schema_max_thread_instances' is a read only variable