[MDEV-3285] LP:891052 - semijoin_with_cache , outer_join_with_cache, mrr, mrr_sort_keys, mrr_cost_based are missing from some representations of optimizer_switch Created: 2011-11-16 Updated: 2015-02-02 Resolved: 2012-10-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Philip Stoev (Inactive) | Assignee: | Igor Babaev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
The outer_join_with_cache and semijoin_with_cache options are missing from @@optimizer_switch . I thought that this was because those options were deprecated and removed on purpose, but now I see that they are still valid if specified manually. 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. |
| Comments |
| Comment by Sergei Petrunia [ 2011-11-16 ] |
|
Re: semijoin_with_cache , outer_join_with_cache missing from optimizer_switch --optimizer_switch=name and . one can see that semijoin_with_cache and outerjoin_with_cache are present there. Everything seems to work as it should. |
| Comment by Philip Stoev (Inactive) [ 2011-11-17 ] |
|
Re: semijoin_with_cache , outer_join_with_cache missing from optimizer_switch index_merge=xx,index_merge_union=xx,index_merge_sort_union=xx,index_merge_intersection=xx,index_merge_sort_intersection=xxx,index_condition_pushdown=xxx,derived_merge=xxx,derived_with_keys=xxx,firstmatch=xx,loosescan=xx,materialization=xxx,in_to_exists=xx,semijoin=xx,partial_match_rowid_merge=xx,partial_match_table_scan=xx,subquery_cache=xx, outer_join_with_cache=xxx,semijoin_with_cache=xxx,join_cache_incremental=xx,join_cache_hashed=xx,join_cache_bka=xx,optimize_join_buffer_size=xxx,table_elimination=xx optimizer_switch index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,index_condition_pushdown=off,derived_merge=off,derived_with_keys=off,firstmatch=on,loosescan=on,materialization=off,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on and this is from SHOW VARIABLES on a running server: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,index_condition_pushdown=off,derived_merge=off,derived_with_keys=off,firstmatch=on,loosescan=on,materialization=off,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=off,semijoin_with_cache=off,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on Those three lists are different. The first list from mysqld --verbose --help is missing mrr,mrr_cost_based,mrr_sort keys. The second list is missing outer_join_with_cache, semijoin_with_cache. |
| Comment by Rasmus Johansson (Inactive) [ 2011-12-13 ] |
|
Launchpad bug id: 891052 |