| Bug #32665 | Query with dependent subquery is too slow | ||
|---|---|---|---|
| Submitted: | 23 Nov 2007 17:26 | Modified: | 13 Jan 2:51 |
| Reporter: | adrian drumea | ||
| Status: | Closed | ||
| Category: | Server: Optimizer | Severity: | S3 (Non-critical) |
| Version: | 5.1.22-rc-Debian_1-log | OS: | Any |
| Assigned to: | Bugs System | Target Version: | 6.0-beta |
| Tags: | subquery benchmark, slow, dependent subquery, IN | ||
| Triage: | Triaged: D3 (Medium) | ||
[23 Nov 2007 17:26]
adrian drumea
[23 Nov 2007 17:47]
Valeriy Kravchuk
Thank you for a problem report. This is a known optimizer's deficiency that will be fixed in MySQL 6.0.x.
[28 Dec 2008 1:05]
Sergey Petrunya
Confirm, should be handled by new subquery optimizations in MySQL 6.0. The query is uncorrelated, so WL#3985 code may bring extra benefits.
[28 Dec 2008 16:00]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/62387 2758 Sergey Petrunia 2008-12-28 BUG#32665: Query with dependent subquery is too slow - Testcase (the code is subquery optimization WLs)
[11 Jan 15:51]
Bugs System
Pushed into 6.0.10-alpha (revid:sergefp@mysql.com-20090110105650-he9xy4221tbn5y70) (version source revid:sergefp@mysql.com-20090110105650-he9xy4221tbn5y70) (merge vers: 6.0.10-alpha) (pib:6)
[13 Jan 2:51]
Paul DuBois
Noted in 6.0.10 changelog. Queries with dependent subqueries were slow.
