MySQL Forums
Forum List  »  Partitioning

Re: How to make a backup from a partition
Posted by: Phil Hildebrand
Date: May 06, 2008 11:44AM

Yea, that looks like the way to do it...

You might be able to avoid locking the table (and all partitions) by:

1. drop the partition p2
2. Insert the new data from mysqldump (will lock the partition p1 for some engines)
3. reorganizing the data into the partition p1,p2 (locking partition p1,p2 for some engines)

(this depends on how your app uses the partitioned table though...)

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: How to make a backup from a partition
2940
May 06, 2008 11:44AM


Sorry, you can't reply to this topic. It has been closed.

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.