Bug #41994 Optimizer do full table scan when use distinct with group by in subquery
Submitted: 9 Jan 2009 11:15 Modified: 9 Mar 2015 18:58
Reporter: Ben Li Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Optimizer Severity:S2 (Serious)
Version:5.1.30, 5.1.31, 6.0.8 OS:Any (test on linux/windows)
Assigned to: Evgeny Potemkin CPU Architecture:Any
Tags: distinct subquery groupby

File: Maximum allowed size is 50MB.
Description:
Privacy:

If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.

To split a large file:

[9 Jan 2009 11:16] Ben Li
mysqldump file

Attachment: distinct_bug.sql (text/plain), 326.06 KiB.