Bug #4460 | Query having subqueries (having group by clause) take too much of time | ||
---|---|---|---|
Submitted: | 8 Jul 2004 13:41 | Modified: | 14 Jan 2020 20:31 |
Reporter: | NOT_FOUND NOT_FOUND | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S4 (Feature request) |
Version: | 4.1.3 Beta | OS: | Windows (Win2k/linux/AIX) |
Assigned to: | CPU Architecture: | Any | |
Tags: | performance, subquery |
[8 Jul 2004 13:41]
NOT_FOUND NOT_FOUND
[8 Jul 2004 13:42]
NOT_FOUND NOT_FOUND
Please read the main comment.
[14 Jul 2004 4:28]
MySQL Verification Team
Could you please provide a test case. The zip file you can upload at: ftp://support.mysql.com:/pub/mysql/upload making reference to this bug report. Thanks
[14 Jul 2004 11:20]
NOT_FOUND NOT_FOUND
I have copied the required information at ftp://support.mysql.com/pub/mysql/upload/. Also copied is the text document which will provide information about the test-system.
[14 Jul 2004 16:51]
MySQL Verification Team
Thank you for the test case.
[3 Aug 2004 5:28]
NOT_FOUND NOT_FOUND
Any update on this....?
[3 Aug 2004 5:53]
MySQL Verification Team
Yes, sorry I was on vacation last week and after the preliminar test I will ask for my colleagues help regarding the analyze of your query. Sorry for the inconvenience.
[20 Aug 2004 17:42]
Oleksandr Byelkin
Thank you for bugreport! We plan to make optimisation for such queries (value IN (<non-correlated select which return small amount of rows)).
[31 Aug 2004 13:33]
NOT_FOUND NOT_FOUND
What is the timeline to fix this?
[1 Dec 2004 11:51]
NOT_FOUND NOT_FOUND
Any update on this?
[3 Dec 2004 16:55]
Sergei Golubchik
no. we have not implemented a special optimizations for these subqueries yet.
[14 Jan 2020 20:31]
Roy Lyseng
Posted by developer: This feature was implemented in 5.6 with subquery materialization.