Ask the Expert

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

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: