?
Solved

Database Mirroring

Posted on 2012-04-09
1
Medium Priority
?
298 Views
Last Modified: 2012-04-10
If I take a full backup of the Principal
and for example take all log backups including the last log backup
and then restore them on the mirror
Do I leave the last t-log backup in the no recovery mode
and if so then how about the t-log still populating with data on the principal but
not the mirror how does sql synchronize the mirror properly if you cannot
restore the last t-log because it is being written to at the time you are setting up the
mirror

Any clarification as to how the synchronization process with the last t-log actually works would be greatly appreciated

Thanks in advance
0
Comment
Question by:VitaminD
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 15

Accepted Solution

by:
Deepak Chauhan earned 1500 total points
ID: 37827359
Hi, in database mirroring only one database (principle) can be in operational stat and mirror database is in operational stat.
Reason to restore last TL backup with no recovery is that it will not accessible to user but accessible to principle database. Every time if a transaction is executed on the principal is sent first to mirror for commit if it is configured with synchronous. Transaction log is sent to mirror and restore in no recovery mode.

For more Clarification and Information Please follow below link:
 
http://msdn.microsoft.com/en-us/library/ms179344.aspx
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…
Suggested Courses

777 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