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
4763
June 08, 2007 04:14PM
Re: Proactive partitioning by Week
2849
June 13, 2007 11:14AM
3020
July 02, 2007 01:46PM
2919
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.