Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Using truncate partition on running table!!
Hi All,
I am having a problem which requires me to manage a table, which is
handling 500 entries/sec.Once 24 hours are passed,I am required to take
the backup of oldest 1 hour and clean that data also.From now on,every
1 hour I am required to take backup of the oldest 1 hour and so
forth.So that at any point of time, I have the latest 24 hours of data.
I tried to handle the above situation by making 24 range partitions
based on "hour of day".A cronjob is run which after 24 hours "truncates
the partition" containing the oldest 1 hour data.
Also, data insertions are also continuing at 500 entries/sec.
I get the following exception while inserting data,
The cronjob basically does the following,
Can you please help me out on this problem?
Any help would be greatly appreciated!!
Thanks in advance,
Nish.
Received on Tue Mar 08 2005 - 05:52:37 CST