Home > Ask the Systems Channel Experts > Database Administration Services Questions & Answers > Database mirroring best practices for VARs
Ask The Systems Channel Expert: Questions & Answers
EMAIL THIS

Database mirroring best practices for VARs

Retired Expert - Hilary Cotter EXPERT RESPONSE FROM: Retired Expert - Hilary Cotter

Pose a Question
Other Systems Channel Categories
Meet all Systems Channel Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 16 April 2007
Will database mirroring affect how VARs approach managing and servicing customer's databases?

>
EXPERT RESPONSE
Database mirroring is a component of SQL Server 2005 Standard Edition and above which does real time log shipping. It can be set up in two modes High Safety and High Performance. High Safety mode is essentially a split write operation where a write is performed on the principal (the source database) and then on the mirror (the destination database) before the application receives an acknowledgement that the write operation has completed.

In High Safety mode there can be considerable latency on each write operation which may degrade the performance of an application using a database which is part of a database mirroring topology. Microsoft recommends using short running transactions, using many connections as opposed to a single connection and ensuring that you have a high speed network.

High Performance mode offers high performance but may result in some data loss during failover. If you are using database mirroring keep in mind that all your databases must be using the full recovery model, you cannot mirror to the same server (but you can mirror between instances on the same mirror), and your source and destination databases must have the same name.

Mirroring does consume some resources on the principal server and is not scalable to a large number of databases on a single server. Mirroring does support automatic failover and the failover times are generally quick -- typically less than 10 seconds. To perform automatic failover you must configure a failover partner in your application's connection string. You can optionally use a witness server which will arbitrate between the servers which form the database mirroring pair and determine who will be the principal and who will be the mirror.

When VARs deploy and manage database mirroring they must:

  • Select the most appropriate mode for their mirroring operation
  • Select the appropriate security – you can mirror over the internet and use certificate based security to secure the connection
  • Ensure the network has available bandwidth and speed for the mirroring operation
  • Monitor your mirroring topology using the mirroring DMVs or the database mirroring monitor.
  • Monitor the network to ensure that it has available bandwidth and is not experiencing congestion.
  • set appropriate thresholds and alerts to alert your DBA team when the mirroring operation performance becomes critical. Use the stored procedure sp_dbmmonitorchangealert for this.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Database Administration Services
What opportunities are there for VARs in a SQL Server upgrade?
How to decide which disaster recovery strategy is right for customers?
Why outsource database management services to a VAR?
Offer SQL Server security services
Integrating Microsoft Office with SQL Server
What should I expect when migrating custom applications from SQL Server to MySQL?
SQL Server database security
SQL Server capacity planning
SQL Server 2005 business suite and Microsoft Office integration
Controlling Microsoft SQL Server sprawl

Database Backup and Recovery
Oracle DBA trends: Beyond basics
Database clustering secures data
SQL Server 2005 practical troubleshooting: Introduction
SQL Server 2005 Practical Troubleshooting: Fundamentals
SQL Server 2005 Practical Troubleshooting: Product enhancements
SQL Server 2005 Practical Troubleshooting: Data recovery best practices
SQL Server 2005 Practical Troubleshooting: User database inaccessible
SQL Server 2005 Practical Troubleshooting: Data recovery
Web-based database support
DBA services can make VARs money

Database Availability and Scalability
Three low-cost approaches to high-availability databases
What are the best SMB databases?
What skill sets do I need to support a fault-tolerant, high-availability system?
How can I help clients meet service-level requirements?
Oracle, system integrator develop new HR product
Providing database services: The initial client meeting
Controlling Microsoft SQL Server sprawl
Web-based database support
DBA services can make VARs money
Architectural solutions to Web-based applications with large datasets for VARs

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersBlogsEvents
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2006 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts