Bug #21727 | sort_buffer_size has an extremely negative impact on a query as it increases | ||
---|---|---|---|
Submitted: | 18 Aug 2006 20:53 | Modified: | 28 Nov 2006 20:28 |
Reporter: | Harrison Fisk | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S5 (Performance) |
Version: | 5.0.24 | OS: | Linux (Ubuntu 6.06) |
Assigned to: | Igor Babaev | CPU Architecture: | Any |
Tags: | backport_050030SP1 performance |
[18 Aug 2006 20:53]
Harrison Fisk
[31 Oct 2006 4:15]
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/14588 ChangeSet@1.2307, 2006-10-30 20:14:43-08:00, igor@rurik.mysql.com +10 -0 Fixed bug #21727. This is a performance issue for queries with subqueries evaluation of which requires filesort. Allocation of memory for the sort buffer at each evaluation of a subquery may take a significant amount of time if the buffer is rather big. With the fix we allocate the buffer at the first evaluation of the subquery and reuse it at each subsequent evaluation.
[1 Nov 2006 1:32]
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/14644 ChangeSet@1.2307, 2006-10-31 17:31:56-08:00, igor@rurik.mysql.com +12 -0 Fixed bug #21727. This is a performance issue for queries with subqueries evaluation of which requires filesort. Allocation of memory for the sort buffer at each evaluation of a subquery may take a significant amount of time if the buffer is rather big. With the fix we allocate the buffer at the first evaluation of the subquery and reuse it at each subsequent evaluation.
[27 Nov 2006 17:14]
Georgi Kodinov
Pushed in 5.0.32/5.1.14-beta
[28 Nov 2006 20:28]
Paul DuBois
Noted in 5.0.32, 5.1.14 changelogs.
[22 Dec 2006 11:52]
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/17323 ChangeSet@1.2312, 2006-12-22 14:52:20+03:00, igor@mysql.com +12 -0 [PATCH] bk commit - 5.0 tree (igor:1.2307) BUG#21727
[22 Dec 2006 13:14]
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/17329 ChangeSet@1.2312, 2006-12-22 16:13:39+03:00, igor@mysql.com +12 -0 [PATCH] bk commit - 5.0 tree (igor:1.2307) BUG#21727