mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.5 into 10.6
This commit is contained in:
@@ -1,37 +1,48 @@
|
||||
SELECT @@GLOBAL.innodb_adaptive_max_sleep_delay;
|
||||
@@GLOBAL.innodb_adaptive_max_sleep_delay
|
||||
150000
|
||||
0
|
||||
150000 Expected
|
||||
SET @@GLOBAL.innodb_adaptive_max_sleep_delay=100;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_adaptive_max_sleep_delay is deprecated and has no effect.
|
||||
SET @@GLOBAL.innodb_adaptive_max_sleep_delay=0;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_adaptive_max_sleep_delay is deprecated and has no effect.
|
||||
SELECT @@GLOBAL.innodb_adaptive_max_sleep_delay;
|
||||
@@GLOBAL.innodb_adaptive_max_sleep_delay
|
||||
0
|
||||
SET @@GLOBAL.innodb_adaptive_max_sleep_delay=100000;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_adaptive_max_sleep_delay is deprecated and has no effect.
|
||||
SELECT @@GLOBAL.innodb_adaptive_max_sleep_delay;
|
||||
@@GLOBAL.innodb_adaptive_max_sleep_delay
|
||||
100000
|
||||
0
|
||||
SET @@GLOBAL.innodb_adaptive_max_sleep_delay=1000000;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_adaptive_max_sleep_delay is deprecated and has no effect.
|
||||
SELECT @@GLOBAL.innodb_adaptive_max_sleep_delay;
|
||||
@@GLOBAL.innodb_adaptive_max_sleep_delay
|
||||
1000000
|
||||
0
|
||||
SET @@GLOBAL.innodb_adaptive_max_sleep_delay=1000001;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect innodb_adaptive_max_sleep_delay value: '1000001'
|
||||
Warning 138 The parameter innodb_adaptive_max_sleep_delay is deprecated and has no effect.
|
||||
SELECT @@GLOBAL.innodb_adaptive_max_sleep_delay;
|
||||
@@GLOBAL.innodb_adaptive_max_sleep_delay
|
||||
1000000
|
||||
0
|
||||
1000000 Expected
|
||||
SET @@GLOBAL.innodb_adaptive_max_sleep_delay=4294967295;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect innodb_adaptive_max_sleep_delay value: '4294967295'
|
||||
Warning 138 The parameter innodb_adaptive_max_sleep_delay is deprecated and has no effect.
|
||||
SELECT @@GLOBAL.innodb_adaptive_max_sleep_delay;
|
||||
@@GLOBAL.innodb_adaptive_max_sleep_delay
|
||||
1000000
|
||||
0
|
||||
1000000 Expected
|
||||
SET @@GLOBAL.innodb_adaptive_max_sleep_delay=-1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect innodb_adaptive_max_sleep_delay value: '-1'
|
||||
Warning 138 The parameter innodb_adaptive_max_sleep_delay is deprecated and has no effect.
|
||||
SELECT @@GLOBAL.innodb_adaptive_max_sleep_delay;
|
||||
@@GLOBAL.innodb_adaptive_max_sleep_delay
|
||||
0
|
||||
@@ -39,6 +50,7 @@ SELECT @@GLOBAL.innodb_adaptive_max_sleep_delay;
|
||||
SET @@GLOBAL.innodb_adaptive_max_sleep_delay=-1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect innodb_adaptive_max_sleep_delay value: '-1024'
|
||||
Warning 138 The parameter innodb_adaptive_max_sleep_delay is deprecated and has no effect.
|
||||
SELECT @@GLOBAL.innodb_adaptive_max_sleep_delay;
|
||||
@@GLOBAL.innodb_adaptive_max_sleep_delay
|
||||
0
|
||||
@@ -70,3 +82,5 @@ Expected error 'Variable is a GLOBAL variable'
|
||||
SELECT innodb_adaptive_max_sleep_delay = @@SESSION.innodb_adaptive_max_sleep_delay;
|
||||
ERROR 42S22: Unknown column 'innodb_adaptive_max_sleep_delay' in 'field list'
|
||||
SET @@GLOBAL.innodb_adaptive_max_sleep_delay=150000;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_adaptive_max_sleep_delay is deprecated and has no effect.
|
||||
|
@@ -4,35 +4,49 @@ SELECT @global_start_value;
|
||||
0
|
||||
'#--------------------FN_DYNVARS_046_01------------------------#'
|
||||
SET @@global.innodb_commit_concurrency = 0;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_commit_concurrency is deprecated and has no effect.
|
||||
SET @@global.innodb_commit_concurrency = DEFAULT;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_commit_concurrency is deprecated and has no effect.
|
||||
SELECT @@global.innodb_commit_concurrency;
|
||||
@@global.innodb_commit_concurrency
|
||||
0
|
||||
'#---------------------FN_DYNVARS_046_02-------------------------#'
|
||||
SET innodb_commit_concurrency = 1;
|
||||
ERROR HY000: Variable 'innodb_commit_concurrency' is a GLOBAL variable and should be set with SET GLOBAL
|
||||
SET GLOBAL innodb_commit_concurrency = 1;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_commit_concurrency is deprecated and has no effect.
|
||||
SELECT @@innodb_commit_concurrency;
|
||||
@@innodb_commit_concurrency
|
||||
0
|
||||
SELECT local.innodb_commit_concurrency;
|
||||
ERROR 42S02: Unknown table 'local' in field list
|
||||
SET global innodb_commit_concurrency = 0;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_commit_concurrency is deprecated and has no effect.
|
||||
SELECT @@global.innodb_commit_concurrency;
|
||||
@@global.innodb_commit_concurrency
|
||||
0
|
||||
'#--------------------FN_DYNVARS_046_03------------------------#'
|
||||
SET @@global.innodb_commit_concurrency = 0;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_commit_concurrency is deprecated and has no effect.
|
||||
SELECT @@global.innodb_commit_concurrency;
|
||||
@@global.innodb_commit_concurrency
|
||||
0
|
||||
'#--------------------FN_DYNVARS_046_04-------------------------#'
|
||||
SET @@global.innodb_commit_concurrency = 1;
|
||||
ERROR 42000: Variable 'innodb_commit_concurrency' can't be set to the value of '1'
|
||||
SELECT @@global.innodb_commit_concurrency;
|
||||
@@global.innodb_commit_concurrency
|
||||
0
|
||||
SELECT @@global.innodb_commit_concurrency;
|
||||
@@global.innodb_commit_concurrency
|
||||
0
|
||||
SET @@global.innodb_commit_concurrency = -1;
|
||||
ERROR 42000: Variable 'innodb_commit_concurrency' can't be set to the value of '-1'
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect innodb_commit_concurrency value: '-1'
|
||||
Warning 138 The parameter innodb_commit_concurrency is deprecated and has no effect.
|
||||
SELECT @@global.innodb_commit_concurrency;
|
||||
@@global.innodb_commit_concurrency
|
||||
0
|
||||
@@ -52,7 +66,9 @@ SELECT @@global.innodb_commit_concurrency;
|
||||
@@global.innodb_commit_concurrency
|
||||
0
|
||||
SET @@global.innodb_commit_concurrency = 1001;
|
||||
ERROR 42000: Variable 'innodb_commit_concurrency' can't be set to the value of '1001'
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect innodb_commit_concurrency value: '1001'
|
||||
Warning 138 The parameter innodb_commit_concurrency is deprecated and has no effect.
|
||||
SELECT @@global.innodb_commit_concurrency;
|
||||
@@global.innodb_commit_concurrency
|
||||
0
|
||||
@@ -82,6 +98,8 @@ SELECT @@global.innodb_commit_concurrency;
|
||||
@@global.innodb_commit_concurrency
|
||||
0
|
||||
SET @@global.innodb_commit_concurrency = @global_start_value;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_commit_concurrency is deprecated and has no effect.
|
||||
SELECT @@global.innodb_commit_concurrency;
|
||||
@@global.innodb_commit_concurrency
|
||||
0
|
||||
|
@@ -1,93 +1,103 @@
|
||||
SET @global_start_value = @@global.innodb_concurrency_tickets;
|
||||
SELECT @global_start_value;
|
||||
@global_start_value
|
||||
5000
|
||||
0
|
||||
'#--------------------FN_DYNVARS_046_01------------------------#'
|
||||
SET @@global.innodb_concurrency_tickets = 0;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect innodb_concurrency_tickets value: '0'
|
||||
Warning 138 The parameter innodb_concurrency_tickets is deprecated and has no effect.
|
||||
SET @@global.innodb_concurrency_tickets = DEFAULT;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_concurrency_tickets is deprecated and has no effect.
|
||||
SELECT @@global.innodb_concurrency_tickets;
|
||||
@@global.innodb_concurrency_tickets
|
||||
5000
|
||||
0
|
||||
'#---------------------FN_DYNVARS_046_02-------------------------#'
|
||||
SET innodb_concurrency_tickets = 1;
|
||||
ERROR HY000: Variable 'innodb_concurrency_tickets' is a GLOBAL variable and should be set with SET GLOBAL
|
||||
SELECT @@innodb_concurrency_tickets;
|
||||
@@innodb_concurrency_tickets
|
||||
5000
|
||||
0
|
||||
SELECT local.innodb_concurrency_tickets;
|
||||
ERROR 42S02: Unknown table 'local' in field list
|
||||
SET global innodb_concurrency_tickets = 0;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect innodb_concurrency_tickets value: '0'
|
||||
Warning 138 The parameter innodb_concurrency_tickets is deprecated and has no effect.
|
||||
SELECT @@global.innodb_concurrency_tickets;
|
||||
@@global.innodb_concurrency_tickets
|
||||
1
|
||||
0
|
||||
'#--------------------FN_DYNVARS_046_03------------------------#'
|
||||
SET @@global.innodb_concurrency_tickets = 1;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_concurrency_tickets is deprecated and has no effect.
|
||||
SELECT @@global.innodb_concurrency_tickets;
|
||||
@@global.innodb_concurrency_tickets
|
||||
1
|
||||
0
|
||||
SET @@global.innodb_concurrency_tickets = 1000;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_concurrency_tickets is deprecated and has no effect.
|
||||
SELECT @@global.innodb_concurrency_tickets;
|
||||
@@global.innodb_concurrency_tickets
|
||||
1000
|
||||
0
|
||||
SET @@global.innodb_concurrency_tickets = 4294967295;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_concurrency_tickets is deprecated and has no effect.
|
||||
SELECT @@global.innodb_concurrency_tickets;
|
||||
@@global.innodb_concurrency_tickets
|
||||
4294967295
|
||||
0
|
||||
'#--------------------FN_DYNVARS_046_04-------------------------#'
|
||||
SET @@global.innodb_concurrency_tickets = 4294967296;
|
||||
SELECT @@global.innodb_concurrency_tickets IN (4294967296,4294967295);
|
||||
@@global.innodb_concurrency_tickets IN (4294967296,4294967295)
|
||||
1
|
||||
0
|
||||
SET @@global.innodb_concurrency_tickets = 12345678901;
|
||||
SELECT @@global.innodb_concurrency_tickets IN (12345678901,4294967295);
|
||||
@@global.innodb_concurrency_tickets IN (12345678901,4294967295)
|
||||
1
|
||||
0
|
||||
SET @@global.innodb_concurrency_tickets = 18446744073709551615;
|
||||
SELECT @@global.innodb_concurrency_tickets IN (18446744073709551615,4294967295);
|
||||
@@global.innodb_concurrency_tickets IN (18446744073709551615,4294967295)
|
||||
1
|
||||
0
|
||||
'#--------------------FN_DYNVARS_046_05-------------------------#'
|
||||
SET @@global.innodb_concurrency_tickets = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect innodb_concurrency_tickets value: '-1'
|
||||
Warning 138 The parameter innodb_concurrency_tickets is deprecated and has no effect.
|
||||
SELECT @@global.innodb_concurrency_tickets;
|
||||
@@global.innodb_concurrency_tickets
|
||||
1
|
||||
0
|
||||
SET @@global.innodb_concurrency_tickets = -1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect innodb_concurrency_tickets value: '-1024'
|
||||
Warning 138 The parameter innodb_concurrency_tickets is deprecated and has no effect.
|
||||
SELECT @@global.innodb_concurrency_tickets;
|
||||
@@global.innodb_concurrency_tickets
|
||||
1
|
||||
0
|
||||
SET @@global.innodb_concurrency_tickets = "T";
|
||||
ERROR 42000: Incorrect argument type to variable 'innodb_concurrency_tickets'
|
||||
SELECT @@global.innodb_concurrency_tickets;
|
||||
@@global.innodb_concurrency_tickets
|
||||
1
|
||||
0
|
||||
SET @@global.innodb_concurrency_tickets = "Y";
|
||||
ERROR 42000: Incorrect argument type to variable 'innodb_concurrency_tickets'
|
||||
SELECT @@global.innodb_concurrency_tickets;
|
||||
@@global.innodb_concurrency_tickets
|
||||
1
|
||||
0
|
||||
SET @@global.innodb_concurrency_tickets = 1.1;
|
||||
ERROR 42000: Incorrect argument type to variable 'innodb_concurrency_tickets'
|
||||
SELECT @@global.innodb_concurrency_tickets;
|
||||
@@global.innodb_concurrency_tickets
|
||||
1
|
||||
0
|
||||
SET @@global.innodb_concurrency_tickets = " ";
|
||||
ERROR 42000: Incorrect argument type to variable 'innodb_concurrency_tickets'
|
||||
SELECT @@global.innodb_concurrency_tickets;
|
||||
@@global.innodb_concurrency_tickets
|
||||
1
|
||||
0
|
||||
SET @@global.innodb_concurrency_tickets = ' ';
|
||||
ERROR 42000: Incorrect argument type to variable 'innodb_concurrency_tickets'
|
||||
SELECT @@global.innodb_concurrency_tickets;
|
||||
@@global.innodb_concurrency_tickets
|
||||
1
|
||||
0
|
||||
'#----------------------FN_DYNVARS_046_06------------------------#'
|
||||
SELECT @@global.innodb_concurrency_tickets =
|
||||
VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
|
||||
@@ -97,34 +107,38 @@ VARIABLE_VALUE
|
||||
1
|
||||
SELECT @@global.innodb_concurrency_tickets;
|
||||
@@global.innodb_concurrency_tickets
|
||||
1
|
||||
0
|
||||
SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
|
||||
WHERE VARIABLE_NAME='innodb_concurrency_tickets';
|
||||
VARIABLE_VALUE
|
||||
1
|
||||
0
|
||||
'#---------------------FN_DYNVARS_046_07-------------------------#'
|
||||
SET @@global.innodb_concurrency_tickets = OFF;
|
||||
ERROR 42000: Incorrect argument type to variable 'innodb_concurrency_tickets'
|
||||
SELECT @@global.innodb_concurrency_tickets;
|
||||
@@global.innodb_concurrency_tickets
|
||||
1
|
||||
0
|
||||
SET @@global.innodb_concurrency_tickets = ON;
|
||||
ERROR 42000: Incorrect argument type to variable 'innodb_concurrency_tickets'
|
||||
SELECT @@global.innodb_concurrency_tickets;
|
||||
@@global.innodb_concurrency_tickets
|
||||
1
|
||||
0
|
||||
'#---------------------FN_DYNVARS_046_08----------------------#'
|
||||
SET @@global.innodb_concurrency_tickets = TRUE;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_concurrency_tickets is deprecated and has no effect.
|
||||
SELECT @@global.innodb_concurrency_tickets;
|
||||
@@global.innodb_concurrency_tickets
|
||||
1
|
||||
0
|
||||
SET @@global.innodb_concurrency_tickets = FALSE;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect innodb_concurrency_tickets value: '0'
|
||||
Warning 138 The parameter innodb_concurrency_tickets is deprecated and has no effect.
|
||||
SELECT @@global.innodb_concurrency_tickets;
|
||||
@@global.innodb_concurrency_tickets
|
||||
1
|
||||
0
|
||||
SET @@global.innodb_concurrency_tickets = @global_start_value;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_concurrency_tickets is deprecated and has no effect.
|
||||
SELECT @@global.innodb_concurrency_tickets;
|
||||
@@global.innodb_concurrency_tickets
|
||||
5000
|
||||
0
|
||||
|
@@ -24,33 +24,43 @@ select * from information_schema.session_variables where variable_name='innodb_r
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
INNODB_REPLICATION_DELAY 0
|
||||
set global innodb_replication_delay=10;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_replication_delay is deprecated and has no effect.
|
||||
select @@global.innodb_replication_delay;
|
||||
@@global.innodb_replication_delay
|
||||
10
|
||||
0
|
||||
select * from information_schema.global_variables where variable_name='innodb_replication_delay';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
INNODB_REPLICATION_DELAY 10
|
||||
INNODB_REPLICATION_DELAY 0
|
||||
select * from information_schema.session_variables where variable_name='innodb_replication_delay';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
INNODB_REPLICATION_DELAY 10
|
||||
INNODB_REPLICATION_DELAY 0
|
||||
set session innodb_replication_delay=1;
|
||||
ERROR HY000: Variable 'innodb_replication_delay' is a GLOBAL variable and should be set with SET GLOBAL
|
||||
set global innodb_replication_delay=DEFAULT;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_replication_delay is deprecated and has no effect.
|
||||
select @@global.innodb_replication_delay;
|
||||
@@global.innodb_replication_delay
|
||||
0
|
||||
set global innodb_replication_delay=0;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_replication_delay is deprecated and has no effect.
|
||||
select @@global.innodb_replication_delay;
|
||||
@@global.innodb_replication_delay
|
||||
0
|
||||
set global innodb_replication_delay=65535;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_replication_delay is deprecated and has no effect.
|
||||
select @@global.innodb_replication_delay;
|
||||
@@global.innodb_replication_delay
|
||||
65535
|
||||
0
|
||||
set global innodb_replication_delay=4294967295;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_replication_delay is deprecated and has no effect.
|
||||
select @@global.innodb_replication_delay;
|
||||
@@global.innodb_replication_delay
|
||||
4294967295
|
||||
0
|
||||
set global innodb_replication_delay=1.1;
|
||||
ERROR 42000: Incorrect argument type to variable 'innodb_replication_delay'
|
||||
set global innodb_replication_delay=1e1;
|
||||
@@ -61,21 +71,23 @@ set global innodb_replication_delay=' ';
|
||||
ERROR 42000: Incorrect argument type to variable 'innodb_replication_delay'
|
||||
select @@global.innodb_replication_delay;
|
||||
@@global.innodb_replication_delay
|
||||
4294967295
|
||||
0
|
||||
set global innodb_replication_delay=" ";
|
||||
ERROR 42000: Incorrect argument type to variable 'innodb_replication_delay'
|
||||
select @@global.innodb_replication_delay;
|
||||
@@global.innodb_replication_delay
|
||||
4294967295
|
||||
0
|
||||
set global innodb_replication_delay=-7;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect innodb_replication_delay value: '-7'
|
||||
Warning 138 The parameter innodb_replication_delay is deprecated and has no effect.
|
||||
select @@global.innodb_replication_delay;
|
||||
@@global.innodb_replication_delay
|
||||
0
|
||||
set global innodb_replication_delay=-1024;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect innodb_replication_delay value: '-1024'
|
||||
Warning 138 The parameter innodb_replication_delay is deprecated and has no effect.
|
||||
select @@global.innodb_replication_delay;
|
||||
@@global.innodb_replication_delay
|
||||
0
|
||||
@@ -85,16 +97,18 @@ INNODB_REPLICATION_DELAY 0
|
||||
SET @@global.innodb_replication_delay = 4294967296;
|
||||
SELECT @@global.innodb_replication_delay IN (4294967296,4294967295);
|
||||
@@global.innodb_replication_delay IN (4294967296,4294967295)
|
||||
1
|
||||
0
|
||||
SET @@global.innodb_replication_delay = 12345678901;
|
||||
SELECT @@global.innodb_replication_delay IN (12345678901,4294967295);
|
||||
@@global.innodb_replication_delay IN (12345678901,4294967295)
|
||||
1
|
||||
0
|
||||
SET @@global.innodb_replication_delay = 18446744073709551615;
|
||||
SELECT @@global.innodb_replication_delay IN (18446744073709551615,4294967295);
|
||||
@@global.innodb_replication_delay IN (18446744073709551615,4294967295)
|
||||
1
|
||||
0
|
||||
SET @@global.innodb_replication_delay = @start_global_value;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_replication_delay is deprecated and has no effect.
|
||||
SELECT @@global.innodb_replication_delay;
|
||||
@@global.innodb_replication_delay
|
||||
0
|
||||
|
@@ -4,7 +4,11 @@ SELECT @global_start_value;
|
||||
0
|
||||
'#--------------------FN_DYNVARS_046_01------------------------#'
|
||||
SET @@global.innodb_thread_concurrency = 0;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_thread_concurrency is deprecated and has no effect.
|
||||
SET @@global.innodb_thread_concurrency = DEFAULT;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_thread_concurrency is deprecated and has no effect.
|
||||
SELECT @@global.innodb_thread_concurrency;
|
||||
@@global.innodb_thread_concurrency
|
||||
0
|
||||
@@ -17,26 +21,35 @@ SELECT @@innodb_thread_concurrency;
|
||||
SELECT local.innodb_thread_concurrency;
|
||||
ERROR 42S02: Unknown table 'local' in field list
|
||||
SET global innodb_thread_concurrency = 0;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_thread_concurrency is deprecated and has no effect.
|
||||
SELECT @@global.innodb_thread_concurrency;
|
||||
@@global.innodb_thread_concurrency
|
||||
0
|
||||
'#--------------------FN_DYNVARS_046_03------------------------#'
|
||||
SET @@global.innodb_thread_concurrency = 0;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_thread_concurrency is deprecated and has no effect.
|
||||
SELECT @@global.innodb_thread_concurrency;
|
||||
@@global.innodb_thread_concurrency
|
||||
0
|
||||
SET @@global.innodb_thread_concurrency = 1;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_thread_concurrency is deprecated and has no effect.
|
||||
SELECT @@global.innodb_thread_concurrency;
|
||||
@@global.innodb_thread_concurrency
|
||||
1
|
||||
0
|
||||
SET @@global.innodb_thread_concurrency = 1000;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_thread_concurrency is deprecated and has no effect.
|
||||
SELECT @@global.innodb_thread_concurrency;
|
||||
@@global.innodb_thread_concurrency
|
||||
1000
|
||||
0
|
||||
'#--------------------FN_DYNVARS_046_04-------------------------#'
|
||||
SET @@global.innodb_thread_concurrency = -1;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect innodb_thread_concurrency value: '-1'
|
||||
Warning 138 The parameter innodb_thread_concurrency is deprecated and has no effect.
|
||||
SELECT @@global.innodb_thread_concurrency;
|
||||
@@global.innodb_thread_concurrency
|
||||
0
|
||||
@@ -63,14 +76,15 @@ SELECT @@global.innodb_thread_concurrency;
|
||||
SET @@global.innodb_thread_concurrency = 1001;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect innodb_thread_concurrency value: '1001'
|
||||
Warning 138 The parameter innodb_thread_concurrency is deprecated and has no effect.
|
||||
SELECT @@global.innodb_thread_concurrency;
|
||||
@@global.innodb_thread_concurrency
|
||||
1000
|
||||
0
|
||||
SET @@global.innodb_thread_concurrency = 255.01;
|
||||
ERROR 42000: Incorrect argument type to variable 'innodb_thread_concurrency'
|
||||
SELECT @@global.innodb_thread_concurrency;
|
||||
@@global.innodb_thread_concurrency
|
||||
1000
|
||||
0
|
||||
'#----------------------FN_DYNVARS_046_05------------------------#'
|
||||
SELECT @@global.innodb_thread_concurrency =
|
||||
VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
|
||||
@@ -80,32 +94,38 @@ VARIABLE_VALUE
|
||||
1
|
||||
SELECT @@global.innodb_thread_concurrency;
|
||||
@@global.innodb_thread_concurrency
|
||||
1000
|
||||
0
|
||||
SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
|
||||
WHERE VARIABLE_NAME='innodb_thread_concurrency';
|
||||
VARIABLE_VALUE
|
||||
1000
|
||||
0
|
||||
'#---------------------FN_DYNVARS_046_06-------------------------#'
|
||||
SET @@global.innodb_thread_concurrency = OFF;
|
||||
ERROR 42000: Incorrect argument type to variable 'innodb_thread_concurrency'
|
||||
SELECT @@global.innodb_thread_concurrency;
|
||||
@@global.innodb_thread_concurrency
|
||||
1000
|
||||
0
|
||||
SET @@global.innodb_thread_concurrency = ON;
|
||||
ERROR 42000: Incorrect argument type to variable 'innodb_thread_concurrency'
|
||||
SELECT @@global.innodb_thread_concurrency;
|
||||
@@global.innodb_thread_concurrency
|
||||
1000
|
||||
0
|
||||
'#---------------------FN_DYNVARS_046_07----------------------#'
|
||||
SET @@global.innodb_thread_concurrency = TRUE;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_thread_concurrency is deprecated and has no effect.
|
||||
SELECT @@global.innodb_thread_concurrency;
|
||||
@@global.innodb_thread_concurrency
|
||||
1
|
||||
0
|
||||
SET @@global.innodb_thread_concurrency = FALSE;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_thread_concurrency is deprecated and has no effect.
|
||||
SELECT @@global.innodb_thread_concurrency;
|
||||
@@global.innodb_thread_concurrency
|
||||
0
|
||||
SET @@global.innodb_thread_concurrency = @global_start_value;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_thread_concurrency is deprecated and has no effect.
|
||||
SELECT @@global.innodb_thread_concurrency;
|
||||
@@global.innodb_thread_concurrency
|
||||
0
|
||||
|
@@ -1,38 +1,40 @@
|
||||
SET @start_global_value = @@global.innodb_thread_sleep_delay;
|
||||
SELECT @start_global_value;
|
||||
@start_global_value
|
||||
10000
|
||||
0
|
||||
Valid values are zero or above
|
||||
select @@global.innodb_thread_sleep_delay >=0;
|
||||
@@global.innodb_thread_sleep_delay >=0
|
||||
1
|
||||
select @@global.innodb_thread_sleep_delay;
|
||||
@@global.innodb_thread_sleep_delay
|
||||
10000
|
||||
0
|
||||
select @@session.innodb_thread_sleep_delay;
|
||||
ERROR HY000: Variable 'innodb_thread_sleep_delay' is a GLOBAL variable
|
||||
show global variables like 'innodb_thread_sleep_delay';
|
||||
Variable_name Value
|
||||
innodb_thread_sleep_delay 10000
|
||||
innodb_thread_sleep_delay 0
|
||||
show session variables like 'innodb_thread_sleep_delay';
|
||||
Variable_name Value
|
||||
innodb_thread_sleep_delay 10000
|
||||
innodb_thread_sleep_delay 0
|
||||
select * from information_schema.global_variables where variable_name='innodb_thread_sleep_delay';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
INNODB_THREAD_SLEEP_DELAY 10000
|
||||
INNODB_THREAD_SLEEP_DELAY 0
|
||||
select * from information_schema.session_variables where variable_name='innodb_thread_sleep_delay';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
INNODB_THREAD_SLEEP_DELAY 10000
|
||||
INNODB_THREAD_SLEEP_DELAY 0
|
||||
set global innodb_thread_sleep_delay=10;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_thread_sleep_delay is deprecated and has no effect.
|
||||
select @@global.innodb_thread_sleep_delay;
|
||||
@@global.innodb_thread_sleep_delay
|
||||
10
|
||||
0
|
||||
select * from information_schema.global_variables where variable_name='innodb_thread_sleep_delay';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
INNODB_THREAD_SLEEP_DELAY 10
|
||||
INNODB_THREAD_SLEEP_DELAY 0
|
||||
select * from information_schema.session_variables where variable_name='innodb_thread_sleep_delay';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
INNODB_THREAD_SLEEP_DELAY 10
|
||||
INNODB_THREAD_SLEEP_DELAY 0
|
||||
set session innodb_thread_sleep_delay=1;
|
||||
ERROR HY000: Variable 'innodb_thread_sleep_delay' is a GLOBAL variable and should be set with SET GLOBAL
|
||||
set global innodb_thread_sleep_delay=1.1;
|
||||
@@ -45,9 +47,11 @@ set global innodb_thread_sleep_delay=18446744073709551616;
|
||||
Warnings:
|
||||
Warning 1916 Got overflow when converting '18446744073709551616' to INT. Value truncated
|
||||
Warning 1292 Truncated incorrect innodb_thread_sleep_delay value: '9223372036854775807'
|
||||
Warning 138 The parameter innodb_thread_sleep_delay is deprecated and has no effect.
|
||||
set global innodb_thread_sleep_delay=-7;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect innodb_thread_sleep_delay value: '-7'
|
||||
Warning 138 The parameter innodb_thread_sleep_delay is deprecated and has no effect.
|
||||
select @@global.innodb_thread_sleep_delay;
|
||||
@@global.innodb_thread_sleep_delay
|
||||
0
|
||||
@@ -55,34 +59,46 @@ select * from information_schema.global_variables where variable_name='innodb_th
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
INNODB_THREAD_SLEEP_DELAY 0
|
||||
set global innodb_thread_sleep_delay=0;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_thread_sleep_delay is deprecated and has no effect.
|
||||
select @@global.innodb_thread_sleep_delay;
|
||||
@@global.innodb_thread_sleep_delay
|
||||
0
|
||||
set global innodb_thread_sleep_delay=1000;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_thread_sleep_delay is deprecated and has no effect.
|
||||
select @@global.innodb_thread_sleep_delay;
|
||||
@@global.innodb_thread_sleep_delay
|
||||
1000
|
||||
0
|
||||
set global innodb_thread_sleep_delay=1000000;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_thread_sleep_delay is deprecated and has no effect.
|
||||
select @@global.innodb_thread_sleep_delay;
|
||||
@@global.innodb_thread_sleep_delay
|
||||
1000000
|
||||
0
|
||||
set global innodb_thread_sleep_delay=1000001;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect innodb_thread_sleep_delay value: '1000001'
|
||||
Warning 138 The parameter innodb_thread_sleep_delay is deprecated and has no effect.
|
||||
select @@global.innodb_thread_sleep_delay;
|
||||
@@global.innodb_thread_sleep_delay
|
||||
1000000
|
||||
0
|
||||
set global innodb_thread_sleep_delay=4294967295;
|
||||
Warnings:
|
||||
Warning 1292 Truncated incorrect innodb_thread_sleep_delay value: '4294967295'
|
||||
Warning 138 The parameter innodb_thread_sleep_delay is deprecated and has no effect.
|
||||
select @@global.innodb_thread_sleep_delay;
|
||||
@@global.innodb_thread_sleep_delay
|
||||
1000000
|
||||
0
|
||||
set global innodb_thread_sleep_delay=555;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_thread_sleep_delay is deprecated and has no effect.
|
||||
select @@global.innodb_thread_sleep_delay;
|
||||
@@global.innodb_thread_sleep_delay
|
||||
555
|
||||
0
|
||||
SET @@global.innodb_thread_sleep_delay = @start_global_value;
|
||||
Warnings:
|
||||
Warning 138 The parameter innodb_thread_sleep_delay is deprecated and has no effect.
|
||||
SELECT @@global.innodb_thread_sleep_delay;
|
||||
@@global.innodb_thread_sleep_delay
|
||||
10000
|
||||
0
|
||||
|
@@ -17,38 +17,38 @@ OPTIMIZER_SWITCH index_merge=on,index_merge_union=on,index_merge_sort_union=on,i
|
||||
select * from information_schema.session_variables where variable_name='optimizer_switch';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
OPTIMIZER_SWITCH index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=on,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on,condition_pushdown_for_subquery=on,rowid_filter=on,condition_pushdown_from_having=on,not_null_range_scan=off
|
||||
set global optimizer_switch=10;
|
||||
set session optimizer_switch=5;
|
||||
set global optimizer_switch=4101;
|
||||
set session optimizer_switch=2058;
|
||||
select @@global.optimizer_switch;
|
||||
@@global.optimizer_switch
|
||||
index_merge=off,index_merge_union=on,index_merge_sort_union=off,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=off,derived_merge=off,derived_with_keys=off,firstmatch=off,loosescan=off,materialization=off,in_to_exists=off,semijoin=off,partial_match_rowid_merge=off,partial_match_table_scan=off,subquery_cache=off,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=off,semijoin_with_cache=off,join_cache_incremental=off,join_cache_hashed=off,join_cache_bka=off,optimize_join_buffer_size=off,table_elimination=off,extended_keys=off,exists_to_in=off,orderby_uses_equalities=off,condition_pushdown_for_derived=off,split_materialized=off,condition_pushdown_for_subquery=off,rowid_filter=off,condition_pushdown_from_having=off,not_null_range_scan=off
|
||||
index_merge=on,index_merge_union=off,index_merge_sort_union=on,index_merge_intersection=off,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=off,derived_merge=off,derived_with_keys=off,firstmatch=off,loosescan=off,materialization=off,in_to_exists=on,semijoin=off,partial_match_rowid_merge=off,partial_match_table_scan=off,subquery_cache=off,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=off,semijoin_with_cache=off,join_cache_incremental=off,join_cache_hashed=off,join_cache_bka=off,optimize_join_buffer_size=off,table_elimination=off,extended_keys=off,exists_to_in=off,orderby_uses_equalities=off,condition_pushdown_for_derived=off,split_materialized=off,condition_pushdown_for_subquery=off,rowid_filter=off,condition_pushdown_from_having=off,not_null_range_scan=off
|
||||
select @@session.optimizer_switch;
|
||||
@@session.optimizer_switch
|
||||
index_merge=on,index_merge_union=off,index_merge_sort_union=on,index_merge_intersection=off,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=off,derived_merge=off,derived_with_keys=off,firstmatch=off,loosescan=off,materialization=off,in_to_exists=off,semijoin=off,partial_match_rowid_merge=off,partial_match_table_scan=off,subquery_cache=off,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=off,semijoin_with_cache=off,join_cache_incremental=off,join_cache_hashed=off,join_cache_bka=off,optimize_join_buffer_size=off,table_elimination=off,extended_keys=off,exists_to_in=off,orderby_uses_equalities=off,condition_pushdown_for_derived=off,split_materialized=off,condition_pushdown_for_subquery=off,rowid_filter=off,condition_pushdown_from_having=off,not_null_range_scan=off
|
||||
index_merge=off,index_merge_union=on,index_merge_sort_union=off,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=off,derived_merge=off,derived_with_keys=off,firstmatch=off,loosescan=off,materialization=on,in_to_exists=off,semijoin=off,partial_match_rowid_merge=off,partial_match_table_scan=off,subquery_cache=off,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=off,semijoin_with_cache=off,join_cache_incremental=off,join_cache_hashed=off,join_cache_bka=off,optimize_join_buffer_size=off,table_elimination=off,extended_keys=off,exists_to_in=off,orderby_uses_equalities=off,condition_pushdown_for_derived=off,split_materialized=off,condition_pushdown_for_subquery=off,rowid_filter=off,condition_pushdown_from_having=off,not_null_range_scan=off
|
||||
set global optimizer_switch="index_merge_sort_union=on";
|
||||
set session optimizer_switch="index_merge=off";
|
||||
select @@global.optimizer_switch;
|
||||
@@global.optimizer_switch
|
||||
index_merge=off,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=off,derived_merge=off,derived_with_keys=off,firstmatch=off,loosescan=off,materialization=off,in_to_exists=off,semijoin=off,partial_match_rowid_merge=off,partial_match_table_scan=off,subquery_cache=off,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=off,semijoin_with_cache=off,join_cache_incremental=off,join_cache_hashed=off,join_cache_bka=off,optimize_join_buffer_size=off,table_elimination=off,extended_keys=off,exists_to_in=off,orderby_uses_equalities=off,condition_pushdown_for_derived=off,split_materialized=off,condition_pushdown_for_subquery=off,rowid_filter=off,condition_pushdown_from_having=off,not_null_range_scan=off
|
||||
index_merge=on,index_merge_union=off,index_merge_sort_union=on,index_merge_intersection=off,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=off,derived_merge=off,derived_with_keys=off,firstmatch=off,loosescan=off,materialization=off,in_to_exists=on,semijoin=off,partial_match_rowid_merge=off,partial_match_table_scan=off,subquery_cache=off,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=off,semijoin_with_cache=off,join_cache_incremental=off,join_cache_hashed=off,join_cache_bka=off,optimize_join_buffer_size=off,table_elimination=off,extended_keys=off,exists_to_in=off,orderby_uses_equalities=off,condition_pushdown_for_derived=off,split_materialized=off,condition_pushdown_for_subquery=off,rowid_filter=off,condition_pushdown_from_having=off,not_null_range_scan=off
|
||||
select @@session.optimizer_switch;
|
||||
@@session.optimizer_switch
|
||||
index_merge=off,index_merge_union=off,index_merge_sort_union=on,index_merge_intersection=off,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=off,derived_merge=off,derived_with_keys=off,firstmatch=off,loosescan=off,materialization=off,in_to_exists=off,semijoin=off,partial_match_rowid_merge=off,partial_match_table_scan=off,subquery_cache=off,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=off,semijoin_with_cache=off,join_cache_incremental=off,join_cache_hashed=off,join_cache_bka=off,optimize_join_buffer_size=off,table_elimination=off,extended_keys=off,exists_to_in=off,orderby_uses_equalities=off,condition_pushdown_for_derived=off,split_materialized=off,condition_pushdown_for_subquery=off,rowid_filter=off,condition_pushdown_from_having=off,not_null_range_scan=off
|
||||
index_merge=off,index_merge_union=on,index_merge_sort_union=off,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=off,derived_merge=off,derived_with_keys=off,firstmatch=off,loosescan=off,materialization=on,in_to_exists=off,semijoin=off,partial_match_rowid_merge=off,partial_match_table_scan=off,subquery_cache=off,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=off,semijoin_with_cache=off,join_cache_incremental=off,join_cache_hashed=off,join_cache_bka=off,optimize_join_buffer_size=off,table_elimination=off,extended_keys=off,exists_to_in=off,orderby_uses_equalities=off,condition_pushdown_for_derived=off,split_materialized=off,condition_pushdown_for_subquery=off,rowid_filter=off,condition_pushdown_from_having=off,not_null_range_scan=off
|
||||
show global variables like 'optimizer_switch';
|
||||
Variable_name Value
|
||||
optimizer_switch index_merge=off,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=off,derived_merge=off,derived_with_keys=off,firstmatch=off,loosescan=off,materialization=off,in_to_exists=off,semijoin=off,partial_match_rowid_merge=off,partial_match_table_scan=off,subquery_cache=off,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=off,semijoin_with_cache=off,join_cache_incremental=off,join_cache_hashed=off,join_cache_bka=off,optimize_join_buffer_size=off,table_elimination=off,extended_keys=off,exists_to_in=off,orderby_uses_equalities=off,condition_pushdown_for_derived=off,split_materialized=off,condition_pushdown_for_subquery=off,rowid_filter=off,condition_pushdown_from_having=off,not_null_range_scan=off
|
||||
optimizer_switch index_merge=on,index_merge_union=off,index_merge_sort_union=on,index_merge_intersection=off,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=off,derived_merge=off,derived_with_keys=off,firstmatch=off,loosescan=off,materialization=off,in_to_exists=on,semijoin=off,partial_match_rowid_merge=off,partial_match_table_scan=off,subquery_cache=off,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=off,semijoin_with_cache=off,join_cache_incremental=off,join_cache_hashed=off,join_cache_bka=off,optimize_join_buffer_size=off,table_elimination=off,extended_keys=off,exists_to_in=off,orderby_uses_equalities=off,condition_pushdown_for_derived=off,split_materialized=off,condition_pushdown_for_subquery=off,rowid_filter=off,condition_pushdown_from_having=off,not_null_range_scan=off
|
||||
show session variables like 'optimizer_switch';
|
||||
Variable_name Value
|
||||
optimizer_switch index_merge=off,index_merge_union=off,index_merge_sort_union=on,index_merge_intersection=off,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=off,derived_merge=off,derived_with_keys=off,firstmatch=off,loosescan=off,materialization=off,in_to_exists=off,semijoin=off,partial_match_rowid_merge=off,partial_match_table_scan=off,subquery_cache=off,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=off,semijoin_with_cache=off,join_cache_incremental=off,join_cache_hashed=off,join_cache_bka=off,optimize_join_buffer_size=off,table_elimination=off,extended_keys=off,exists_to_in=off,orderby_uses_equalities=off,condition_pushdown_for_derived=off,split_materialized=off,condition_pushdown_for_subquery=off,rowid_filter=off,condition_pushdown_from_having=off,not_null_range_scan=off
|
||||
optimizer_switch index_merge=off,index_merge_union=on,index_merge_sort_union=off,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=off,derived_merge=off,derived_with_keys=off,firstmatch=off,loosescan=off,materialization=on,in_to_exists=off,semijoin=off,partial_match_rowid_merge=off,partial_match_table_scan=off,subquery_cache=off,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=off,semijoin_with_cache=off,join_cache_incremental=off,join_cache_hashed=off,join_cache_bka=off,optimize_join_buffer_size=off,table_elimination=off,extended_keys=off,exists_to_in=off,orderby_uses_equalities=off,condition_pushdown_for_derived=off,split_materialized=off,condition_pushdown_for_subquery=off,rowid_filter=off,condition_pushdown_from_having=off,not_null_range_scan=off
|
||||
select * from information_schema.global_variables where variable_name='optimizer_switch';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
OPTIMIZER_SWITCH index_merge=off,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=off,derived_merge=off,derived_with_keys=off,firstmatch=off,loosescan=off,materialization=off,in_to_exists=off,semijoin=off,partial_match_rowid_merge=off,partial_match_table_scan=off,subquery_cache=off,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=off,semijoin_with_cache=off,join_cache_incremental=off,join_cache_hashed=off,join_cache_bka=off,optimize_join_buffer_size=off,table_elimination=off,extended_keys=off,exists_to_in=off,orderby_uses_equalities=off,condition_pushdown_for_derived=off,split_materialized=off,condition_pushdown_for_subquery=off,rowid_filter=off,condition_pushdown_from_having=off,not_null_range_scan=off
|
||||
OPTIMIZER_SWITCH index_merge=on,index_merge_union=off,index_merge_sort_union=on,index_merge_intersection=off,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=off,derived_merge=off,derived_with_keys=off,firstmatch=off,loosescan=off,materialization=off,in_to_exists=on,semijoin=off,partial_match_rowid_merge=off,partial_match_table_scan=off,subquery_cache=off,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=off,semijoin_with_cache=off,join_cache_incremental=off,join_cache_hashed=off,join_cache_bka=off,optimize_join_buffer_size=off,table_elimination=off,extended_keys=off,exists_to_in=off,orderby_uses_equalities=off,condition_pushdown_for_derived=off,split_materialized=off,condition_pushdown_for_subquery=off,rowid_filter=off,condition_pushdown_from_having=off,not_null_range_scan=off
|
||||
select * from information_schema.session_variables where variable_name='optimizer_switch';
|
||||
VARIABLE_NAME VARIABLE_VALUE
|
||||
OPTIMIZER_SWITCH index_merge=off,index_merge_union=off,index_merge_sort_union=on,index_merge_intersection=off,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=off,derived_merge=off,derived_with_keys=off,firstmatch=off,loosescan=off,materialization=off,in_to_exists=off,semijoin=off,partial_match_rowid_merge=off,partial_match_table_scan=off,subquery_cache=off,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=off,semijoin_with_cache=off,join_cache_incremental=off,join_cache_hashed=off,join_cache_bka=off,optimize_join_buffer_size=off,table_elimination=off,extended_keys=off,exists_to_in=off,orderby_uses_equalities=off,condition_pushdown_for_derived=off,split_materialized=off,condition_pushdown_for_subquery=off,rowid_filter=off,condition_pushdown_from_having=off,not_null_range_scan=off
|
||||
OPTIMIZER_SWITCH index_merge=off,index_merge_union=on,index_merge_sort_union=off,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=off,derived_merge=off,derived_with_keys=off,firstmatch=off,loosescan=off,materialization=on,in_to_exists=off,semijoin=off,partial_match_rowid_merge=off,partial_match_table_scan=off,subquery_cache=off,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=off,semijoin_with_cache=off,join_cache_incremental=off,join_cache_hashed=off,join_cache_bka=off,optimize_join_buffer_size=off,table_elimination=off,extended_keys=off,exists_to_in=off,orderby_uses_equalities=off,condition_pushdown_for_derived=off,split_materialized=off,condition_pushdown_for_subquery=off,rowid_filter=off,condition_pushdown_from_having=off,not_null_range_scan=off
|
||||
set session optimizer_switch="default";
|
||||
select @@session.optimizer_switch;
|
||||
@@session.optimizer_switch
|
||||
index_merge=off,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=off,derived_merge=off,derived_with_keys=off,firstmatch=off,loosescan=off,materialization=off,in_to_exists=off,semijoin=off,partial_match_rowid_merge=off,partial_match_table_scan=off,subquery_cache=off,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=off,semijoin_with_cache=off,join_cache_incremental=off,join_cache_hashed=off,join_cache_bka=off,optimize_join_buffer_size=off,table_elimination=off,extended_keys=off,exists_to_in=off,orderby_uses_equalities=off,condition_pushdown_for_derived=off,split_materialized=off,condition_pushdown_for_subquery=off,rowid_filter=off,condition_pushdown_from_having=off,not_null_range_scan=off
|
||||
index_merge=on,index_merge_union=off,index_merge_sort_union=on,index_merge_intersection=off,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=off,derived_merge=off,derived_with_keys=off,firstmatch=off,loosescan=off,materialization=off,in_to_exists=on,semijoin=off,partial_match_rowid_merge=off,partial_match_table_scan=off,subquery_cache=off,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=off,semijoin_with_cache=off,join_cache_incremental=off,join_cache_hashed=off,join_cache_bka=off,optimize_join_buffer_size=off,table_elimination=off,extended_keys=off,exists_to_in=off,orderby_uses_equalities=off,condition_pushdown_for_derived=off,split_materialized=off,condition_pushdown_for_subquery=off,rowid_filter=off,condition_pushdown_from_having=off,not_null_range_scan=off
|
||||
set optimizer_switch = replace(@@optimizer_switch, '=off', '=on');
|
||||
Warnings:
|
||||
Warning 1681 'engine_condition_pushdown=on' is deprecated and will be removed in a future release
|
||||
|
@@ -104,15 +104,9 @@ autocommit,character_set_client,character_set_connection,character_set_results,t
|
||||
connection default;
|
||||
# Testing NULL
|
||||
SET @@global.session_track_system_variables = NULL;
|
||||
ERROR 42000: Variable 'session_track_system_variables' can't be set to the value of 'NULL'
|
||||
SET @@session.session_track_system_variables = NULL;
|
||||
# Global - expect "" instead of NULL
|
||||
SELECT @@global.session_track_system_variables;
|
||||
@@global.session_track_system_variables
|
||||
NULL
|
||||
# Session - expect "" instead of NULL
|
||||
SELECT @@session.session_track_system_variables;
|
||||
@@session.session_track_system_variables
|
||||
|
||||
ERROR 42000: Variable 'session_track_system_variables' can't be set to the value of 'NULL'
|
||||
# testing with duplicate entries.
|
||||
SET @@global.session_track_system_variables= "time_zone";
|
||||
SET @@session.session_track_system_variables= "time_zone";
|
||||
|
@@ -9,15 +9,6 @@
|
||||
VARIABLE_COMMENT Number of InnoDB Adaptive Hash Index Partitions (default 8)
|
||||
NUMERIC_MIN_VALUE 1
|
||||
NUMERIC_MAX_VALUE 512
|
||||
@@ -61,7 +61,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 150000
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
-VARIABLE_TYPE BIGINT UNSIGNED
|
||||
+VARIABLE_TYPE INT UNSIGNED
|
||||
VARIABLE_COMMENT The upper limit of the sleep delay in usec. Value of 0 disables it.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 1000000
|
||||
@@ -73,7 +73,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 64
|
||||
@@ -76,16 +67,7 @@
|
||||
VARIABLE_COMMENT A number between [0, 100] that tells how oftern buffer pool dump status in percentages should be printed. E.g. 10 means that buffer pool dump status is printed when every 10% of number of buffer pool pages are dumped. Default is 0 (only start and end status is printed).
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 100
|
||||
@@ -373,7 +373,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 0
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
-VARIABLE_TYPE BIGINT UNSIGNED
|
||||
+VARIABLE_TYPE INT UNSIGNED
|
||||
VARIABLE_COMMENT Helps in performance tuning in heavily concurrent environments.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 1000
|
||||
@@ -409,7 +409,7 @@
|
||||
@@ -421,7 +421,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 5
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -94,7 +76,7 @@
|
||||
VARIABLE_COMMENT If the compression failure rate of a table is greater than this number more padding is added to the pages to reduce the failures. A value of zero implies no padding
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 100
|
||||
@@ -433,7 +433,7 @@
|
||||
@@ -445,7 +445,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 50
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -103,20 +85,7 @@
|
||||
VARIABLE_COMMENT Percentage of empty space on a data page that can be reserved to make the page compressible.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 75
|
||||
@@ -445,10 +445,10 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 5000
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
-VARIABLE_TYPE BIGINT UNSIGNED
|
||||
+VARIABLE_TYPE INT UNSIGNED
|
||||
VARIABLE_COMMENT Number of times a thread is allowed to enter InnoDB within the same SQL query after it has once got the ticket
|
||||
NUMERIC_MIN_VALUE 1
|
||||
-NUMERIC_MAX_VALUE 18446744073709551615
|
||||
+NUMERIC_MAX_VALUE 4294967295
|
||||
NUMERIC_BLOCK_SIZE 0
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY NO
|
||||
@@ -673,7 +673,7 @@
|
||||
@@ -661,7 +661,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 120
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -125,7 +94,7 @@
|
||||
VARIABLE_COMMENT Number of pages reserved in doublewrite buffer for batch flushing
|
||||
NUMERIC_MIN_VALUE 1
|
||||
NUMERIC_MAX_VALUE 127
|
||||
@@ -769,7 +769,7 @@
|
||||
@@ -757,7 +757,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 600
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -134,7 +103,7 @@
|
||||
VARIABLE_COMMENT Maximum number of seconds that semaphore times out in InnoDB.
|
||||
NUMERIC_MIN_VALUE 1
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
@@ -817,7 +817,7 @@
|
||||
@@ -805,7 +805,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 0
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -143,7 +112,7 @@
|
||||
VARIABLE_COMMENT Make the first page of the given tablespace dirty.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
@@ -829,7 +829,7 @@
|
||||
@@ -817,7 +817,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 30
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -152,7 +121,7 @@
|
||||
VARIABLE_COMMENT Number of iterations over which the background flushing is averaged.
|
||||
NUMERIC_MIN_VALUE 1
|
||||
NUMERIC_MAX_VALUE 1000
|
||||
@@ -853,7 +853,7 @@
|
||||
@@ -841,7 +841,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 1
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -161,7 +130,7 @@
|
||||
VARIABLE_COMMENT Controls the durability/speed trade-off for commits. Set to 0 (write and flush redo log to disk only once per second), 1 (flush to disk at each commit), 2 (write to log at commit but flush to disk only once per second) or 3 (flush to disk at prepare and at commit, slower and usually redundant). 1 and 3 guarantees that after a crash, committed transactions will not be lost and will be consistent with the binlog and other transactional engines. 2 can get inconsistent and lose transactions if there is a power failure or kernel crash but not if mysqld crashes. 0 has no guarantees in case of crash. 0 and 2 can be faster than 1 or 3.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 3
|
||||
@@ -877,7 +877,7 @@
|
||||
@@ -865,7 +865,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 1
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -170,7 +139,7 @@
|
||||
VARIABLE_COMMENT Set to 0 (don't flush neighbors from buffer pool), 1 (flush contiguous neighbors from buffer pool) or 2 (flush neighbors from buffer pool), when flushing a block
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 2
|
||||
@@ -925,7 +925,7 @@
|
||||
@@ -913,7 +913,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 0
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -179,7 +148,7 @@
|
||||
VARIABLE_COMMENT Helps to save your data in case the disk image of the database becomes corrupt. Value 5 can return bogus data, and 6 can permanently corrupt data.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 6
|
||||
@@ -949,7 +949,7 @@
|
||||
@@ -937,7 +937,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 8000000
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -188,7 +157,7 @@
|
||||
VARIABLE_COMMENT InnoDB Fulltext search cache size in bytes
|
||||
NUMERIC_MIN_VALUE 1600000
|
||||
NUMERIC_MAX_VALUE 80000000
|
||||
@@ -985,7 +985,7 @@
|
||||
@@ -973,7 +973,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 84
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -197,7 +166,7 @@
|
||||
VARIABLE_COMMENT InnoDB Fulltext search maximum token size in characters
|
||||
NUMERIC_MIN_VALUE 10
|
||||
NUMERIC_MAX_VALUE 84
|
||||
@@ -997,7 +997,7 @@
|
||||
@@ -985,7 +985,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 3
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -206,7 +175,7 @@
|
||||
VARIABLE_COMMENT InnoDB Fulltext search minimum token size in characters
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 16
|
||||
@@ -1009,7 +1009,7 @@
|
||||
@@ -997,7 +997,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 2000
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -215,7 +184,7 @@
|
||||
VARIABLE_COMMENT InnoDB Fulltext search number of words to optimize for each optimize table call
|
||||
NUMERIC_MIN_VALUE 1000
|
||||
NUMERIC_MAX_VALUE 10000
|
||||
@@ -1021,10 +1021,10 @@
|
||||
@@ -1009,10 +1009,10 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 2000000000
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -228,7 +197,7 @@
|
||||
NUMERIC_BLOCK_SIZE 0
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY NO
|
||||
@@ -1045,7 +1045,7 @@
|
||||
@@ -1033,7 +1033,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 2
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -237,7 +206,7 @@
|
||||
VARIABLE_COMMENT InnoDB Fulltext search parallel sort degree, will round up to nearest power of 2 number
|
||||
NUMERIC_MIN_VALUE 1
|
||||
NUMERIC_MAX_VALUE 16
|
||||
@@ -1057,7 +1057,7 @@
|
||||
@@ -1045,7 +1045,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 640000000
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -246,7 +215,7 @@
|
||||
VARIABLE_COMMENT Total memory allocated for InnoDB Fulltext Search cache
|
||||
NUMERIC_MIN_VALUE 32000000
|
||||
NUMERIC_MAX_VALUE 1600000000
|
||||
@@ -1081,7 +1081,7 @@
|
||||
@@ -1069,7 +1069,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 100
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -373,14 +342,14 @@
|
||||
READ_ONLY YES
|
||||
@@ -1489,7 +1489,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 4
|
||||
DEFAULT_VALUE 0
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
-VARIABLE_TYPE BIGINT UNSIGNED
|
||||
+VARIABLE_TYPE INT UNSIGNED
|
||||
VARIABLE_COMMENT Deprecated parameter with no effect.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 64
|
||||
@@ -1525,7 +1525,7 @@
|
||||
@@ -1513,7 +1513,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 16384
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -389,7 +358,7 @@
|
||||
VARIABLE_COMMENT Page size to use for all InnoDB tablespaces.
|
||||
NUMERIC_MIN_VALUE 4096
|
||||
NUMERIC_MAX_VALUE 65536
|
||||
@@ -1561,7 +1561,7 @@
|
||||
@@ -1549,7 +1549,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 300
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -398,7 +367,7 @@
|
||||
VARIABLE_COMMENT Number of UNDO log pages to purge in one batch from the history list.
|
||||
NUMERIC_MIN_VALUE 1
|
||||
NUMERIC_MAX_VALUE 5000
|
||||
@@ -1573,7 +1573,7 @@
|
||||
@@ -1561,7 +1561,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 128
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -407,7 +376,7 @@
|
||||
VARIABLE_COMMENT Dictates rate at which UNDO records are purged. Value N means purge rollback segment(s) on every Nth iteration of purge invocation
|
||||
NUMERIC_MIN_VALUE 1
|
||||
NUMERIC_MAX_VALUE 128
|
||||
@@ -1609,7 +1609,7 @@
|
||||
@@ -1597,7 +1597,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 56
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -416,7 +385,7 @@
|
||||
VARIABLE_COMMENT Number of pages that must be accessed sequentially for InnoDB to trigger a readahead.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 64
|
||||
@@ -1621,7 +1621,7 @@
|
||||
@@ -1609,7 +1609,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 4
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -425,20 +394,7 @@
|
||||
VARIABLE_COMMENT Number of background read I/O threads in InnoDB.
|
||||
NUMERIC_MIN_VALUE 1
|
||||
NUMERIC_MAX_VALUE 64
|
||||
@@ -1645,10 +1645,10 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 0
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
-VARIABLE_TYPE BIGINT UNSIGNED
|
||||
+VARIABLE_TYPE INT UNSIGNED
|
||||
VARIABLE_COMMENT Replication thread delay (ms) on the slave server if innodb_thread_concurrency is reached (0 by default)
|
||||
NUMERIC_MIN_VALUE 0
|
||||
-NUMERIC_MAX_VALUE 18446744073709551615
|
||||
+NUMERIC_MAX_VALUE 4294967295
|
||||
NUMERIC_BLOCK_SIZE 0
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY NO
|
||||
@@ -1669,7 +1669,7 @@
|
||||
@@ -1657,7 +1657,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 0
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -447,7 +403,7 @@
|
||||
VARIABLE_COMMENT An InnoDB page number.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
@@ -1717,7 +1717,7 @@
|
||||
@@ -1705,7 +1705,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 1048576
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -456,7 +412,7 @@
|
||||
VARIABLE_COMMENT Memory buffer size for index creation
|
||||
NUMERIC_MIN_VALUE 65536
|
||||
NUMERIC_MAX_VALUE 67108864
|
||||
@@ -1885,7 +1885,7 @@
|
||||
@@ -1873,7 +1873,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 1
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -465,7 +421,7 @@
|
||||
VARIABLE_COMMENT Size of the mutex/lock wait array.
|
||||
NUMERIC_MIN_VALUE 1
|
||||
NUMERIC_MAX_VALUE 1024
|
||||
@@ -1909,10 +1909,10 @@
|
||||
@@ -1897,10 +1897,10 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 30
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -478,25 +434,7 @@
|
||||
NUMERIC_BLOCK_SIZE 0
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY NO
|
||||
@@ -1945,7 +1945,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 0
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
-VARIABLE_TYPE BIGINT UNSIGNED
|
||||
+VARIABLE_TYPE INT UNSIGNED
|
||||
VARIABLE_COMMENT Helps in performance tuning in heavily concurrent environments. Sets the maximum number of threads allowed inside InnoDB. Value 0 will disable the thread throttling.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 1000
|
||||
@@ -1957,7 +1957,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 10000
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
-VARIABLE_TYPE BIGINT UNSIGNED
|
||||
+VARIABLE_TYPE INT UNSIGNED
|
||||
VARIABLE_COMMENT Time of innodb thread sleeping before joining InnoDB queue (usec). Value 0 disable a sleep
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 1000000
|
||||
@@ -2017,7 +2017,7 @@
|
||||
@@ -2005,7 +2005,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 128
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -505,7 +443,7 @@
|
||||
VARIABLE_COMMENT Deprecated parameter with no effect.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 128
|
||||
@@ -2041,7 +2041,7 @@
|
||||
@@ -2029,7 +2029,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 0
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
@@ -514,7 +452,7 @@
|
||||
VARIABLE_COMMENT Number of undo tablespaces to use.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 127
|
||||
@@ -2065,7 +2065,7 @@
|
||||
@@ -2053,7 +2053,7 @@
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 4
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
|
@@ -59,10 +59,10 @@ READ_ONLY YES
|
||||
COMMAND_LINE_ARGUMENT OPTIONAL
|
||||
VARIABLE_NAME INNODB_ADAPTIVE_MAX_SLEEP_DELAY
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 150000
|
||||
DEFAULT_VALUE 0
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
VARIABLE_TYPE BIGINT UNSIGNED
|
||||
VARIABLE_COMMENT The upper limit of the sleep delay in usec. Value of 0 disables it.
|
||||
VARIABLE_TYPE INT UNSIGNED
|
||||
VARIABLE_COMMENT Deprecated parameter with no effect.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 1000000
|
||||
NUMERIC_BLOCK_SIZE 0
|
||||
@@ -385,8 +385,8 @@ VARIABLE_NAME INNODB_COMMIT_CONCURRENCY
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 0
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
VARIABLE_TYPE BIGINT UNSIGNED
|
||||
VARIABLE_COMMENT Helps in performance tuning in heavily concurrent environments.
|
||||
VARIABLE_TYPE INT UNSIGNED
|
||||
VARIABLE_COMMENT Deprecated parameter with no effect.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 1000
|
||||
NUMERIC_BLOCK_SIZE 0
|
||||
@@ -455,12 +455,12 @@ READ_ONLY NO
|
||||
COMMAND_LINE_ARGUMENT OPTIONAL
|
||||
VARIABLE_NAME INNODB_CONCURRENCY_TICKETS
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 5000
|
||||
DEFAULT_VALUE 0
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
VARIABLE_TYPE BIGINT UNSIGNED
|
||||
VARIABLE_COMMENT Number of times a thread is allowed to enter InnoDB within the same SQL query after it has once got the ticket
|
||||
NUMERIC_MIN_VALUE 1
|
||||
NUMERIC_MAX_VALUE 18446744073709551615
|
||||
VARIABLE_TYPE INT UNSIGNED
|
||||
VARIABLE_COMMENT Deprecated parameter with no effect.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
NUMERIC_BLOCK_SIZE 0
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY NO
|
||||
@@ -1633,10 +1633,10 @@ VARIABLE_NAME INNODB_REPLICATION_DELAY
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 0
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
VARIABLE_TYPE BIGINT UNSIGNED
|
||||
VARIABLE_COMMENT Replication thread delay (ms) on the slave server if innodb_thread_concurrency is reached (0 by default)
|
||||
VARIABLE_TYPE INT UNSIGNED
|
||||
VARIABLE_COMMENT Deprecated parameter with no effect.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 18446744073709551615
|
||||
NUMERIC_MAX_VALUE 4294967295
|
||||
NUMERIC_BLOCK_SIZE 0
|
||||
ENUM_VALUE_LIST NULL
|
||||
READ_ONLY NO
|
||||
@@ -1933,8 +1933,8 @@ VARIABLE_NAME INNODB_THREAD_CONCURRENCY
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 0
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
VARIABLE_TYPE BIGINT UNSIGNED
|
||||
VARIABLE_COMMENT Helps in performance tuning in heavily concurrent environments. Sets the maximum number of threads allowed inside InnoDB. Value 0 will disable the thread throttling.
|
||||
VARIABLE_TYPE INT UNSIGNED
|
||||
VARIABLE_COMMENT Deprecated parameter with no effect.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 1000
|
||||
NUMERIC_BLOCK_SIZE 0
|
||||
@@ -1943,10 +1943,10 @@ READ_ONLY NO
|
||||
COMMAND_LINE_ARGUMENT REQUIRED
|
||||
VARIABLE_NAME INNODB_THREAD_SLEEP_DELAY
|
||||
SESSION_VALUE NULL
|
||||
DEFAULT_VALUE 10000
|
||||
DEFAULT_VALUE 0
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
VARIABLE_TYPE BIGINT UNSIGNED
|
||||
VARIABLE_COMMENT Time of innodb thread sleeping before joining InnoDB queue (usec). Value 0 disable a sleep
|
||||
VARIABLE_TYPE INT UNSIGNED
|
||||
VARIABLE_COMMENT Deprecated parameter with no effect.
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 1000000
|
||||
NUMERIC_BLOCK_SIZE 0
|
||||
|
Reference in New Issue
Block a user