Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 High Availability (2005)
 Recovery point

Author  Topic 

nic_jones
Starting Member

3 Posts

Posted - 2009-10-01 : 16:27:03
If we were to implement a Primary, Mirror and Witness and the database becomes corrupted with the Primary and Mirror dbases both corrupted in the same way, how and to what point can we recover?

There's some debate in our team as to where we can recover to.

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-10-01 : 17:09:49
It depends on the level of corruption. Some corruption can be resolved by simply rebuilding the associated index. Other may require you to perform restore. Recovery of data is dependent upon how often you are performing transaction log backups.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

nic_jones
Starting Member

3 Posts

Posted - 2009-10-02 : 03:50:05
Hi & thanks for your answer.
Assuming we still have the transaction logs, would it be possible to recover up to the last transaction or can we only recover the transactions in the previous transaction log?

Thanks
Go to Top of Page

GilaMonster
Master Smack Fu Yak Hacker

4507 Posts

Posted - 2009-10-02 : 05:08:08
It's very unlikely for the principal and the mirror to both be corrupt the same way. Corruptions are usually a problem with the IO subsystem and hence won't be mirrored.
Providing the corruption's not in the log file, you should be able to get right up to the last transaction, providing you have a clean database backup and all the log backups since then.

--
Gail Shaw
SQL Server MVP
Go to Top of Page

nic_jones
Starting Member

3 Posts

Posted - 2009-10-02 : 05:43:23
Many thanks
Go to Top of Page
   

- Advertisement -