Re: Partitioning tables
You can partition by RANGE (TO_DAYS(datetime_col)) for one datetime field in 5.1.
And in 5.5 you can also partition by several columns like:
RANGE COLUMNS (datetime_col1, datetime_col2...)
(PARTITION `p2010-01_2010-01...` VALUES LESS THAN ('2010-01-01', '2010-01-01'...)
PARTITION `p2010-01_2010-02...` VALUES LESS THAN ('2010-01-01', '2010-02-01'...)
...
PARTITION `p2010-02_2010-01...` VALUES LESS THAN ('2010-02-01', '2010-01-01'...)
PARTITION `p2010-02_2010-02...` VALUES LESS THAN ('2010-02-01', '2010-02-01'...)
Subject
Views
Written By
Posted
3252
March 21, 2011 12:02PM
Re: Partitioning tables
1329
March 21, 2011 04:12PM
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.