|
|
|
@ -1,290 +0,0 @@
|
|
|
|
|
SET @session_start_value = @@session.engine_condition_pushdown;
|
|
|
|
|
SELECT @session_start_value;
|
|
|
|
|
@session_start_value
|
|
|
|
|
0
|
|
|
|
|
SET @global_start_value = @@global.engine_condition_pushdown;
|
|
|
|
|
SELECT @global_start_value;
|
|
|
|
|
@global_start_value
|
|
|
|
|
0
|
|
|
|
|
select @old_session_opt_switch:=@@session.optimizer_switch,
|
|
|
|
|
@old_global_opt_switch:=@@global.optimizer_switch;
|
|
|
|
|
@old_session_opt_switch:=@@session.optimizer_switch @old_global_opt_switch:=@@global.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=off,table_elimination=on,extended_keys=on,exists_to_in=off 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=off,table_elimination=on,extended_keys=on,exists_to_in=off
|
|
|
|
|
'#--------------------FN_DYNVARS_028_01------------------------#'
|
|
|
|
|
SET @@session.engine_condition_pushdown = 0;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
SET @@session.engine_condition_pushdown = DEFAULT;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
SELECT @@session.engine_condition_pushdown;
|
|
|
|
|
@@session.engine_condition_pushdown
|
|
|
|
|
0
|
|
|
|
|
SET @@global.engine_condition_pushdown = 0;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
SET @@global.engine_condition_pushdown = DEFAULT;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
SELECT @@global.engine_condition_pushdown;
|
|
|
|
|
@@global.engine_condition_pushdown
|
|
|
|
|
1
|
|
|
|
|
'#---------------------FN_DYNVARS_028_02-------------------------#'
|
|
|
|
|
SET engine_condition_pushdown = 1;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
SELECT @@engine_condition_pushdown;
|
|
|
|
|
@@engine_condition_pushdown
|
|
|
|
|
1
|
|
|
|
|
SELECT session.engine_condition_pushdown;
|
|
|
|
|
ERROR 42S02: Unknown table 'session' in field list
|
|
|
|
|
SELECT local.engine_condition_pushdown;
|
|
|
|
|
ERROR 42S02: Unknown table 'local' in field list
|
|
|
|
|
SELECT global.engine_condition_pushdown;
|
|
|
|
|
ERROR 42S02: Unknown table 'global' in field list
|
|
|
|
|
SET session engine_condition_pushdown = 0;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
SELECT @@session.engine_condition_pushdown;
|
|
|
|
|
@@session.engine_condition_pushdown
|
|
|
|
|
0
|
|
|
|
|
SET global engine_condition_pushdown = 0;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
SELECT @@global.engine_condition_pushdown;
|
|
|
|
|
@@global.engine_condition_pushdown
|
|
|
|
|
0
|
|
|
|
|
'#--------------------FN_DYNVARS_028_03------------------------#'
|
|
|
|
|
SET @@session.engine_condition_pushdown = 0;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
SELECT @@session.engine_condition_pushdown;
|
|
|
|
|
@@session.engine_condition_pushdown
|
|
|
|
|
0
|
|
|
|
|
SET @@session.engine_condition_pushdown = 1;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
SELECT @@session.engine_condition_pushdown;
|
|
|
|
|
@@session.engine_condition_pushdown
|
|
|
|
|
1
|
|
|
|
|
SET @@global.engine_condition_pushdown = 0;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
SELECT @@global.engine_condition_pushdown;
|
|
|
|
|
@@global.engine_condition_pushdown
|
|
|
|
|
0
|
|
|
|
|
SET @@global.engine_condition_pushdown = 1;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
SELECT @@global.engine_condition_pushdown;
|
|
|
|
|
@@global.engine_condition_pushdown
|
|
|
|
|
1
|
|
|
|
|
'#--------------------FN_DYNVARS_028_04-------------------------#'
|
|
|
|
|
SET @@session.engine_condition_pushdown = -1;
|
|
|
|
|
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of '-1'
|
|
|
|
|
SET @@session.engine_condition_pushdown = 1.6;
|
|
|
|
|
ERROR 42000: Incorrect argument type to variable 'engine_condition_pushdown'
|
|
|
|
|
SET @@session.engine_condition_pushdown = "T";
|
|
|
|
|
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of 'T'
|
|
|
|
|
SET @@session.engine_condition_pushdown = "Y";
|
|
|
|
|
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of 'Y'
|
|
|
|
|
SET @@session.engine_condition_pushdown = TRÜE;
|
|
|
|
|
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of 'TRÜE'
|
|
|
|
|
SET @@session.engine_condition_pushdown = ÕN;
|
|
|
|
|
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of 'ÕN'
|
|
|
|
|
SET @@session.engine_condition_pushdown = OF;
|
|
|
|
|
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of 'OF'
|
|
|
|
|
SET @@session.engine_condition_pushdown = ÓFF;
|
|
|
|
|
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of 'ÓFF'
|
|
|
|
|
SET @@global.engine_condition_pushdown = -1;
|
|
|
|
|
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of '-1'
|
|
|
|
|
SET @@global.engine_condition_pushdown = 2;
|
|
|
|
|
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of '2'
|
|
|
|
|
SET @@global.engine_condition_pushdown = "T";
|
|
|
|
|
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of 'T'
|
|
|
|
|
SET @@global.engine_condition_pushdown = "Y";
|
|
|
|
|
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of 'Y'
|
|
|
|
|
SET @@global.engine_condition_pushdown = TRÜE;
|
|
|
|
|
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of 'TRÜE'
|
|
|
|
|
SET @@global.engine_condition_pushdown = ÕN;
|
|
|
|
|
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of 'ÕN'
|
|
|
|
|
SET @@global.engine_condition_pushdown = OF;
|
|
|
|
|
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of 'OF'
|
|
|
|
|
SET @@global.engine_condition_pushdown = ÓFF;
|
|
|
|
|
ERROR 42000: Variable 'engine_condition_pushdown' can't be set to the value of 'ÓFF'
|
|
|
|
|
'#-------------------FN_DYNVARS_028_05----------------------------#'
|
|
|
|
|
SET @@global.engine_condition_pushdown = 0;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
SET @@session.engine_condition_pushdown = 1;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
SELECT @@global.engine_condition_pushdown AS res_is_0;
|
|
|
|
|
res_is_0
|
|
|
|
|
0
|
|
|
|
|
SET @@global.engine_condition_pushdown = 0;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
SELECT @@session.engine_condition_pushdown AS res_is_1;
|
|
|
|
|
res_is_1
|
|
|
|
|
1
|
|
|
|
|
'#----------------------FN_DYNVARS_028_06------------------------#'
|
|
|
|
|
SELECT IF(@@global.engine_condition_pushdown, "ON", "OFF") = VARIABLE_VALUE
|
|
|
|
|
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
|
|
|
|
|
WHERE VARIABLE_NAME='engine_condition_pushdown';
|
|
|
|
|
IF(@@global.engine_condition_pushdown, "ON", "OFF") = VARIABLE_VALUE
|
|
|
|
|
1
|
|
|
|
|
SELECT @@global.engine_condition_pushdown;
|
|
|
|
|
@@global.engine_condition_pushdown
|
|
|
|
|
0
|
|
|
|
|
SELECT VARIABLE_VALUE
|
|
|
|
|
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
|
|
|
|
|
WHERE VARIABLE_NAME='engine_condition_pushdown';
|
|
|
|
|
VARIABLE_VALUE
|
|
|
|
|
OFF
|
|
|
|
|
'#----------------------FN_DYNVARS_028_07------------------------#'
|
|
|
|
|
SELECT IF(@@session.engine_condition_pushdown, "ON", "OFF") = VARIABLE_VALUE
|
|
|
|
|
FROM INFORMATION_SCHEMA.SESSION_VARIABLES
|
|
|
|
|
WHERE VARIABLE_NAME='engine_condition_pushdown';
|
|
|
|
|
IF(@@session.engine_condition_pushdown, "ON", "OFF") = VARIABLE_VALUE
|
|
|
|
|
1
|
|
|
|
|
SELECT @@session.engine_condition_pushdown;
|
|
|
|
|
@@session.engine_condition_pushdown
|
|
|
|
|
1
|
|
|
|
|
SELECT VARIABLE_VALUE
|
|
|
|
|
FROM INFORMATION_SCHEMA.SESSION_VARIABLES
|
|
|
|
|
WHERE VARIABLE_NAME='engine_condition_pushdown';
|
|
|
|
|
VARIABLE_VALUE
|
|
|
|
|
ON
|
|
|
|
|
'#---------------------FN_DYNVARS_028_08-------------------------#'
|
|
|
|
|
SET @@session.engine_condition_pushdown = OFF;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
SELECT @@session.engine_condition_pushdown;
|
|
|
|
|
@@session.engine_condition_pushdown
|
|
|
|
|
0
|
|
|
|
|
SET @@session.engine_condition_pushdown = ON;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
SELECT @@session.engine_condition_pushdown;
|
|
|
|
|
@@session.engine_condition_pushdown
|
|
|
|
|
1
|
|
|
|
|
SET @@global.engine_condition_pushdown = OFF;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
SELECT @@global.engine_condition_pushdown;
|
|
|
|
|
@@global.engine_condition_pushdown
|
|
|
|
|
0
|
|
|
|
|
SET @@global.engine_condition_pushdown = ON;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
SELECT @@global.engine_condition_pushdown;
|
|
|
|
|
@@global.engine_condition_pushdown
|
|
|
|
|
1
|
|
|
|
|
'#---------------------FN_DYNVARS_028_09----------------------#'
|
|
|
|
|
SET @@session.engine_condition_pushdown = TRUE;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
SELECT @@session.engine_condition_pushdown;
|
|
|
|
|
@@session.engine_condition_pushdown
|
|
|
|
|
1
|
|
|
|
|
SET @@session.engine_condition_pushdown = FALSE;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
SELECT @@session.engine_condition_pushdown;
|
|
|
|
|
@@session.engine_condition_pushdown
|
|
|
|
|
0
|
|
|
|
|
SET @@global.engine_condition_pushdown = TRUE;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
SELECT @@global.engine_condition_pushdown;
|
|
|
|
|
@@global.engine_condition_pushdown
|
|
|
|
|
1
|
|
|
|
|
SET @@global.engine_condition_pushdown = FALSE;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
SELECT @@global.engine_condition_pushdown;
|
|
|
|
|
@@global.engine_condition_pushdown
|
|
|
|
|
0
|
|
|
|
|
Check that @@engine_condition_pushdown influences
|
|
|
|
|
@@optimizer_switch and vice-versa
|
|
|
|
|
select @@session.engine_condition_pushdown,
|
|
|
|
|
@@global.engine_condition_pushdown,
|
|
|
|
|
@@session.optimizer_switch, @@global.optimizer_switch;
|
|
|
|
|
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
|
|
|
|
|
0 0 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=off,table_elimination=on,extended_keys=on,exists_to_in=off 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=off,table_elimination=on,extended_keys=on,exists_to_in=off
|
|
|
|
|
set @@session.engine_condition_pushdown = TRUE;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
select @@session.engine_condition_pushdown,
|
|
|
|
|
@@global.engine_condition_pushdown,
|
|
|
|
|
@@session.optimizer_switch, @@global.optimizer_switch;
|
|
|
|
|
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
|
|
|
|
|
1 0 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=on,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=off,table_elimination=on,extended_keys=on,exists_to_in=off 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=off,table_elimination=on,extended_keys=on,exists_to_in=off
|
|
|
|
|
set @@session.engine_condition_pushdown = FALSE;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
select @@session.engine_condition_pushdown,
|
|
|
|
|
@@global.engine_condition_pushdown,
|
|
|
|
|
@@session.optimizer_switch, @@global.optimizer_switch;
|
|
|
|
|
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
|
|
|
|
|
0 0 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=off,table_elimination=on,extended_keys=on,exists_to_in=off 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=off,table_elimination=on,extended_keys=on,exists_to_in=off
|
|
|
|
|
set @@global.engine_condition_pushdown = TRUE;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
select @@session.engine_condition_pushdown,
|
|
|
|
|
@@global.engine_condition_pushdown,
|
|
|
|
|
@@session.optimizer_switch, @@global.optimizer_switch;
|
|
|
|
|
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
|
|
|
|
|
0 1 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=off,table_elimination=on,extended_keys=on,exists_to_in=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=on,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=off,table_elimination=on,extended_keys=on,exists_to_in=off
|
|
|
|
|
set @@global.engine_condition_pushdown = FALSE;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
select @@session.engine_condition_pushdown,
|
|
|
|
|
@@global.engine_condition_pushdown,
|
|
|
|
|
@@session.optimizer_switch, @@global.optimizer_switch;
|
|
|
|
|
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
|
|
|
|
|
0 0 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=off,table_elimination=on,extended_keys=on,exists_to_in=off 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=off,table_elimination=on,extended_keys=on,exists_to_in=off
|
|
|
|
|
set @@session.optimizer_switch = "engine_condition_pushdown=on";
|
|
|
|
|
select @@session.engine_condition_pushdown,
|
|
|
|
|
@@global.engine_condition_pushdown,
|
|
|
|
|
@@session.optimizer_switch, @@global.optimizer_switch;
|
|
|
|
|
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
|
|
|
|
|
1 0 index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=on,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=off,table_elimination=on,extended_keys=on,exists_to_in=off 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=off,table_elimination=on,extended_keys=on,exists_to_in=off
|
|
|
|
|
set @@session.optimizer_switch = "engine_condition_pushdown=off";
|
|
|
|
|
select @@session.engine_condition_pushdown,
|
|
|
|
|
@@global.engine_condition_pushdown,
|
|
|
|
|
@@session.optimizer_switch, @@global.optimizer_switch;
|
|
|
|
|
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
|
|
|
|
|
0 0 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=off,table_elimination=on,extended_keys=on,exists_to_in=off 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=off,table_elimination=on,extended_keys=on,exists_to_in=off
|
|
|
|
|
set @@global.optimizer_switch = "engine_condition_pushdown=on";
|
|
|
|
|
select @@session.engine_condition_pushdown,
|
|
|
|
|
@@global.engine_condition_pushdown,
|
|
|
|
|
@@session.optimizer_switch, @@global.optimizer_switch;
|
|
|
|
|
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
|
|
|
|
|
0 1 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=off,table_elimination=on,extended_keys=on,exists_to_in=off index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=on,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=off,table_elimination=on,extended_keys=on,exists_to_in=off
|
|
|
|
|
set @@global.optimizer_switch = "engine_condition_pushdown=off";
|
|
|
|
|
select @@session.engine_condition_pushdown,
|
|
|
|
|
@@global.engine_condition_pushdown,
|
|
|
|
|
@@session.optimizer_switch, @@global.optimizer_switch;
|
|
|
|
|
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
|
|
|
|
|
0 0 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=off,table_elimination=on,extended_keys=on,exists_to_in=off 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=off,table_elimination=on,extended_keys=on,exists_to_in=off
|
|
|
|
|
SET @@session.engine_condition_pushdown = @session_start_value;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
SELECT @@session.engine_condition_pushdown;
|
|
|
|
|
@@session.engine_condition_pushdown
|
|
|
|
|
0
|
|
|
|
|
SET @@global.engine_condition_pushdown = @global_start_value;
|
|
|
|
|
Warnings:
|
|
|
|
|
Warning 1287 '@@engine_condition_pushdown' is deprecated and will be removed in a future release. Please use '@@optimizer_switch' instead
|
|
|
|
|
SELECT @@global.engine_condition_pushdown;
|
|
|
|
|
@@global.engine_condition_pushdown
|
|
|
|
|
0
|
|
|
|
|
set @session.optimizer_switch=@old_session_opt_switch,
|
|
|
|
|
@@global.optimizer_switch=@old_global_opt_switch;
|
|
|
|
|
select @@session.engine_condition_pushdown,
|
|
|
|
|
@@global.engine_condition_pushdown,
|
|
|
|
|
@@session.optimizer_switch, @@global.optimizer_switch;
|
|
|
|
|
@@session.engine_condition_pushdown @@global.engine_condition_pushdown @@session.optimizer_switch @@global.optimizer_switch
|
|
|
|
|
0 0 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=off,table_elimination=on,extended_keys=on,exists_to_in=off 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=off,table_elimination=on,extended_keys=on,exists_to_in=off
|