[MDEV-19155] Execution plan for star join Created: 2019-04-03 Updated: 2019-11-28 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Igor Babaev | Assignee: | Igor Babaev |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The execution plan for start join first must access the fact table. However before accessing this table a set of access primary keys must found as intersection pk-filters for conditions
Consider the query
Using the index d1_c pk-filter for the condition D1.c in (C1,C2) is built D1_F. Then using the index f_a pk-filter D1_F for the table F is built from D1_F. |