Re: Add new partition for Range by date
Posted by:
Rick James
Date: August 10, 2012 01:05AM
Approximately...
ALTER TABLE idea_partition
REORGANIZE PARTITION (rxMORES)
INTO
rx201210 VALUES LESS THAN( TO_DAYS('2012-10-01 00:00:00') ),
rxMORES VALUES LESS THAN (MAXVALUE) );
Suggest you think about ways to shrink the fields:
> `status` varchar(45) NOT NULL,
Is that a boolean value? Perhaps a 1-byte ENUM would work. It would be a lot smaller.
That would shrink the INDEX, too.
Subject
Views
Written By
Posted
5756
August 09, 2012 04:05AM
Re: Add new partition for Range by date
2503
August 10, 2012 01:05AM
1931
August 10, 2012 03:17AM
2166
August 12, 2012 01:06AM
1826
August 12, 2012 01:20AM
2354
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.