Click here to Skip to main content
15,169,285 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a scenario where I have to develop an utility in .net which will keep updating a database say "MyUpdatedDataBase" from other four database servers.

This utility comprise of two parts.

1) This utility will run every after 30 minutes and check that I have some new records in the table say "Patients" on any of four db servers, if so it will insert those new records in central database MyUpdatedDataBase. Now there comes second part.

2) I have some restful services in the Utility which are consumed by a device. The device makes a call to method (GetPatientInfo) of rest service to fetch data.

Now keep in view all this scenario, what solution do you purpose? As far as I think I have to create a window service which will run on every db server in order to update my database MyUpdatedDataBase. And then will have to create Utility with restful service so that device may consumed this service.

What can be better here ? As I have to implement it with great care so need exact and precise solution.
Updated 18-Aug-13 19:13pm
fyulaba 18-Aug-13 15:51pm
What db are you using? You could simply open connections to the 4 different DBs and get records without adding extra software to support on remote servers or use replication or ETL sevices it keep data in sync.
touseef4pk 18-Aug-13 16:11pm
sql servers.
fyulaba 18-Aug-13 16:35pm
Have a look at SSIS - SQL Server Integration Services, if you can't open a direct connection to the db this might stop you from reinventing the wheel.
Herman<T>.Instance 19-Aug-13 6:13am
sync framework...
onelopez 26-Aug-13 15:11pm
Should look into DB replication services. This will keep bogus records from popping up and accidental data duplication.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900