Bug #118481 | MySQL 8.4.5 chooses suboptimal index for UPDATE query, leading to deadlocks and performance degradation | ||
---|---|---|---|
Submitted: | 18 Jun 20:04 | Modified: | 3 Aug 18:30 |
Reporter: | Rajshree Nema | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S3 (Non-critical) |
Version: | Mysql 8.4.5 | OS: | Linux (Amazon Linux (AWS RDS managed)) |
Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
Tags: | Optimizer bug |
[18 Jun 20:04]
Rajshree Nema
[3 Jul 18:30]
MySQL Verification Team
Hi, Optimizer is always considering it. It can just decide not to use it always. I can't reproduce the problem using my generated data. Can you provide data (like for Bug #108127) that makes this reproducible? Thanks
[4 Aug 1:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[4 Aug 6:05]
MySQL Verification Team
could also be useful to see outputs of : select count(*), count(distinct ApplicantId), sum(ApplicantId = 22262106), count(distinct FormId), sum(FormId = 23), count(distinct MemberId), sum(MemberId = 187), count(distinct InvitationId), sum(InvitationId = 240020), sum(ApplicantId = 22262106 AND FormId = 23 AND MemberId = 187 AND InvitationId = 240020), sum(ApplicantId = 22262106 AND FormId = 23), sum(ApplicantId = 22262106 AND MemberId = 187), sum(ApplicantId = 22262106 AND InvitationId = 240020), sum(FormId = 23 AND MemberId = 187), sum(FormId = 23 AND MemberId = 187 AND InvitationId = 240020), sum(FormId = 23 AND InvitationId = 240020), sum(MemberId = 187 AND InvitationId = 240020), sum(ApplicantId = 22262106 AND MemberId = 187 AND InvitationId = 240020) from RecForm \G show indexes from 'RecForm';