If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Implement standby database which lags behind primary for certain time ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-04-09, 00:50
vilius vilius is offline
Registered User
 
Join Date: Nov 2007
Posts: 55
Implement standby database which lags behind primary for certain time ?

Hi,

To prevent logical mistake I want to implement standby database which lags behind primary database for certain time. I mean primary db is in operation and copies logs to standby database, while standby database waits certain time (for example 24h) and applies these logs - so basically standby database is 24 hours behind primary db.
The goal is to prevent logical mistake like accidental table deletion which basically doesn't break things but further work is not possible. There are other mechanisms on this system to prevent such errors as node down.

How do I implement that ? I was reading about db2 HADR and there are similarities - but one problem - standby database applies logs in no time - it doesn't wait any period of time. So how do I implement that - by using HADR options, or by other method ?


thanks
Vilius
Reply With Quote
  #2 (permalink)  
Old 02-04-09, 01:58
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
try log shipping
copy the archived logs to new system and rollforward at any time
to get the db active, you need to bring it out of rollforward state
to continue the log shipping - restore is needed
also with hadr - the standby db can not be accessed while in rollforward mode
maybe replication can help for you and start apply at certain times, so db is always available and up-to-date to whatever moment needed
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On