1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
SET @my_statusfile = @@global.innodb_status_file;
SHOW VARIABLES LIKE 'innodb_status_file';
Variable_name Value
innodb_status_file OFF
SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='status_file';
NAME TYPE VALUE
status_file BOOL false
SET GLOBAL innodb_status_file=1;
SHOW VARIABLES LIKE 'innodb_status_file';
Variable_name Value
innodb_status_file ON
SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='status_file';
NAME TYPE VALUE
status_file BOOL true
SET GLOBAL innodb_status_file=0;
SHOW VARIABLES LIKE 'innodb_status_file';
Variable_name Value
innodb_status_file OFF
SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='status_file';
NAME TYPE VALUE
status_file BOOL false
SET GLOBAL innodb_status_file=1;
SHOW VARIABLES LIKE 'innodb_status_file';
Variable_name Value
innodb_status_file ON
SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='status_file';
NAME TYPE VALUE
status_file BOOL true
SET GLOBAL innodb_status_file=0;
SHOW VARIABLES LIKE 'innodb_status_file';
Variable_name Value
innodb_status_file OFF
SELECT * FROM DATA_DICTIONARY.HAILDB_CONFIGURATION WHERE NAME='status_file';
NAME TYPE VALUE
status_file BOOL false
SET GLOBAL innodb_status_file=@my_statusfile;
|