select @@global.performance_schema_max_cond_instances;
@@global.performance_schema_max_cond_instances
123
select @@session.performance_schema_max_cond_instances;
ERROR HY000: Variable 'performance_schema_max_cond_instances' is a GLOBAL variable
show global variables like 'performance_schema_max_cond_instances';
Variable_name	Value
performance_schema_max_cond_instances	123
show session variables like 'performance_schema_max_cond_instances';
Variable_name	Value
performance_schema_max_cond_instances	123
select * from information_schema.global_variables
where variable_name='performance_schema_max_cond_instances';
VARIABLE_NAME	VARIABLE_VALUE
PERFORMANCE_SCHEMA_MAX_COND_INSTANCES	123
select * from information_schema.session_variables
where variable_name='performance_schema_max_cond_instances';
VARIABLE_NAME	VARIABLE_VALUE
PERFORMANCE_SCHEMA_MAX_COND_INSTANCES	123
set global performance_schema_max_cond_instances=1;
ERROR HY000: Variable 'performance_schema_max_cond_instances' is a read only variable
set session performance_schema_max_cond_instances=1;
ERROR HY000: Variable 'performance_schema_max_cond_instances' is a read only variable
