Solved

Mirrored MSSql servers possible?

Posted on 2013-06-10
4
172 Views
Last Modified: 2013-06-26
I have a Server running SQL Server 2008 R2 that holds a single database that about 150 people access through a custom application. There is a service that runs every Friday that slows access to the database to a crawl while this service is running. What I'd like to do is to deploy a new server that has crazy fast IOPS and processor power, and use the old server as a "mirror" server that this service can use, instead of the new server. I basically want all users to connect to the newer, faster server, and have this service that runs every Friday, do it's thing on the older, mirror server. I've read up on how to do this, but so far, it only looks like you can mirror for fail over. I'm looking for a solution that will allow updates to both the database and log files, on a two way partnership. I'm not sure if this is going to be possible or not.

Thank you for any help.
0
Comment
Question by:Wetjet
4 Comments
 
LVL 8

Expert Comment

by:didnthaveaname
ID: 39235444
I think you are looking for merge replication.  There are issues with it that can make it not so fun, but I think it may be your only choice if you need to make changes at both locations:

http://msdn.microsoft.com/en-us/library/ms151329%28v=sql.105%29.aspx

You'll want to pay special attention to this part: http://msdn.microsoft.com/en-us/library/ms151749%28v=sql.105%29.aspx
0
 
LVL 23

Expert Comment

by:Racim BOUDJAKDJI
ID: 39235874
Use database mirroring and set up a snapshot on the mirrored database so that you can use it in readonly mode.
0
 

Author Comment

by:Wetjet
ID: 39238576
I forgot to mention that these servers are on the same network. Replication should go fairly quickly.

Also, the service that runs does need to make updates on the 2nd or mirror database server, and replicate changes to the main server.
0
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 250 total points
ID: 39238708
If you need to update both databases then consider something like peer-to-peer replication.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

867 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

16 Experts available now in Live!

Get 1:1 Help Now