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