Author: Rohit Umarjikar
Posted: Wed Apr 12, 2017 9:57 pm (GMT 5.5)
![icon_biggrin.gif]()
TS/OP is certainly overlooking earlier suggestions made. So no point wasting time here and adding more inputs.
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]()
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 ? |

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. |
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 |
_________________
Regards,
Rohit Umarjikar
"Knowledge is knowing that a tomato is a fruit, but Wisdom is knowing not to put it in a fruit salad."
