My application requires archiving database tables between sybase and db2 and vice versa and internally (from db2 to db2 and sybase to sybase) using java.
I am trying to understand the best strategies in terms of performance, implementation, ease of use and scalability.
Here is my current process -
- source and target tables with acceptable parameters (from java) are defined in xml. [the actual request is placed inside xml, because sometimes the parameters are accepted from java (for example, for the condition clause where))
- The application reads the source and target configurations and executes them sequentially.
- an assignment is sometimes optional when the source simply deletes data from a particular table or when the source simply calls a stored procedure.
- the data set between source and destination is extremely large (in millions)
At the top, it seems that I can determine the dependencies between several source and target combinations and execute them in parallel in several stages. But it will improve any performance (I hope so)
Are there any open source frameworks for archiving data using java? Any other thoughts on the tool side will be really helpful.
thanks
source share