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
Flag | Controlled feature | Introduced in |
---|---|---|
derived_merge=on/off | MariaDB 5.3 | |
derived_with_keys=on | MariaDB 5.3 | |
index_condition_pushdown=on | Index Condition Pushdown | MariaDB 5.3 |
index_merge=on/off | Index_merge optimization | MySQL 5.1.x |
index_merge_union=on/off | ||
index_merge_sort_union=on/off | MySQL 5.1.x | |
index_merge_intersection=on/off | ||
index_merge_sort_intersection=on/off | MariaDB 5.3 | |
mrr=on | ||
mrr_cost_based=off | ||
mrr_sort_keys=on | ||
materialization=on | ||
subquery_cache=on | ||
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.