Details
-
Type:
Bug
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 10.0.12
-
Fix Version/s: 10.0
-
Component/s: None
-
Labels:None
-
Environment:ubuntu
Description
select count(*) on hash partitions does a sorted index scan. the sort is unnecessary since the count operator is commutative. this problem also exists in MySQL 5.5 but is fixed in MySQL 5.6.19.
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Hi Rich,
Could you please provide an example – CREATE TABLE and the plan that you see (or any other indications that you use to detect the sorted index scan)?