Customer Focused Testing: Ten steps to improved SQL Server 2005 replication (5697-7434, March 2008)

banner
Customer Focused Testing: Ten steps to
improved SQL Server 2005 replication
Microsoft SQL 2005 Server provides a built in, application aware, host-based feature called Database
Mirroring as an alternative to existing array-based remote replication solutions such as the HP Continuous
Access soluti
on. This document provides 10 recommended steps that should be used when planning to
deploy remot
e replication solutions for SQL Server 2005 in an enterprise environment. This document is
meant as a companion to the HP whitepaper, “High Availability for SQL Server 2005 Using Array-Based
Replication and Host-Based Mirroring. By leveraging these recommendations and best practices,
customers can select the optimal replication technology for their environment, can optimize performance,
and can acce
lerate implementation, thereby reducing costs and personnel resources.
1Understandyourenvironment
Before implementing any replication solution, it is important to understand your recovery goals and
the limitations of the available infrastructure. For SQL Replication, the key information includes:
Recovery Point Objective – This is a measure of how much data loss can be tolerated. For an RPO
of zero, array based replication solutions such as HP Continuous Access should be implemented
in synchronous mode, whereas synchronous replication using SQL Server database mirroring,
being a log-shipping solution, has some potential for data loss. Asynchronous replication can
provide advantages but should not be considered if an RPO of zero is required.
Recovery Time Objective – This is a measure of the amount of time it takes a user to get their
backup site running after a complete failure at the primary site. The RTO includes the time to
recover, bring the backup database online, and redirect any applications to the backup database
server. For the Continuous Access solution, it includes the time to fail over the replicated LUNs
to the backup EVA; for the SQL Server database mirroring solution, it includes the time for the
Mirror to transition to the role of the Principal.
Workload (IO activity) – Heavy workloads will put more of a strain on the available resources
(servers, storage, and the intersite link), whereas lighter workloads are more forgiving. Keep
in mind that for replication, it is only the amount of writes that matters. Databases with low
percentage of changes (typically <5%) will provide more exibility than those with a higher
quantity of writes.
Intersite Link Both the bandwidth and latency of the intersite link have a direct inuence
on replication performance. The ISL has to support the ability to transport the writes to the
remote site while still providing disk write response times of <20ms. Asynchronous results are
relatively unaffected by the ISL latency and bandwidth; however, the link can have a direct
impact on recoverability. In a heavy workload conguration, response times will typically
increase sharply with greater ISL latencies. In a light workload conguration, more linear and
predictable increases are typically observed.
5697-7434
© Copyright 2008 Hewlett-Packard Development Company, L.P.
The information contained herein is subject to change without notice. The only warranties
for HP products and services are set forth in the express warranty statements accompanying
such products and services. Nothing herein should be construed as constituting an additional
warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.
Inc. Microsoft and Windows are U.S. registered trademarks of Microsoft Corporation. Oracle is
a registered trademark of Oracle Corporation and/or its afliates.
The information in this document is subject to change without notice.
5697-7434
1st edition: March 2008

Summary of content (8 pages)