How to archive a partition (11.2.0.3)
Hello
I am trying to implement an archivng process for some of my tables. I have a TABLEA which is interval partitioned by day and I have a TABLEA_ARCH which is also interval partitioned by day. What I want to do is to move a partition from TABLEA to TABLEA_ARCH after, say 60 days. My plan was to create a nonpartitioned table XCHG_TABLEA and then do
truncate XCHG_TABLEA
alter table TABLEA exchange partition (for to_date('2014-02-09',yyyy-mm-dd')) with table XHCGTABLEA
at this point the partition in TABLEA is empty and XCHG_TABLEA stores all the data from that partition