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 settingSupported in MariaDB sinceSupported in MySQL since
derived_merge=offMariaDB 5.3
derived_with_keys=offMariaDB 5.3
index_condition_pushdown=offMariaDB 5.3
index_merge=onMariaDB 5.1MySQL 5.1.x
index_merge_union=onMariaDB 5.1MySQL 5.1.x
index_merge_sort_union=onMariaDB 5.1MySQL 5.1.x
index_merge_intersection=onMariaDB 5.1MySQL 5.1.x
index_merge_sort_intersection=offMariaDB 5.3
mrr=offMariaDB 5.3
mrr_cost_based=offMariaDB 5.3
mrr_sort_keys=offMariaDB 5.3
materialization=offMariaDB 5.3
subquery_cache=offMariaDB 5.3Not supported
semijoin=offMariaDB 5.3
firstmatch=offMariaDB 5.3
loosescan=offMariaDB 5.3
in_to_exists=onMariaDB 5.3
partial_match_rowid_merge=onMariaDB 5.3
partial_match_table_scan=onMariaDB 5.3
join_cache_bka=onMariaDB 5.3
join_cache_hashed=onMariaDB 5.3
join_cache_incremental=onMariaDB 5.3
outer_join_with_cache=offMariaDB 5.3
semijoin_with_cache=offMariaDB 5.3
optimize_join_buffer_size=offMariaDB 5.3
table_elimination=onMariaDB 5.1Not supported

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.