Bug #78192 | InnoDB estimation is way too wrong for column with mostly the same values | ||
---|---|---|---|
Submitted: | 24 Aug 2015 13:55 | Modified: | 27 Aug 2015 8:48 |
Reporter: | Andrii Nikitin | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | 5.5.25 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[24 Aug 2015 13:55]
Andrii Nikitin
[24 Aug 2015 13:57]
Andrii Nikitin
This most probably is duplicate of bug #73386 with the only difference that this bug was not repeated on 5.1 so far, while 73386 was.
[27 Aug 2015 8:38]
Olav Sandstå
As suggested by Andrii, this is a duplicte of Bug#73386. For range estimates, InnoDB never returns an estimate that is more than half of the number of records in the table.