SQL2005 and Mirroring

Posted on 2011-05-09
Last Modified: 2012-05-11
If you have a mirrored db and the mirror set was split, I could presume the the sql native client would not failover to the partner database in this situation ?
Question by:rimmena
    LVL 28

    Accepted Solution

    I'm not sure exactly what you're asking - can you clarify the situation you're wondering about?

    Mirroring actually involves 3 servers - a primary, a mirror, and a witness. The primary and mirror will communicate with each other to determine who is in charge (the primary), and the witness exists to settle any disputes, and is in charge of promoting the mirror if the primary database goes offline.

    If you have SQL Server Mirroring set up and your main server drops off, then clients set up properly (with the "mirroring" property in the connection string set) will fail over to the mirror as they should. They won't fail back until you do it manually - in the case of a mirror failover, the mirror actually becomes the new primary, and the old primary becomes the new mirror, so that you'll need another failure (of the new primary server) to cause a failover to happen.

    If that doesn't answer your question, please provide some more detail about the situation you're asking about.
    LVL 15

    Expert Comment


    "and the mirror set was split" -- you mean you removed the mirrored DB from the primary DB? If yes, then yes it will not fail over.  

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    SQL Command Tool comes with APEX under SQL Workshop. It helps us to make changes on the database directly using a graphical user interface. This helps us writing any SQL/ PLSQL queries and execute it on the database and we can create any database ob…
    Read about achieving the basic levels of HRIS security in the workplace.
    Video by: Steve
    Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    731 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

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now