semijoin_with_cache , outer_join_with_cache, mrr, mrr_sort_keys, mrr_cost_based are missing from some representations of optimizer_switch
Bug #891052 reported by
Philip Stoev
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| MariaDB |
Fix Released
|
Low
|
Igor Babaev | ||
Bug Description
The outer_join_
To repeat:
mysqld --verbose --help | grep optimizer_switch | grep join_with_cache
Maybe there are other such options. Ideally, there should be one unified list of allowable optimizer_switches.
| Changed in maria: | |
| milestone: | none → 5.5 |
| milestone: | 5.5 → 5.3 |
| assignee: | nobody → Igor Babaev (igorb-seattle) |
| Changed in maria: | |
| status: | Invalid → Confirmed |
| Changed in maria: | |
| importance: | Undecided → Low |
| status: | Confirmed → In Progress |
| Changed in maria: | |
| status: | In Progress → Fix Committed |
| Changed in maria: | |
| status: | Fix Committed → Fix Released |
To post a comment you must log in.

grepping for optimizer_switch and join_with_cache on the same line produces nothing, because the help text looks like this:
--optimizer_ switch= name
optimizer_ switch= option= val[,option= val...] , where
option= {index_ merge, index_merge_union,
index_ merge_sort_ union, index_merge_ intersection,
index_ merge_sort_ intersection, index_condition _pushdown,
derived_ merge, derived_with_keys, firstmatch, loosescan,
materializatio n, in_to_exists, semijoin,
partial_ match_rowid_ merge, partial_ match_table_ scan,
subquery_ cache, outer_join_ with_cache,
semijoin_ with_cache, join_cache_ incremental,
join_cache_ hashed, join_cache_bka,
optimize_ join_buffer_ size, table_elimination} and
val={on, off, default}.
one can see that semijoin_with_cache and outerjoin_ with_cache are present there.
Everything seems to work as it should.