Bug #46158 | Make partition maintenance commands more efficient | ||
---|---|---|---|
Submitted: | 13 Jul 2009 23:53 | Modified: | 26 Jan 2011 22:33 |
Reporter: | Lachlan Mulcahy | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S4 (Feature request) |
Version: | 5.1 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | partitioning |
[13 Jul 2009 23:53]
Lachlan Mulcahy
[14 Jul 2009 7:06]
Valeriy Kravchuk
Thank you for the feature request.
[15 Jul 2009 2:19]
Lachlan Mulcahy
My interpretation of the behaviour was incorrect. After looking at the code, it seems only OPTIMIZE PARTITION on InnoDB tables causes a complete copy of the table to be made. This is likely due to the way the InnoDB storage engine handles the partition optimize call and not a fault of ALTER TABLE functionality itself. Closing this for now and will reopen a new feature request on InnoDB if necessary.
[23 Jul 2009 22:41]
Lachlan Mulcahy
Bug http://bugs.mysql.com/bug.php?id=42822 basically covers this already. Please consider closing this/merging?
[26 Jan 2011 22:33]
Mattias Jonsson
closing as duplicate of bug#42822.