Re: Add new partition for Range by date
Posted by:
Aftab Khan
Date: August 12, 2012 01:06AM
to_days() returns NULL for non-valid dates (like 2011-04-31). (See bug#49754).
I suggest you to try 'PARTITION BY RANGE COLUMNS (date)' (in MySQL 5.5) instead.
OR add extra partition to it:
ALTER TABLE idea_partition
reorganize partition rx201201 INTO (
partition invalid_dates values less than (0),
partition rx201201 VALUES LESS THAN( TO_DAYS('2012-01-01 00:00:00'))
);
Subject
Views
Written By
Posted
5717
August 09, 2012 04:05AM
2487
August 10, 2012 01:05AM
1921
August 10, 2012 03:17AM
Re: Add new partition for Range by date
2148
August 12, 2012 01:06AM
1813
August 12, 2012 01:20AM
2340
August 18, 2012 07:53PM
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.