Solved

How to I sync SQLExpress to SQLExpress to SQLExpress...

Posted on 2009-05-12
3
471 Views
Last Modified: 2012-05-06
Hi all.  I've got what I thought would be a basic question, but I'm struggling to answer it.

Lets say I have three locations, each running an instance of an application that utilizes an SQLExpress database.  For example:

Let SQLX1 = an installation of SQLExpress, running at a store in San Francisco, CA
Let SQLX2 = an installation of SQLExpress, running at a store in New York, NY
Let SQLX3 = an installation of SQLExpress, running at a store in Chicago, IL

In the simplest terms, what I need is the information gathered at the three locations to show at all the locations.

My requirements are:
1)      Information resides locally at the locations so if/when the internet connection dies, the store continues to process
2)      Upon reconnect of the information, the local information is synchronized to the other locations
3)      Were not talking seconds for updates here.  15 minutes would be fine, an hour would be fine, daily would be not fine, but it would be acceptable
4)      Whatever I come up with needs to be extensible, for example I might have a "customer" that has 3 locations as in the above example.  Next year, lets say, he adds 4 more locations.  All 7 locations need to sync.  Also I need to support multiple customers who might have multiple locations.

I can handle all the database design and make sure that the data is properly segregated and what not.  This question is explicitly about (A) how would I go about setting up my SQL Server licensing and (B) what kind of hardware is required to make this work?  Is there a "big brain" box that is running SQL Server Standard, that grabs from the Expresses and pushes down the changes, back to those Expresses?  Do the Express licenses need to go away at all locations?  

Thanks for your time.
0
Comment
Question by:JasonWilliam
  • 2
3 Comments
 
LVL 9

Accepted Solution

by:
Hwkranger earned 500 total points
ID: 24368584
What you want is replication.  I've set a number of replication databases.  You'll need to determine what kind you want (transactional, merge, etc..)

It's pretty easy, just follow the instructions.  Beware, though if you're doing something complex, you'll have to take that into account before you try to do it, remember to plan the entire thing before you implement.

http://www.databasejournal.com/features/mssql/article.php/1438201/Setting-Up-Transactional-Replication-A-Step-by-step-Guide.htm

http://msdn.microsoft.com/en-us/library/ms151329.aspx

Cheers
0
 
LVL 9

Assisted Solution

by:Hwkranger
Hwkranger earned 500 total points
ID: 24368636
Response to your:

I can handle all the database design and make sure that the data is properly segregated and what not.  This question is explicitly about (A) how would I go about setting up my SQL Server licensing and (B) what kind of hardware is required to make this work?  Is there a "big brain" box that is running SQL Server Standard, that grabs from the Expresses and pushes down the changes, back to those Expresses?  Do the Express licenses need to go away at all locations?  

1) You need atleast 1 standard license at the "distributor"
2) Minimium Hardware recommended for MSSQL is supported
3) Brain Box?  not exactly, but I guess you could call it that.  Look at the merge replication model.
4) You can replicate with express, I do it.  You need standard as the distributor though.
0
 

Author Closing Comment

by:JasonWilliam
ID: 31580700
Thanks Hwk.  Thats exactly what I was looking for.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now