MySQL Forums
Forum List  »  Partitioning

Re: Question about adding partitions to a table?
Posted by: Phil Hildebrand
Date: January 15, 2008 02:55PM

I would suggest using MAXVALUE (assuming you have 5.1) to use partition p3 VALUES LESS THAN MAXVALUE,
and then use REORGANIZE PARTITION when you need to add a new partition:

IE:

ALTER TABLE x REORGANIZE PARTITION p3 INTO
(
PARTITION p3 VALUES LESS THAN (256),
PARTITION p4 VALUES LESS THAN MAXVALUE
)

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Question about adding partitions to a table?
2694
January 15, 2008 02:55PM


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.