MySQL Forums
Forum List  »  Partitioning

Auto Partitioning using unix time
Posted by: Jason Lewis
Date: January 17, 2006 03:14PM

I'd like to auto partition by hour and the field I'd like to use is an INT representing unix time.

I could hack this together in perl and create the partitions manually, but I am looking for a way to do it with SQL. Anyone have any pointers?

Is this too complicated? Should I use a mysql date time field instead?

Thanks

Options: ReplyQuote


Subject
Views
Written By
Posted
Auto Partitioning using unix time
7704
January 17, 2006 03:14PM
3563
January 30, 2006 07:09AM
3049
January 31, 2006 08:06AM
2773
February 10, 2006 11:22PM
2860
March 07, 2006 08:00AM


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.