Start a Conversation

Unsolved

This post is more than 5 years old

2677

February 6th, 2012 00:00

SQL Server Replication over Long Distance

Does anyone knows any best practices to improve SQL server replication performance over long distance?

161 Posts

February 6th, 2012 01:00

In an easy word as I knew, there can be some performance gains from utilizing the improved TCP/IP stack in Windows Server 2008. But I am sure there is more ways to achieve it. Just need some time to dig it out..haha.

February 6th, 2012 01:00

Hi zhao

Not sure if this is just a general question regards SQL or are you looking for specifics such as for  RecoverPoint?

Below is collateral from a Solution I worked on last year, RecoverPoint with VMware and SRM.

Michael

CONTINUOUS DATA PROTECTION FOR MICROSOFT SQL SERVER 2008 R2 ENABLED BY EMC RECOVERPOINT, EMC REPLICATION MANAGER, AND VMWARE

A Detailed Review

Information

Internal Access

Public Access

Whitepaper Location

http://one.emc.com/clearspace/docs/DOC-37943

http://www.emc.com/collateral/software/white-papers/h8221-sql-2008-data-protection-wp.pdf

Technical Presentation

http://powerlink.emc.com/km/live1/en_US/Offering_Technical/Presentation/continuous-data-protection-microsoft-sql-server2008.pptx

Camtasia Videos

Automated Site Failover of MS SQL 2008 Servers using EMC RecoverPoint and VMware SRM

http://one.emc.com/clearspace/docs/DOC-37396

http://www.youtube.com/emcprovensolutions#p/u/3/zhfzu4y1090

http://www.youtube.com/emcprovensolutions#p/u/10/PMcmiSc4DLA

EMC RecoverPoint: Failover of SQL 2008 VM to Remote Site (Diff subnet) using CRR replica

http://one.emc.com/clearspace/docs/DOC-37463

http://www.youtube.com/emcprovensolutions#p/u/4/BETp8KVVFqo

EMC Recoverpoint: How to achieve Concurrent Local and Remote Replication

http://one.emc.com/clearspace/docs/DOC-37399

http://www.youtube.com/emcprovensolutions#p/u/9/2rs1eZea5Ys

EMC Replication Manager: Microsoft SQL 2008 R2 Database Restore

http://one.emc.com/clearspace/docs/DOC-37374

http://www.youtube.com/emcprovensolutions#p/u/7/3XkOMtsJz3g

http://www.youtube.com/emcprovensolutions#p/u/8/YS7ewlSIkq8

EMC Replication Manager: SQL 2008R2 Mount Database Replica to Remote SQL Server

http://one.emc.com/clearspace/docs/DOC-37380

http://www.youtube.com/emcprovensolutions#p/u/5/bK8ZxJZiNcE

http://www.youtube.com/emcprovensolutions#p/u/6/4W_WzOKpoq4

Tech Articles

EMC RecoverPoint: Failover of SQL 2008 VM to Remote Site (Diff subnet) using CRR replica

http://one.emc.com/clearspace/docs/DOC-37463

http://www.youtube.com/emcprovensolutions#p/u/4/BETp8KVVFqo

MS Server Virtualization Validation Program (SVVP)

http://one.emc.com/clearspace/docs/DOC-38079

Data warehousing considerations for Recoverpoint Replication

http://one.emc.com/clearspace/docs/DOC-38080

Webcasts

Instant "DVR-like" Recovery for SQL Server in VMware Environments - Recorded Webcast

http://one.emc.com/clearspace/docs/DOC-34806

https://community.emc.com/docs/DOC-10742

2 Intern

 • 

643 Posts

February 6th, 2012 01:00

Thanks Morris for your inputs!  My question is not specific to any replication technology, but the documents provided are very helpful!

2 Intern

 • 

643 Posts

February 6th, 2012 02:00

Thanks Louis!  Just searched on the internet, the Next Generation TCP/IP used in Windows 2008 does improve WAN utilization which will be benefit to long distance SQL replication.


1) Receive Window Auto-Tuning: Support for Receive Window Auto-Tuning is new in the Next Generation TCP/IP stack. Receiver-side throughput is improved through Receive Window Auto-Tuning because this feature is able to calculate the best possible receive window size for each connection by taking into account bandwidth, latency connection, and application retrieval rate. Bandwidth performance naturally improves with better throughput. Bandwidth performance can improve even more if all applications receive TCP data.

2) Compound TCP/IP (CTCP): Compound TCP/IP, which is most often used for TCP connections which has a large receive window size in addition to a large bandwidth delay product, ultimately improves receiver-side throughput. With CTCP, the amount of data sent across connections is considerably greater; however, TCP connections are not impacted negatively. If CTCP and Receive Window Auto-Tuning are used together, even more benefits, including increased link utilization and performance gains for large bandwidth delay connections, can be witnessed.

3) ECN support: When a TCP segment is lost, TCP assumes that it was because of congestion at a router, so it performs congestion control. This lowers the TCP sender’s transmission rate. With Explicit Congestion Notification (ECN) in the routing infrastructure, routers experiencing congestion mark the packets as they forward them. TCP peers receiving marked packets lower their transmission rate to ease congestion and prevent segment losses. This increases the overall throughput between TCP peers.

4) Improved routing: Path maximum transmission unit (PMTU) black-hole router detection automatically adjusts the PMTU for a connection when large TCP segments are detected.

5) RFC optimizations: The TCP/IP stack has better support for RFCs related to TCP communications.

6) Neighbor detection: The Next Generation TCP/IP stack supports neighbour unreachability detection for IPv4 traffic. A computer such as a branch office maintains status about whether neighbouring computers such as a hub site are reachable. This provides better error detection and recovery when computers are not available.

7) Dead Gateway support: Unlike the previous Windows versions of Dead Gateway Detection, the Next Generation TCP/IP Dead Gateway support now provides a failover and failback mechanism when encountering dead gateways.

2 Intern

 • 

225 Posts

February 6th, 2012 18:00

Simon,

You are right, tuning on windows TCP/IP stack does help to improve SQL replication performance.

http://msdn.microsoft.com/en-us/library/dd263442(v=sql.100).aspx

on this article, MS provide two test Scenarios, SQL2k5 on Win2k3 and SQL2k8 on Win2k8, as you did not specific configuration, it is good, and this article also cover test result.

You also could consider hardware WAN accelerator to optimize your WAN throughput to make your SQL replication better.

http://sqlcat.com/sqlcat/b/whitepapers/archive/2009/09/23/using-replication-for-high-availability-and-disaster-recovery.aspx

This one is considerable to read, covering hardware WAN accelerator performance with SQL replication.

Thanks,

Eddy

No Events found!

Top