MySQL Forums
Forum List  »  Partitioning

Re: Proactive partitioning by Week
Posted by: Ben Vaughn
Date: June 13, 2007 11:14AM

Thanks Jon and Mikael for your awesome responses. I will use TO_DAYS as you recommend for my partition.

PARTITION BY RANGE(TO_DAYS(m_date)) (
...
)

When I move to 5.1 (at release), I am going to create a mirror of the old table with the new partitioning (and precreated partitions for the past six months), and then SELECT .. INTO the new, partitioned table.

The only thing that I am having a concern with is Jon's reference to the key constraints. Would my current table structure not conform? I have a key on m_date...

Options: ReplyQuote


Subject
Views
Written By
Posted
5097
June 08, 2007 04:14PM
Re: Proactive partitioning by Week
3049
June 13, 2007 11:14AM
3199
July 02, 2007 01:46PM
3098
July 03, 2007 08:43AM


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.