microsoft-sync-framework

Sync Framework: Oracle/SQLServer

拥有回忆 提交于 2019-12-06 07:02:20
I want to setup a sync service using Microsoft Sync Framework. The main objective is to sync some tables between an Oracle Database and a SQL Server Database. How can I do it? There are any OracleSyncProvider ? if you go the Sync Framework way, there is a sample Oracle sync provider at: http://code.msdn.microsoft.com/Database-Sync-Oracle-and-037fb083 There are several forms of third party software which will automate this process for you, however if you would like to do it manually I would suggest the Oracle CREATE DATABASE LINK . This approach allows you to access information (tables,views,

Microsoft Sync Framework 2.1 + Change Tracking in Sql-Server 2008

左心房为你撑大大i 提交于 2019-12-06 05:12:09
问题 When I provision a scope for synchronization in an SQL 2008 database like this: SqlSyncScopeProvisioning sqlServerProv = new SqlSyncScopeProvisioning(sqlServerConn, myScope); if (!sqlServerProv.ScopeExists(scopeName)) { sqlServerProv.Apply(); // Apply the scope provisioning. } i see a bunch of change tracking tables, stored procedures and triggers created. Why is this not using the "Change Tracking" feature of SQL 2008, which is much cleaner and everything gets tracked behind the scenes? I

Microsoft Sync Framework 2.1 + Change Tracking in Sql-Server 2008

半城伤御伤魂 提交于 2019-12-04 09:23:40
When I provision a scope for synchronization in an SQL 2008 database like this: SqlSyncScopeProvisioning sqlServerProv = new SqlSyncScopeProvisioning(sqlServerConn, myScope); if (!sqlServerProv.ScopeExists(scopeName)) { sqlServerProv.Apply(); // Apply the scope provisioning. } i see a bunch of change tracking tables, stored procedures and triggers created. Why is this not using the "Change Tracking" feature of SQL 2008, which is much cleaner and everything gets tracked behind the scenes? I thought that the "Change Tracking" feature of SQL 2008 was designed precisely to simplify these scenarios

Making database schema changes using Microsoft Sync framework without losing any tracking table data

对着背影说爱祢 提交于 2019-12-03 14:14:36
问题 I am using Microsoft Synch Service Framework 4.0 for synching Sql server Database tables with SqlLite Database on the Ipad side. Before making any Database schema changes in the Sql Server Database, We have to Deprovision the database tables. ALso after making the schema changes, we ReProvision the tables. Now in this process, the tracking tables( i.e. the Synching information) gets deleted. I want the tracking table information to be restored after Reprovisioning. How can this be done? Is it

Microsoft Sync Framework - Performance and scalability

为君一笑 提交于 2019-12-03 05:04:23
I am trying to use Microsoft Sync Framework 2.1 on a SQL Server database. There will be a high number of concurrent end users, synchronizing with a central database server. Further specifications are: 1500 concurrent clients connect to 1 central database server Client are using MS SQL Server Express 2008 R2 Server is using MS SQL Server Enterprise 2008 R2 Short sync intervals (around 5 minutes) Database size will be 5 GB A webservice will be used as server-side SyncProvider Does anyone have experience with Sync Framework environments similar to this? Is it possible? What is important to take

How to make sure synchronization using the Microsoft Sync Framework was successful?

夙愿已清 提交于 2019-12-02 05:04:11
问题 I am using the Microsoft Sync Framework to synchronize a table on two Microsoft SQL Servers. I have created a test application which generates one row per second in the table on the remote server. The application making use of the Sync Framework runs on the local server. The test application created about 52000 entries in the database over one night. The syncing application executed a call to the SyncOrchestrator.Synchronize Method every 15 seconds. When I checked the outcome of the

How do you sync databases using ms sync framework when tables are using identity column and you need to match on an arbitrary key

ぐ巨炮叔叔 提交于 2019-12-02 05:03:24
Sorry for the long and confused title. I have a customer that wants to sync three database. (Later it could be more.) All data in all three databases must sync to the all others. This does not at all need to be real time but would probably run nightly or something like that. This database is using identity columns as primary/foreign keys. The issue is that a given record could be added independently into two (or even more) of the databases but be the same data. So, for example, I could have a customer name John Smith of 123 Main Street created at both of the site databases. In this case I

End a WCF Session from the Server?

只愿长相守 提交于 2019-12-02 02:09:25
问题 This may be a shot in the dark (I don't know much about the internals of WCF), but here goes... I'm currently working with a legacy application at a client site and we're experiencing a persistent issue with a WCF service. The application is using the Microsoft Sync Framework 2.0 and syncing through the aforementioned service. The server-side implementation of the service has a lot of custom code in various states of "a mess." Anyway, we're seeing an error on the client application most of

Microsoft Sync Framework - How to reprovision a table (or entire scope) after schema changes?

冷暖自知 提交于 2019-12-01 21:11:23
I have already setup syncing with Microsoft Sync Framework, and now I need to add fields to a table. How do I re-provision the databases? The setup is exceedingly simple: Two SQL Express 2008 servers The scope includes the entire database Using Microsoft Sync Framework 2.0 Synchronizing by direct access. Using the standard new SqlSyncProvider Do I make the structural changes at both ends? Or do I only change one server and let Sync Framework somehow propagate the change? Do I need to delete the _tracking tables and/or the stored procedures? How about the triggers? Has anyone been using the

Sync Framework : Can I Sync only a subset of my tables?

限于喜欢 提交于 2019-12-01 12:25:57
The regular code snippet of syncing data with sync framework is this: LocalDBSyncAgent syncAgent = new LocalDBSyncAgent(); Microsoft.Synchronization.Data.SyncStatistics syncStats = syncAgent.Synchronize(); Do anynody knows a way to sync a subset of my tables. Note not the data inside each table but the decide which tables would be involved in the synchronization. Thanks Ariel Yes, you absolutely can. Create a SyncTable for each table you want to sync, and add it to the Configuration.SyncTables in the SyncAgent. I found this article from Bill Ryan very instructive. He goes into how to filter