MySQL Forums
Forum List  »  Partitioning

Re: Add new partition for Range by date
Posted by: Rick James
Date: August 18, 2012 07:53PM

ADD PARTITION does not (I think) do the right thing in certain edge cases.

The last RANGE partition is declared "LESS THAN MAXVALUE". If any rows have been inserted into that partition, they may need to be moved into the new partition. I suspect REORGANIZE PARTITION (not ADD PARTITION) is the only way to do that.

I bring this up because I use the 'last' partition to catch rows in case the maintenance script fails to run and the ADD/REORGANIZE is not created before rows are inserted.

Jon, what do you think?

Options: ReplyQuote


Subject
Views
Written By
Posted
5679
August 09, 2012 04:05AM
Re: Add new partition for Range by date
2334
August 18, 2012 07:53PM


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.