473,395 Members | 2,079 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

db2 replication vs log shipping

GB
Hi,

I'm trying to find an easy, efficient and safe site-to-site
backup/failover solution.
The idea is to have anytime a remote copy of 99.99% of the data.

Productive db -> VPN (internet) -> Backup site
source destination
Replication:
Slows down productive db
Quite difficult to invert the replication, backup site cannot go live
then back to the normal (backup) state again

Log shipping:
Quite a lot of data can be lost since the logfile size cannot always be
reduced

Has someone here some good or bad experiences doing this ?
Any ideas about bandwidth usage ?

Thanks, Greg
Nov 12 '05 #1
1 4312
Greg
There are several options available for Disater Recovery:

Method

Pros

Cons

Transport of database backups
Low cost

Recovery to time of last backup
Lose all transactions since last backup

Transport of database backups and archived logs (physical/network)
Recovery to time of last archived log

Low cost
Lose all transactions in the active logs

Longer recovery time (database restore followed by roll-forward
through all the logs)

Standby Database via Log Shipping
Support for no transaction loss

Minimal impact to production system
Standby not available for use while in Rollforward mode

Standby needs to be physically and logically identical

Some administrative actions not reflected on standby (eg. NOT LOGGED
operations)

Standby Database via Replication
Can read (and write) standby

Standby need not be physically and logically identical

Can choose to replicate only critical tables
Transaction loss a possibility

Extra cycles on production database for transaction capture

Some administrative actions not reflected on standby (eg. NOT LOGGED
operations)

Synchronous mirroring of all data and log disks
No transaction loss

All changes to the database (including administrative) are replicated

Shortest restart time
Performance impact of synchronous mirroring to a geographically remote
site

High price (software/hardware/network)

I would also check out the up and coming release of DB2 UDB called Stringer:
http://www-306.ibm.com/software/data/db2/stinger/

Dale McInnis


"GB" <bo********@bigfoot.com> wrote in message
news:40********@news.deckpoint.ch...
Hi,

I'm trying to find an easy, efficient and safe site-to-site
backup/failover solution.
The idea is to have anytime a remote copy of 99.99% of the data.

Productive db -> VPN (internet) -> Backup site
source destination
Replication:
Slows down productive db
Quite difficult to invert the replication, backup site cannot go live
then back to the normal (backup) state again

Log shipping:
Quite a lot of data can be lost since the logfile size cannot always be
reduced

Has someone here some good or bad experiences doing this ?
Any ideas about bandwidth usage ?

Thanks, Greg

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: RYAN | last post by:
Hi All, I am new to Oracle and I have some question that I hope that someone out there can help me. I have heard the Oracle Rman can do replication of Archives logs. In this way, one can...
2
by: BobF | last post by:
I'd like to use log shipping to provide warm backup to some production MSFT SQL 2000 servers. I know that I can write something to ship logs but I'm looking for a complete solution that would take...
0
by: Eric | last post by:
Hi, Ive a few questions and would be grateful for any assistance/comments from experience as Ive not that much dba experience , we have 3 servers all containing sql 2000 standard edition, two...
1
by: T.Paakki | last post by:
I need to implement a dirt cheap replication method for some dirt cheap servers. We are using the SQL Server workgroup license. Is there anything in this that prevents using log shipping for...
2
by: Ian Wyld | last post by:
Hello All We intend to replicate a database in order to have it as a near immediate standby in case of the failure of the main server. Is this the best solution for disaster recovery? We...
1
by: Vincento Harris | last post by:
Is there any problem with implementating some kind of replication and backing up transaction logs at the same time? SQL Server 2000 Standard Edition The server is configured to back up log files...
12
by: debian mojo | last post by:
Hello Group, I'm working on two SQL server databases on two different remote servers. What client needs is that his database on one remote server should be mirrored to the other one. The changed...
3
by: Driesen via SQLMonster.com | last post by:
Hi everybody Can I replicate a database onto a seperate instance of SQL? I need to replicate a database to a stand-alone machine with no connectivety to anything. Does anyone know where I can...
5
by: Tony Hinkle | last post by:
I am working on an application note to provide instructions on how to use a real-time file replication application to provide disaster recovery for DB2. I basically need to know how to identify...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.