Skip to content
/ server Public

MDEV-38072 Optimizer choosing the wrong plan#4758

Open
mariadb-RexJohnston wants to merge 1 commit into10.11from
10.11-MDEV-38072
Open

MDEV-38072 Optimizer choosing the wrong plan#4758
mariadb-RexJohnston wants to merge 1 commit into10.11from
10.11-MDEV-38072

Conversation

@mariadb-RexJohnston
Copy link
Member

Under instances where an multiple indexes might be chosen to satify an order by clause with a small limit, the optimizer will choose the shorter index, ignoring the fact that neither the best so far, nor the currently evaluated index are covering. If no index is yet covering, we need to continue to choose the index yeilding the smallest estimated #records for this partial join.

Under instances where an multiple indexes might be chosen
to satify an order by clause with a small limit, the optimizer
will choose the shorter index, ignoring the fact that neither
the best so far, nor the currently evaluated index are covering.
If no index is yet covering, we need to continue to choose the
index yeilding the smallest estimated #records for this partial
join.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants