• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Sychronised Mirrored SQL servers/databases

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Sychronised Mirrored SQL servers/databases

    Hoping I can get some help from you clever techy guys here

    I have a sql server (2008) holding a number of databases - and as a dr/backup solution it is mirrored and sychronized -- which is great.

    However being the perfectionist I am I want to be able to check the mirror peridoically and ensure that the data is indeed kept up to date and therefore will be available if needed.

    However our techy guys tell me I cannot see the data on the other server - can anyone offer any advice on this situation?

    I do not want to call them a bunch of lying toads but I cannot see that MS would offer a solution of this type which does not allow a check to make sure it is working.

    Otherwise the first time you find out it is not working is when you try to use it -- which is a tad late I would imagine.

    Cheers!

    #2
    Depending on the mode you are using you can't do much.

    Mirroring States explains the mirroring states.

    Do you have witness servers monitoring the systems?
    merely at clientco for the entertainment

    Comment


      #3
      Surely each database is backed up on their respective server as a measure against individual server problems.

      Get a copy of both backups (preferably taken as close together as possible), restore to a test server, and do a full database compare including data to ensure they are in sync.

      Allow a slight discrepancy for when the backups were done and any data pending syncing at that point.

      If the above is not possible then I'd guess your setup is not 'optimal'.
      Feist - 1234. One camera, one take, no editing. Superb. How they did it
      Feist - I Feel It All
      Feist - The Bad In Each Other (Later With Jools Holland)

      Comment


        #4
        Create a snapshot against the mirror and query the snapshot.

        Comment


          #5
          It is true, there is no easy way to dynamically query a mirror. I think the mirror works in way that every query executed against the main database is executed against the mirror. So allowing a query against the mirror might break the logic of maintaining data integrity. What should happen if you execute a query which modifies the data in the mirror ?
          Vote Corbyn ! Save this country !

          Comment


            #6
            Originally posted by fullyautomatix View Post
            It is true, there is no easy way to dynamically query a mirror. I think the mirror works in way that every query executed against the main database is executed against the mirror. So allowing a query against the mirror might break the logic of maintaining data integrity. What should happen if you execute a query which modifies the data in the mirror ?
            i.e it breaks ACID compliance
            Coffee's for closers

            Comment


              #7
              useful info all.

              Many thanks

              Comment

              Working...
              X