[MDEV-27380] After minor upgrade to 10.5.13 queries with large IN clauses have performance issues Created: 2021-12-29 Updated: 2023-01-16 Resolved: 2022-08-15 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 10.5.9, 10.5.13, 10.5, 10.6, 10.7 |
| Fix Version/s: | 10.5.17, 10.6.9, 10.7.5, 10.8.4 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Thilanka | Assignee: | Sergei Petrunia |
| Resolution: | Duplicate | Votes: | 1 |
| Labels: | None | ||
| Environment: |
RHEL 8 |
||
| Attachments: |
|
||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
Since upgrading from 10.2 to 10.5.13 queries using IN clauses with many values have performance issues. This is the same issue reported under |
| Comments |
| Comment by Alice Sherepa [ 2021-12-29 ] | ||||||||||||||||||
|
Thanks for the report! | ||||||||||||||||||
| Comment by Sergei Golubchik [ 2021-12-29 ] | ||||||||||||||||||
|
caused by
| ||||||||||||||||||
| Comment by Thilanka [ 2022-01-09 ] | ||||||||||||||||||
|
Can I get a rough idea, when will this get prioritized to fix? | ||||||||||||||||||
| Comment by Sergei Golubchik [ 2022-01-10 ] | ||||||||||||||||||
|
it's likely that it won't be fixed in 10.5.14, unfortunately | ||||||||||||||||||
| Comment by Thilanka [ 2022-01-10 ] | ||||||||||||||||||
|
Thanks for the update. | ||||||||||||||||||
| Comment by Sergei Petrunia [ 2022-08-15 ] | ||||||||||||||||||
|
Testcase:
There seem to be no multi-part SEL_ARG trees... | ||||||||||||||||||
| Comment by Sergei Petrunia [ 2022-08-15 ] | ||||||||||||||||||
|
Fixed by fix for | ||||||||||||||||||
| Comment by Mark Reibert [ 2023-01-16 ] | ||||||||||||||||||
|
Does this apply to, and was it fixed in, the 10.4 line? I ask because once upon a time I was running 10.4.14 and experienced OOM failures we traced to |