Re: range columns including datetime column
I have tested your table and finds no problem.
My guess is that you use period = 4 or period = 5 and expect it to be inserted in p45_1206 or higher.
The partitioning scheme you have will only have period = 6 and START between '2012-06-01 00:00:00' and '2012-06-31 23:59:59' in p45_1206.
There are further examples and explanations here:
http://dev.mysql.com/doc/refman/5.5/en/partitioning-columns-range.html
If you switch the order of period and START, you will first order by date and then by period.
Regards
Mattias Jonsson, MySQL Partitioning developer
Subject
Views
Written By
Posted
2877
August 15, 2012 10:01PM
Re: range columns including datetime column
1581
August 16, 2012 02:42AM
1519
August 16, 2012 07:15AM
1512
August 16, 2012 09:35AM
1455
August 16, 2012 09:54AM
1553
August 19, 2012 10:55PM
1418
August 20, 2012 03:21AM
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.