MariaDB 5.3 optimizer_switch

You are viewing an old version of this article. View the current version here.

@@optimizer_switch is a server variable that one can use to enable/disable specific optimizations. For generic syntax, see TODO.

Below is a list of all @@optimizer_switch flags available in MariaDB 5.3. Some of the flags were introduced in earlier versions

FlagControlled featureIntroduced in
derived_merge=on/offMariaDB 5.3
derived_with_keys=onMariaDB 5.3
index_condition_pushdown=onIndex Condition PushdownMariaDB 5.3
index_merge=on/offIndex_merge optimizationMySQL 5.1.x
index_merge_union=on/off
index_merge_sort_union=on/offMySQL 5.1.x
index_merge_intersection=on/off
index_merge_sort_intersection=on/offMariaDB 5.3
mrr=on
mrr_cost_based=off
mrr_sort_keys=on
materialization=on
subquery_cache=on/off
semijoin=on
firstmatch=off
loosescan=off
in_to_exists=on
partial_match_rowid_merge=on
partial_match_table_scan=on
join_cache_bka=on
join_cache_hashed=on
join_cache_incremental=on
outer_join_with_cache=off
semijoin_with_cache=off
optimize_join_buffer_size=on
table_elimination=on

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.