This topic shows how changes from a source table are applied to
a DB2® Everyplace® table
on the user's mobile device during synchronization.
The DB2 Everyplace Sync Server sends
to the user all relevant source data changes that have been made since the
user's last synchronization. The DB2 Everyplace Sync Server sends
only changed data that the user is subscribed to.
The numbers in the figure correspond to the explanations following it.
Figure 1. How changes from the source database are
applied to the mobile database
- The DB2 DataPropagator™ Capture
program, running continuously on the source system, captures changes to the
VNMEDICALRECORD source table from the DB2 log and writes them to the CD table.
- The DB2 DataPropagator Apply
program applies changes from the CD table to the mirror table, VNMEDICALRECORD.
If update conflicts are identified they are resolved during this step of the
process.
- The changes to data are sent to an output queue on the mid-tier system
as a synchronization reply message.
- The synchronization client software retrieves the synchronization reply
message from the output queue. The client retrieval request is authenticated.
- The changes to data are applied to the client's local copy of the table.
The synchronization session ends.