Bug #66967 | Index is not used for MyISAM table with SELECT+GROUP BY | ||
---|---|---|---|
Submitted: | 26 Sep 2012 8:17 | Modified: | 27 Sep 2012 11:37 |
Reporter: | Nilnandan Joshi | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S2 (Serious) |
Version: | 5.5.27 | OS: | Linux |
Assigned to: | CPU Architecture: | Any | |
Tags: | MySQL 5.5.27 |
[26 Sep 2012 8:17]
Nilnandan Joshi
[26 Sep 2012 8:20]
Nilnandan Joshi
How to repeat
Attachment: test_case (application/octet-stream, text), 5.49 KiB.
[26 Sep 2012 8:21]
Nilnandan Joshi
mysqlslap output for timings of select query (with and without force index)
Attachment: mysqlslap_output (application/octet-stream, text), 1.22 KiB.
[26 Sep 2012 8:27]
Nilnandan Joshi
Seems issue related to optimizer
[26 Sep 2012 17:35]
MySQL Verification Team
Thank you for the bug report. Please check for duplicate with http://bugs.mysql.com/bug.php?id=35334 . Thanks.
[7 Oct 2012 11:02]
Rajesh Kota
After analysis, we found a work around for the above including the col16 is also as a part of multicolumn index solved the above problem.