Bug #31585 ALTER TABLE ... DROP PARTITION loses data. No ability to archive data.
| Submitted: | 14 Oct 2007 4:54 | Modified: | 9 Aug 2010 10:47 |
|---|---|---|---|
| Reporter: | Kevin Burton | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Partitions | Severity: | S4 (Feature request) |
| Version: | OS: | Any | |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | partitioning | ||
[14 Oct 2007 4:54]
Kevin Burton
[15 Oct 2007 9:08]
Sveta Smirnova
Thank you for the reasonable feature request. Now you can use --where switch for mysqldump command to archive data from specified partition.
[22 Dec 2009 9:47]
Mattias Jonsson
I think this would be solved by implementing WL#4445, 'ALTER TABLE t1 EXCHANGE PARTITION p WITH TABLE t2'. That way one can exchange a partition with a table, drop the partition, and archive table t2.
[9 Aug 2010 10:47]
Mattias Jonsson
Closing the bug since WL#4444 has been pushed to mysql-trunk. I.e. adding support for archiving data by 'ALTER TABLE tp EXCHANGE PARTITION p WITH TABLE t'.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.041 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.