Skip to Main Content
  • Questions
  • what is the reason for one extra standby redo log file?


Question and Answer

Tom Kyte

Thanks for the question, Inger.

Asked: December 01, 2014 - 3:25 pm UTC

Last updated: December 01, 2014 - 4:40 pm UTC

Version: 11g

Viewed 10K+ times! This question is

You Asked

In the manual I find stated that I must have one more standby redo log file per thread than I have ordinary redo log files, but no reason WHY.... can you explain a little bit?
here is the ref to the manual:
and here the statement of the fact:
The standby redo log must have at least one more redo log group than the redo log at the redo source database, for each redo thread at the redo source database.
Looking forward to the WHY.... best regards Inger

and Tom said...

It is a performance/buffering thing - to make sure the standby can keep up with buffering the redo log information at the standby site in periods of high activity on the source database.

if the source database has 2 groups - #1 and #2 - and is switching frequently during a burst in activity - we want to make sure the standby can keep up. Se we want it to have at least groups #1, #2, #3 so it can switch from #2 to #3 instead of #2 to #1 if it has to. That gives the standby a little breathing room to finish everything it needs to do against group #1 before it can be reused...

Is this answer out of date? If it is, please let us know via a Comment