Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > IBM DB2 > Re: overflowlog...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 9075 of 9520
Post > Topic >>

Re: overflowlogpath and hadr

by "Steve Pearson (news only)" <stevep222@[EMAIL PROTECTED] > Jul 15, 2008 at 03:39 PM

You didn't mention under what conditions you want the answer, but...

There are at least the following situations where some part of HADR
may be looking for an existing log file.

Scenarios:

(1) HADR Standby needs to read a log file during "local
catchup" (initial processing similar to crash recovery, if needed, and
beginning rollforward).

(2) HADR Primary needs to ****p log data from a log file to HADR
Standby while the standby is performing "remote catchup" (after local
catchup; standby continues to catch up to primary using log data from
older log files not found on standby but that can be retrieved at
primary).

I would think that in case (1) the log file in overflowpath should be
found (at least if a copy of same named file does not already exist in
the active log path).  The HADR standby behaves much like a
rollforward process, and overflowlogpath is one place rollforward
should look for a log file.  In fact, either rollforward or HADR could
potentially restore a log file to the overflowlogpath.

In case (2), I'm not as certain.  When the primary needs to find an
old log file to ****p to the standby, it is not in a rollforward type
environment.  I don't know if it would find a log file previously
placed in overflowlogpath, though that would be nice :-) behavior.  If
the primary must restore an old log file from archive in order to ****p
it to the standby, it could presumably end up using overflowlogpath as
the target for that restore; in that case it should of course find the
file.  So my guess (not verified by experience or experimentation) is
more likely than not files in overflowlogpath would be seen in this
case as well -- likely the common code to find a log file to read
looks in all the usual places no matter where in DB2 it is invoked.

Regards,
 - Steve P.
--
Steve Pearson, DB2 for Linux, UNIX, and Windows, IBM Software Group
"****tland" Development Team, IBM Beaverton Lab, Beaverton, OR, USA
 




 2 Posts in Topic:
overflowlogpath and hadr
Ultrak The DBA <truthi  2008-07-10 13:05:55 
Re: overflowlogpath and hadr
"Steve Pearson (news  2008-07-15 15:39:36 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 20:30:46 CST 2008.