on 2020 Sep 08 3:06 AM
I've read Implementing timestamp-based downloads and its subsections multiple times and it has only confused me further:
Why is there a last_modified
timestamp in each table in the consolidated DB, but NOT in the remote DBs? As per The synchronization process
By default, the MobiLink client automatically keeps track of which rows in the remote database have been inserted, updated, or deleted since the last successful synchronization. Once the connection is established, the MobiLink client uploads a list of all these changes to the MobiLink server.
If one can keep track of which rows have been synced, and which haven't, WITHOUT the last_modified
column, why is it required in each table in the consolidated DB?
Now, as-per How download timestamps are generated and used...
The last download time is stored on the remote database. This is the appropriate place because only the remote database knows if the download has been successfully applied. For SQL Anywhere remotes, the last download time is stored per subscription and can be viewed using the SYSSYNC system view.
... whereas as per Implementing timestamp-based downloads...
To implement timestamp-based synchronization for a table, at the consolidated database, add a last_modified column that holds the most recent time the row was modified.
How many timestamps are we talking about here? Where is each one of them stored? And why does every table in the remote-db not have a last_modified
column?
User | Count |
---|---|
71 | |
11 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.