Re: How to make a backup from a partition
BACKUP:
create a backup with mysqldump with --tables and --where="partition key=x" for Partition p2
RESTORE:
LOCK TABLES tr WRITE;
ALTER TABLE tr DROP PARTITION p2;
ALTER TABLE tr REORGANIZE PARTITION p1, p2 ....
//Insertstatements from mysqldump
INSERT ...
UNLOCK TABLES;
Any comments?
Subject
Views
Written By
Posted
4984
May 05, 2008 11:31AM
3313
May 05, 2008 11:55AM
2860
May 06, 2008 07:49AM
Re: How to make a backup from a partition
3155
May 06, 2008 08:06AM
2918
May 06, 2008 11:44AM
2770
May 07, 2008 06:54AM
3739
May 07, 2008 04:39PM
2724
May 08, 2008 03:26AM
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.