Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 How to replicate data to a remote place

Author  Topic 

pdnx
Starting Member

3 Posts

Posted - 2012-07-13 : 05:36:35
My issue is:

DB in HK got 3-5 million records/day. I need to replicate an amount of selective records to Canada, which is supposed to be 1-3 million records/day.

Can someone please advise me some possible solution? Acceptable delay is a few minutes, or even 10-20 minutes in the worst case. Even some 3rd party tools is considerable

My current dbms is sql server 2k8 r2

Sorry if I'm in wrong room
A million thanks to any reply

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2012-07-13 : 10:24:27
What's wrong with transactional replication? Have you tested your network latency?

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

pdnx
Starting Member

3 Posts

Posted - 2012-07-15 : 21:34:08
quote:
Originally posted by tkizer

What's wrong with transactional replication? Have you tested your network latency?

Tara Kizer



I don't know if with transaction replication, I can replicate only selective rows.
As I know can only replicate on selective columns, not row, I don't want to replicate all rows
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2012-07-15 : 22:40:21
Yes you can replicate "selective rows" with transactional replication. Use the filtering option.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

pdnx
Starting Member

3 Posts

Posted - 2012-07-15 : 23:02:25
quote:
Originally posted by tkizer

Yes you can replicate "selective rows" with transactional replication. Use the filtering option.




Thanks for your information, I'll study how.
I still have one concern is the latency, from my view, it's very hard to get such amount of transaction to be replicated well outside LAN connection, please advise
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2012-07-15 : 23:11:01
Well you'll need to test it. Our environment provides the data in near real-time, and we send a huge amount of data through it. We're doing 3000 batch requests per second on the OLTP system, with almost all of it being replicated to our reporting system. Our system is about 60% writes.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

dolphin123
Yak Posting Veteran

84 Posts

Posted - 2012-07-17 : 16:19:30
Just curious - How did you find out the percent of your writes on a database?
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2012-07-17 : 16:33:27
quote:
Originally posted by dolphin123

Just curious - How did you find out the percent of your writes on a database?



I believe it was with this DMV: sys.dm_io_virtual_file_stats.

We had a PFE from MS on site for a week with us, and he helped us come up with the ratio.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -