principlesqlMinor
Best practice bring MS SQL database to remote sites
Viewed 0 times
practicebringsqlsitesdatabaseremotebest
Problem
Currently we use terminalservers to enable remote users to work with a central LOB-application. The terminalserver is on the same LAN as the
Now my question is: what is the preferred way to replicate/mirror the database to the remote sites, so users don't need a terminalserver and can work in their local LAN.
These are my concerns:
More info:
MS SQL-server. Now my question is: what is the preferred way to replicate/mirror the database to the remote sites, so users don't need a terminalserver and can work in their local LAN.
These are my concerns:
SQL over internetis often too slow. It would however be my preferred solution because of simplicity (if internet doesn't work this will only temporary effect clients, no worry about shipping log files, etc)
Mirrorwill be removed in a future version of Microsoft SQL Server. Afaik, it leaves the mirror constantly in restore-mode so theLOB-applicationcan't actually use, correct?
Always On availability groupslook very complicated to me but they do supportActive Secondary Replicaswhich sounds like the ability that every remote site can use it's local replica for reading and the central-db for writing. However, I wonder, does this work with all LOB-applications? And does this require a very fast and stable internet-connection? It must not fail with every short internet/VPN hick-up.
More info:
- I'm hoping for a general solution that works with 'all' Microsoft SQL-based applications (
SQL over internetdoes when internet is fast and queries are limited).
- Data needs to be read/write on remote sites. It's okay if data can't be modified in case of a broken internet/VPN connection. I was hoping that
mirroringcould do this. That modifications are committed to the principal-db but all reads are directly read from the mirror (transparant to the application / without using 2 different db-servers). A bit likedomain-controllerswork. This isn't howmirroringworks however.
- A delay of minutes would be acceptable in most LOB-applications if there is no risk off sync conflicts. I can imagine that if you work with orders, timesheets, etc. it doesn't matter if your data is a bit delayed because yo
Solution
This is exactly what replication is designed for. Sounds like Transactional replication with updateable subscriptions will work although MS is saying this will be removed down the road (no specifics)
Merge replication is also a choice, but is more complex to maintain.
Merge replication is also a choice, but is more complex to maintain.
Context
StackExchange Database Administrators Q#179371, answer score: 2
Revisions (0)
No revisions yet.