[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 228
  • Last Modified:

SQL Server 2005, SP2: Logical Problem with a Database with Mirroring

Hello guys

We are using mirroring to backup our database. We know that if one of the servers has a hardware or software failure, we can move the active database to the other server and continue working. However we don't know what would happen if one of the databases become corrupt (SQL Server problem). I have seen such a corrupt database (SQL Server just writes that the database is not usable and must be restored from a backup) but I don't know how to simulate this.

Could anyone tell me if mirroring could be a solution for such a problem? Or is it so that if on of the databases becomes corrupt, the other one will also become corrupt?

Thanks.

TheAvenger
0
TheAvenger
Asked:
TheAvenger
1 Solution
 
Eugene ZCommented:
<but I don't know how to simulate this.
e.g. stop sql server service - rename log file of your database - > start sql server service-> get Suspected database status

<Could anyone tell me if mirroring could be a solution for such a problem?
Yes. Make sure witness (if you have) is not on same box; and connection string in application configured properly ...
 (for mirroring)
<Or is it so that if on of the databases becomes corrupt, the other one will also become corrupt?
Will not

google for "how-to setup " details
e.g
Database Mirroring in SQL Server 2005
By Ron Talmage, Solid Quality Learning
http://www.microsoft.com/technet/prodtechnol/sql/2005/dbmirror.mspx
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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