This is my first application using Microsoft Sync Framework 2.1 so you assume i don’t know any thing of it.
The question is i need to synchronize tables- these number of tables to synchronize increase or decrease as the Database changes.
Like wise the direction of tables is also random in nature sometimes it is up or down or bi-directional. Even the rules vary
As we have large no of clients/distributors so the no of tables to synchronize for UserA may be different for UserB and even the direction.
As we need to create Scopes and what i find out we need to create a new Scope for every change and for every User Tables is it right?
So Example we have 100 tables 10 Users and 3 directions then the possibility of no of scopes will be above 3000
How to the number of scope effect the DB performance?
Even i dont know how can i remove scopes for the tables that are deleted in DB? or that i choose not to synchronize and even for the user also.
I found out there is something called as Deprovisioning but dont know how to use it.
Moreover i need to apply filters to the tables also so in that case do i need to create a new Scope again or not? I don’t know how to create filters as the samples i downloaded does not have any example of filters?
Any help/sample/link is highly appreciated
a scope is a collection of tables that are sync together in a single sync session. how many tables to include is up to you.
have a look at this link for some guidance: Sync Framework Scope and SQL Azure Data Sync Dataset Considerations
I suggest you go thru the documentation and the tutorials/walkthroughs first. The documentation actually gets installed with the framework.
if you have trouble finding them, here’s the corresponding links:
How to: Use Synchronization Scopes
How to: Provision and Deprovision Synchronization Scopes and Templates (SQL Server)
How to: Filter Data for Database Synchronization (SQL Server)
if you want to understand further what provisioning actually does, have a look at this: Sync Framework Provisioning
you might want to specify what databases are you actually synching