|
|
|
SSChasing Mays
      
Group: General Forum Members
Last Login: Tuesday, May 21, 2013 6:50 AM
Points: 624,
Visits: 1,546
|
|
Hi,
I have two SQL 2008r2 servers. They are mirror imges of each other (IP and name different).
I need to sync all of the data in Database A (San Diego) to all the (changed) data in Database B (Florida).
Whats the best way to only send the deltas/changed data between the two servers?
My problem is that the pipe between the two locations is only 3mps and it's 900G of data. So, I can't do backup/restore.
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Friday, April 19, 2013 11:01 AM
Points: 38,
Visits: 140
|
|
Replication would be good option.
===============================================================
"lets do amazing" our company motto..
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Saturday, March 30, 2013 9:39 AM
Points: 261,
Visits: 966
|
|
are you looking for a ongoing solution or are you looking to do a one off sync? if its a one off then take a look at redgate software. Alternative it this is a ongoing thing then either replication or setting up a mirrored environment.
*************************************************************
The first is always the hardest
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Yesterday @ 8:33 AM
Points: 1,217,
Visits: 236
|
|
Yes I would go with the replication as well. or you can use help of SSIS, with Lookups and Union. but again that would make your system slow, since you do not have enough streaming.
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Today @ 12:05 AM
Points: 5,688,
Visits: 6,142
|
|
If possible, can you offer a lot more detail into the data status on the two databases and future intent?
If you're looking at a complete overwrite on one of the databases, backup/restore (if feasible) is probably the best bet for a one-off. If you're looking to continuously have one of them be the System of Record (SOR) then Transactionally Replicate to the secondary from the primary (or mirror/snapshot). Merge replication will be necessary if both of these are active systems of record, and the confliction rules for that can get pretty hairy.
With more information as to what you're doing, why this is necessary, and the final intent, we can help you evaluate a proper solution.
- Craig Farrell
Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.
For better assistance in answering your questions | Forum Netiquette For index/tuning help, follow these directions. |Tally Tables Twitter: @AnyWayDBA
|
|
|
|
|
SSChasing Mays
      
Group: General Forum Members
Last Login: Tuesday, May 21, 2013 6:50 AM
Points: 624,
Visits: 1,546
|
|
Thanks everyone.
It's a one time pull/sync.
I'm looking into redgates data compare.
Will update.
Thanks again guys for all the help and insight.
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Thursday, May 09, 2013 1:13 PM
Points: 516,
Visits: 1,004
|
|
You can also look into using the TABLEDIFF.EXE utility that ships with SQL Server. It can compare tables in two different databases and generate the scripts to synch the data in the tables: http://msdn.microsoft.com/en-us/library/ms162843(v=sql.105).aspx.
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Yesterday @ 4:51 PM
Points: 32,923,
Visits: 26,811
|
|
Evil Kraig F (12/5/2012) If possible, can you offer a lot more detail into the data status on the two databases and future intent?
If you're looking at a complete overwrite on one of the databases, backup/restore (if feasible) is probably the best bet for a one-off. If you're looking to continuously have one of them be the System of Record (SOR) then Transactionally Replicate to the secondary from the primary (or mirror/snapshot). Merge replication will be necessary if both of these are active systems of record, and the confliction rules for that can get pretty hairy.
With more information as to what you're doing, why this is necessary, and the final intent, we can help you evaluate a proper solution.
Send a physical backup tape to the other site and restore it. It'll be cheaper and quicker for this one-off.
--Jeff Moden "RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".
First step towards the paradigm shift of writing Set Based code: Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."
For better, quicker answers on T-SQL questions, click on the following... http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following... http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Wednesday, January 02, 2013 5:06 PM
Points: 39,
Visits: 129
|
|
Jeff Moden (12/5/2012)
Evil Kraig F (12/5/2012) If possible, can you offer a lot more detail into the data status on the two databases and future intent?
If you're looking at a complete overwrite on one of the databases, backup/restore (if feasible) is probably the best bet for a one-off. If you're looking to continuously have one of them be the System of Record (SOR) then Transactionally Replicate to the secondary from the primary (or mirror/snapshot). Merge replication will be necessary if both of these are active systems of record, and the confliction rules for that can get pretty hairy.
With more information as to what you're doing, why this is necessary, and the final intent, we can help you evaluate a proper solution.Send a physical backup tape to the other site and restore it. It'll be cheaper and quicker for this one-off.
I agree, if you have tape media on each site then that's the easy way, or buy a cheap removable drive and send it to the second site with a backup, then restore. ;) No sense going to all the trouble of replication or mirroring across a WAN if its a one time project.
|
|
|
|