MySQL Forums
Forum List  »  Partitioning

Re: Partition by Date Column
Posted by: Jonathan Stephens
Date: September 05, 2006 05:07PM

You can use any function or expression that returns an integer type. Currently, however, optimisation is limited to TO_DAYS() and YEAR().

For partitioning by KEY(), you can use DATE/TIME/DATETIME columns directly and the performance should be about the same as with any other column type.

Jon Stephens
MySQL Documentation Team @ Oracle

MySQL Dev Zone
MySQL Server Documentation
Oracle

Options: Reply• Quote


Subject
Views
Written By
Posted
18255
July 05, 2006 10:23AM
6017
July 24, 2006 09:01AM
5494
September 04, 2006 09:56PM
Re: Partition by Date Column
4794
September 05, 2006 05:07PM
6398
September 06, 2006 01:34AM
4340
October 03, 2006 12:06PM
5443
October 03, 2006 09:04PM
4269
October 25, 2006 08:45AM
4169
October 26, 2006 11:24PM
4000
January 28, 2009 02:08AM
4064
March 19, 2009 01:35AM
3797
April 06, 2009 08:15AM


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.