mirror of
https://github.com/MariaDB/server.git
synced 2025-05-05 16:59:35 +03:00
24 lines
838 B
Plaintext
24 lines
838 B
Plaintext
select @@global.performance_schema;
|
|
@@global.performance_schema
|
|
1
|
|
select @@session.performance_schema;
|
|
ERROR HY000: Variable 'performance_schema' is a GLOBAL variable
|
|
show global variables like 'performance_schema';
|
|
Variable_name Value
|
|
performance_schema ON
|
|
show session variables like 'performance_schema';
|
|
Variable_name Value
|
|
performance_schema ON
|
|
select * from information_schema.global_variables
|
|
where variable_name='performance_schema';
|
|
VARIABLE_NAME VARIABLE_VALUE
|
|
PERFORMANCE_SCHEMA ON
|
|
select * from information_schema.session_variables
|
|
where variable_name='performance_schema';
|
|
VARIABLE_NAME VARIABLE_VALUE
|
|
PERFORMANCE_SCHEMA ON
|
|
set global performance_schema=1;
|
|
ERROR HY000: Variable 'performance_schema' is a read only variable
|
|
set session performance_schema=1;
|
|
ERROR HY000: Variable 'performance_schema' is a read only variable
|