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 Switchable Optimizations in MySQL Manual.

Below is a list of all @@optimizer_switch flags available in MariaDB 5.3:

Flag and default settingControlled featureIntroduced in
derived_merge=offMariaDB 5.3
derived_with_keys=offMariaDB 5.3
index_condition_pushdown=offIndex Condition PushdownMariaDB 5.3
index_merge=onAll index_merge optimizationsMySQL 5.1.x
index_merge_union=onindex_merge unionMySQL 5.1.x
index_merge_sort_union=onindex_merge sort-intersectionMySQL 5.1.x
index_merge_intersection=onindex_merge intersectionMySQL 5.1.x
index_merge_sort_intersection=offMariaDB 5.3
mrr=off
mrr_cost_based=off
mrr_sort_keys=off
materialization=off
subquery_cache=off
semijoin=off
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=off
table_elimination=on

See Also:

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.