Mirroring is basically log shipping as close to real time as they can get.
Advantages:
1. You have a standby that can be used for immediate transparent fail over. (you would need to redirect clients to new server with log shipping or rename box) automatic fail over.
2. You can create a sql readonly sql snapshot against the passive node and query it.
Disadvantages:
1. overhead to mirror, versus transaction logs.
2. mirroring, mirrors bad data. e.g. user breaks something..this is replicated over
3.only committed transactions replicated in mirroring
With log shipping bad data is transferred over as well. It just takes a few extra minutes to get there.
With log shipping only committed transactions are shipped as uncommitted transactions in the log backups would be rolled back as they would be included in the next log backup when the commit happens.
In either case you'll get the database in a consistent state. With mirroring it'll probably be more up to date than with log shipping.
2. to clarify log shipping, can be implemented with a time delay gap or not applied at all. therefore it gives a useful window that you do not get with mirroring.
3. not a disadvantage true, should have been a difference.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.