Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

what would be the best way to copy table from server A to server B in sql 2012?

$
0
0

I have table A that is on server 1 and table B that is on server 2. Table contain around 1.5 million rows. What would be the fastest way to copy table A to server B? On nightly basis.

Or what would be the fastest way to bring only records that changed in table A and bring it to table B?

So far I tried MERGE along with HASHBYTES function to only capture records that changed. It works perfectly if target and source tables are on the same server. (takes approx 1 min).

But if target is on server B but the source is on server A - than it takes more than 15 min.

What is on your opinion the best and fastest technique for such operations?

Some sorts of replications? Or maybe SSIS would be the best for that?


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>