[MDEV-610] LP:898747 - Join optimizer pruning seems to work poorly for semi-joins Created: 2011-12-01 Updated: 2014-03-26 Resolved: 2014-03-26 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Sergei Petrunia | Assignee: | Sergei Petrunia |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
Join optimizer pruning seems to be too aggressive in pruning query plans with semi-joins. Quick investigation in debugger hints at that it is not comparing apples-to-apples when comparing record counts. As a result, one can observe effects like this:
|
| Comments |
| Comment by Sergei Petrunia [ 2011-12-01 ] | ||||||||||||||
|
Re: Join optimizer pruning seems to work poorly for semi-joins
| ||||||||||||||
| Comment by Rasmus Johansson (Inactive) [ 2011-12-01 ] | ||||||||||||||
|
Launchpad bug id: 898747 | ||||||||||||||
| Comment by Elena Stepanova [ 2014-03-18 ] | ||||||||||||||
|
The problem revealed by this test case was gone between 5.3.5 and 5.3.6, particularly with the following revision:
If it's just a special case, then probably another example is needed. Otherwise, maybe the bug should be closed? | ||||||||||||||
| Comment by Elena Stepanova [ 2014-03-26 ] | ||||||||||||||
|
Closing for now on the reason given above, please re-open if needed. |