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