Archiving database
I have Oracle database that contain almost 300 tables with lots and lots of foreign keys. my cleint is requesting for a purge/archive procedure. for me the best way to do so is to partition the tables, export the partition containg data to be dropped import it on the archival database and drop the required partition
since a lot of foreign keys exists and there is no way to disable them so partitioning wont work.
i want to know is there any way to delete/ archive records on the whole database
i though of creating trigger on the tables to insert the records to be deleted in the archival database before deletion but this would have a very bad performance impact and is time consuming and complicated because i have to move all data from all dependency tables before being deleted