[MDEV-6921] poorly optimized UPDATE/DELETE ()=() with primary key Created: 2014-10-24 Updated: 2016-04-19 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | roberto spadim | Assignee: | Oleksandr Byelkin |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Description |
|
hi guys, a poorly optimized UPDATE/DELETE (with select it's ok ) explain
the not optimized part is the update where (the last where)
with DELETE i have: |
| Comments |
| Comment by Elena Stepanova [ 2014-10-24 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Assigned to sanja to check whether there is a problem in there, or is it something that's not expected to happen. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by roberto spadim [ 2014-11-04 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
i'm testing another query now with aria engine + partition:
without using the partition field query:
explain:
query:
explain:
this query expend 1minute
maybe this could help? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Oleksandr Byelkin [ 2016-04-19 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
In any case it can't be considered as a bug, but feature request for 10.3 or upper (IMHO) |