Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

DB2 :: RE: Data replication from multiple Db2 tables in single table

$
0
0
Author: Rohit Umarjikar
Posted: Wed Apr 12, 2017 9:57 pm (GMT 5.5)

Quote:
After so many days of the initial post, you could not even decide whether there are 3 tables or 4 ?
icon_biggrin.gif
Quote:
The usual practice in DB2 is to have a created timestamp in each table. Based on that you could also run a batch job to extract data inserted in last 2 minutes.
TS/OP is certainly overlooking earlier suggestions made. So no point wasting time here and adding more inputs.
Quote:
The data in the 3 to 4 DB2 tables gets inserted by stored procedure and Java layer directly. I need a delta (only recent changes) every 2 mins or so to be reflected in the single DB2 table which has columns from the other DB2 tables
Why don't you insert it at the same time to this 5th table when you have all the information in hand and why to wait for 2 minutes, anything special going on in those 2 minutes?
_________________
Regards,
Rohit Umarjikar
"Knowledge is knowing that a tomato is a fruit, but Wisdom is knowing not to put it in a fruit salad."icon_razz.gif


Viewing all articles
Browse latest Browse all 8500

Trending Articles