Отвечено sql server one way mirroring

  • 14 марта 2012 г. 0:50
     
     
    trying to set the database mirroring as in one way in sql server management studio

    lets say Primary A, could only changes difference to Mirror B

    but Mirror B couldnt changes difference to Primary A

Все ответы

  • 14 марта 2012 г. 1:03
     
     Отвечено

    Hi,

    A SQL mirror session is one way. The principal sends updates to the mirror. If a failover (either manual or automatic) occurs then the new principal will send updates to the new mirror. Only the principal can make changes to the mirror not the other way around.

    http://msdn.microsoft.com/en-us/library/ms189852.aspx


    Sean Massey | Consultant, iUNITE

    Feel free to contact me through My Blog, Twitter or Hire Me.
    Please click the Mark as Answer button if a post solves your problem!

    • Предложено в качестве ответа PrinceLuciferMVP 14 марта 2012 г. 7:42
    • Помечено в качестве ответа Peja TaoModerator 20 марта 2012 г. 8:31
    •  
  • 14 марта 2012 г. 7:43
     
     Отвечено
    Adding to what sean already pointed out: The mirror server is read only (in SQL 2012) and not readable at all in SQL 2008R2 and earlier. So you can't even make changes there if you wanted to. If you need to change the mirror without affecting the primary then database mirroring is not the solution you are looking for. Replication most likely would be...
    • Предложено в качестве ответа Peja TaoModerator 15 марта 2012 г. 5:05
    • Помечено в качестве ответа Peja TaoModerator 20 марта 2012 г. 8:31
    •