Excess redo logs in tablespace backup mode

Why are redo logs generated in excess when the tablespace is in the backup mode?

    Requires Free Membership to View

When you place a tablespace in BACKUP mode, Oracle guards the tablespace a little differently. It is possible that when backing up this tablespace, the datafile block that is currently being backed up undergoes a change due to some transaction. So the part of the block may be "old" and part may be "new" in your datafile backup. To guard against this, Oracle does not log just the transaction to the online redo logs. Instead, Oracle writes the entire block's contents to the online redo logs. This block normally contains more than just the one row of data affected by the transaction's change. Therefore, Oracle is writing more information to the online redo logs. When the tablespace is taken out of BACKUP mode, Oracle reverts to writing just the change vectors to the online redo logs.

This was first published in January 2008

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.