• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 35
  • Last Modified:

MS SQL 2014/2016 Replication of live DB

MS SQL 2014 (with consideration for 2016)

I have been tasked to create a second copy of a live database so that we can query the copy instead of the production db.  I was researching mirroring, for which I learned that you cannot do anything with the mirror, so I am back to square 1.  What method best suits the creation of the above scenario?  I just need to know I am on the right path, and then I can setup a test of the solution,

Thank you,

2 Solutions
Raja Jegan RSQL Server DBA & Architect, EE Solution GuideCommented:
Yes, Mirroring database can't be directly accessed for Reporting purposes.
However, you can go with Transactional Replication to suit your needs:(an article from our fellow expert)

Only catch with Transactional Replication is that your tables should have a primary key by default and if not then they can't be replicated..
Vitor MontalvãoMSSQL Senior EngineerCommented:
If you want to have a full copy of the database and that that copy must be available for queries (Read Only, i.e. not possible to Write) then the best option is the AlwaysOn feature.
It's the natural evolution of the Mirroring solution and it's available since SQL Server 2012. You'll need an Enterprise license since it's only available on SQL Server Enterprise Editions.
the_b1ackfoxCIOAuthor Commented:
Thank you both
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now