I am working on an application which is built on Struts as server side java technology and Sybase ASE 15 is used as database for storing the data for the application. Now the tables in Sybase have been filled with huge chunk of data, so higher management wants data older by few years (say 3 years) to be archived and deleted from database tables, but that archived data should be able to be restored whenever required.
We should also be able to identify the dependency between tables automatically and then decide the order of tables in which data has to be archived.
We also need to store the table format along with data, so data retrieval process is easy.
I am a JAVA guy and don't know anything about archiving data from database. Also I have worked mostly with Oracle and very new to Sybase.
Please advise me are there any tools/procedures available to archive data from Sybase database. Any help/guidance/pointers on this issue will be very helpful.
I read about achieving this through partitioning of data in database. The current database is already partitioned in round-robin partition method. Is it possible to achieve database partition based on timestamp on already partitioned database. Also all the tables does not contain timestamp columns.
I also read that if partitioning is not possible, data archival can also be achieved through creation of views. I wanted to know whether this option is possible and if yes, how can it be achieved?