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,

Fox
LVL 9
the_b1ackfoxCIOAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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)
https://www.experts-exchange.com/articles/17530/SQL-Server-Replication-Transactional-Replication-type-step-by-step.html

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..
0
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.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
the_b1ackfoxCIOAuthor Commented:
Thank you both
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
SQL

From novice to tech pro — start learning today.