Database mirroring "log granularity"

  • In a database mirroring scenario does the principal server send the log records to the mirror at log record level or transaction level?

    In other words: a transaction can have more than one record in the log...

    In this case: does the principal server wait for the commit transaction to harden all the records and send them to the mirror server, or does the principal write the records to its log and send the records one by one as soon as they are recorded to the transaction log?

  • In synchronous mode every transaction is hardened to the mirror before being committed at the principal.

    In asynchronous mode (Enterprise only), the transactions are committed at the principal and then sent to the mirror when possible.

    Owner & Principal SQL Server Consultant
    Im Your DBA, Inc.
    https://www.imyourdba.com/

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply