Partitioning on DateTime column
Hi,
I have a table containing column X of type DATETIME and I intend to partition this data in order to benefit from partitioning pruning to increase performance.
My queries will be of this nature.
select * from table where X<now() order by X limit 0,20
select * from table where X<now() order by X limit 21,40
select * from table where X<now() order by X limit 41,60
and so on
I would like to retain a minimum of 6 months data in my table and don't want addition of newer partitions to be cumbersome and deletion of old data should be very easy.
This table will have millions of record.
Waiting for help.
Edited 1 time(s). Last edit at 04/30/2013 09:53PM by Sumit Chadha.
Subject
Written By
Posted
Partitioning on DateTime column
April 30, 2013 02:45PM
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.