We have an Oracle DB running for a production environment. To not effect online processes we keep the data limited in this. Like one year. There is a job running everyday to delete older entries.
We wish to store all data in a seperate server without deletion.
So in this long-term server we want to insert/update/delete rows except the deletion of older ones in short-term DB.
How can we manage that?
I have read something about Golden Gate of Oracle. However, I am not a DB expert and it is too compicated for me. I could not understand that this can be achieved with it.
Maybe it can be done with triggers. I tried to keep tracking of the tables by triggers and store primary keys of the row that has changed. I am not sure about the performance of this. And also what about the user update the primary key value?
What if there is some changes in a table? Like adding new columns or alter one of the columns.
I do not think there is an easy way to do this. What is my best option?