-
Hi, I am running a database for storing retail sales transactions which sync bidirectionally between the cloud and on-premise terminal (sqlite), for the cloud database, it has more than 1 billion rows of records. So i have come to an issue when I have to reinstall the client app (or replacing the terminal hardware) that during first time data sync after I've reinstalled my App, the agent will download ALL the existing sales transaction data for that particular store (using row filter) but still more than 10 million if that retail store has run for business more than 2 years. I am looking for any solution if I can partial sync the sales transaction data from the cloud to the sqlite in first time data sync (e.g. only sync the latest 3 months data). In the past when I was using MS Datasync Framework, I can control what to be sync or not by removing the data in tracking tables, those rows not exist in _tracking table will not sync to client database. But MS Datasync Framework have no further development nor any support, do not support .NET core and Dotmim.Sync is the only solution we can find which help us to migrate from MS Datasync Framework (otherwise we have to stick with windows platform). Thank you for any help or advice. Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi, Do you have a Created / Modified Date column in this table? If this table is really big, you can also use Snapshot (Be careful if you are using a filter, [snapshot should be filtered as well). And if you want to separate the sync of this particular table from the others, I will rather go for 1 scope with only this table and 1 scope with all the other tables (See multi scopes documentation) Let us know if it's matching your requirement |
Beta Was this translation helpful? Give feedback.
Hi,
Do you have a Created / Modified Date column in this table?
If yes, I suggest using it as a Filter.
If this table is really big, you can also use Snapshot (Be careful if you are using a filter, [snapshot should be filtered as well).
And if you want to separate the sync of this particular table from the others, I will rather go for 1 scope with only this table and 1 scope with all the other tables (See multi scopes documentation)
Let us know if it's matching your requirement