sqlschool.gr logo

articles

Articles of SQLschool.gr Team

SQL Server Database Mirroring Best Practices

Antonios Chatzipavlis
Friday 11 December 2009

Επειδή στο προηγούμενο μου post σχετικά με το Database Mirroring στον SQL Server ξέχασα να βάλω κάποια Best Practices που έχω διαβάσει σε διάφορα paper, blogs και βιβλία βάζω τα παρακάτω που προτείνει και ο Brad McGehee  μιας και με βρήσκουν 100% σύμφωνο.

  1. The principal database and the mirror database should be on separate physical hardware, and ideally, in different physical locations.

  2. The witness server should be on separate physical hardware, and be on a separate network (best if at a third location).

  3. Initial database mirroring setup should be done during less busy times, as the setup process can negatively affect performance of the production database being mirrored.

  4. Use high availability mode whenever possible, and high performance mode only when required.

  5. The hardware, along with the OS and SQL Server configuration, should be identical (at least very similar) between the two servers.

  6. While a fast connection is not required between mirrored servers, the faster the connection, and the better quality the connection, the better.

  7. You will want to optimize the performance of the mirrored database as much as possible to reduce the overhead caused by the mirroring process itself.

  8. Thoroughly test database mirroring before putting it into production.

  9. Monitor database mirroring daily to ensure that it is working properly, and is meeting performance goals.

  10. Develop a formal operational and recovery procedure (and document) to support mirroring. Periodically test the failover process to ensure that it works.

Antonios Chatzipavlis

Antonios Chatzipavlis

Antonios Chatzipavlis is a highly experienced Data Solutions Consultant and Trainer. He has been working in the IT industry since 1988, holding various roles such as senior developer, IT Manager, Data & AI Solutions Architect and Consultant.

Since 1995, Antonios has focused on modern technologies and software development tools, primarily by Microsoft. He has specialized in Data & AI since 2000, with expertise in Microsoft Data Platform (SQL Server, Azure SQL Databases, Azure Synapse Analytics, Microsoft Fabric, Power BI, AI) and Databricks.

Antonios is also a Microsoft Certified Trainer (MCT) for over 25 years, has been recognized as a Microsoft Most Valuable Professional (MVP) in Data Platform since 2010 and he is in the Data Expert 40 Powerlist 2024 by Boussias. He is the co-founder and visionary behind XLYTiCA, a company dedicated to Data & AI solutions.

Episode

Task Flows in Microsoft Fabric

image

More Episodes...

Tip

Get Certified: Become a Fabric Data Engineer

More Tips...

Become a member

If you want to receive updates from us become a member to our community.

Connect

Explore

Learn


sqlschool.gr © 2010-2025 All rights reserved

This site uses cookies for operational and analytics purposes only. By continuing to browse this site, you agree to their use.