Hi, Guys,
I am now thinking about "application layer data replication" algorithm.
I want to send all the update in MDM to another system.
1 of the ideas is to use H_CONTACT table as data update journal.
PLAN:
1)After successfully send the update for another system, I will
update ENTITY_STATUS_TP_CD of H_CONTACT as below.
update H_CONTACT SET ENTITY_STATUS_TP_CD=1 where H_CONT_ID='xxxxx' and H_CREATE_DT=xxxx
2)And then, next time, I can select new update as below.
select * from H_CONTACT where ENTITY_STATUS_TP_CD<>'1' or ENTITY_STATUS_TP_CD is null order by H_CREATE_DT asc fetch first 10 rows only
Do you think this is a good plan?
Conditions:
- We do not use ENTITY_STATUS_TP_CD of CONTACT.
- We think notification framework is not much this requirement as the framework is just for temporary notice. And it is difficult to re-send or roll back to the requirement of strict data replication.
------------------------------
Masa yum
------------------------------
#MasterDataManagement