Bug #33257 | range access on partitioned falcon table actually scans entire indexes | ||
---|---|---|---|
Submitted: | 15 Dec 2007 7:38 | Modified: | 14 Mar 2008 9:43 |
Reporter: | Sergey Petrunya | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Partitions | Severity: | S3 (Non-critical) |
Version: | OS: | Any | |
Assigned to: | Sergey Petrunya | CPU Architecture: | Any |
[15 Dec 2007 7:38]
Sergey Petrunya
[22 Dec 2007 8: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/40373 ChangeSet@1.2766, 2007-12-22 10:59:24+03:00, sergefp@mysql.com +4 -0 BUG#33257 "range access on partitioned falcon table actually scans entire indexes" - Make ha_partition to pass read_range_XXX() calls to partition handlers, without converting them to index_read/index_next-family calls. This is needed for Falcon (which is terribly inefficient when it doesn't get the other endpoint) and possibly other storage engines with similar characteristics.
[11 Jan 2008 23:05]
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/40948 ChangeSet@1.2766, 2008-01-12 02:03:55+03:00, sergefp@mysql.com +4 -0 BUG#33257 "range access on partitioned falcon table actually scans entire indexes" - Make ha_partition to pass read_range_XXX() calls to partition handlers, without converting them to index_read/index_next-family calls. This is needed for Falcon (which is terribly inefficient when it doesn't get the other endpoint) and possibly other storage engines with similar characteristics. This patch also fixes BUG#30573 (bk trigger: mark as fix for BUG#33257)
[23 Jan 2008 23:08]
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/41180 ChangeSet@1.2790, 2008-01-24 02:08:03+03:00, sergefp@mysql.com +1 -0 BUG#33257 "range access on partitioned falcon table actually scans entire indexes" - pushbuild fix: when calling $partition_handler->read_range_first() don't pass the start key if we really didn't have it, pass NULL, as goes per call convention.
[13 Mar 2008 19:29]
Bugs System
Pushed into 6.0.5-alpha
[14 Mar 2008 9:43]
Jon Stephens
Documented in the 6.0.5 changelog as follows: When the range access method was used on a partitioned Falcon table, the entire index was scanned. For partitioned tables using other storage engines, a related issue caused an ordered range scan to return some rows twice.
[18 Sep 2008 15:06]
Mattias Jonsson
Bug#33555 and Bug#30573 are duplicates of this, resulting in this patch will be backported to 5.1 (handled in bug#33555)
[18 Sep 2008 15:30]
Sergey Petrunya
Mattias, this bug and its fix are about Falcon tables. Falcon is not present in 5.1. What exactly are you going to backport?