3

I have 1 application , in which conditions are like i have to use local databases only for each PC....Now if some enrollment is done from 1 pc then that data should be store in local database and also it should be send to another PC...in short i want to synchronise all the data..

I need to clear 1 thing that "Centralize database is not possible..I cant use 1 database and connect to it from all PC.."So i need synchronization only...

I am using SQL SERVER Express Edition... and developing application in C# .NET

If have any doubt you can ask me i will describe more...

Databse Synchronisation

2
  • So why wouldn't querying both databases at the same time work (not the best solution, but if there are only two databases, and there isn't a huge load)? I'm guessing you have thought of this, but I don't see the issue with it (yet). Commented Apr 16, 2011 at 6:50
  • there are almost 130 PC(database)... Commented Apr 16, 2011 at 8:49

2 Answers 2

4

Since you're using SQL Server Express, replication is not an option. (Express versions can only subscribe in a replication scenario.) But you should take a look at the Sync Framework, formerly known as Sync Services for ADO.NET. It is an API for .NET that provides the kind of db sync capabilities which you may find helpful. From your description, the Collaboration Scenario seems the most applicable (peer-to-peer synchronization scenario.)

Sign up to request clarification or add additional context in comments.

Comments

0

Just a thought, if you really want data redundancy, looking at something like cassandra might be a better alternative.

1 Comment

Thanks...but i am looking some solution for c# .net....i am not a java person..so cant understand the java code ...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.