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