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