Ask the Expert

The role of online redo logs

How do I determine that redo log has posted its entire data into the database/tablespace, while I do the database backup ?

    Requires Free Membership to View

The online redo logs do not post data into the tablespaces. That is not their job. The online redo logs are used for database recovery. These structures are used for "rolling forward" any changes made to the database in a recovery situation.

Furthermore, a COMMIT is not complete until the transaction has been written to the online redo logs. Notice that a COMMIT does not have to force data to be written to any tablespace's datafiles. The datafiles can be updated at a later time by the DBWR process.

When you take a backup while the database is up and running, then any changes made to the database are still logged in the online redo log files. This assists us in recovery should a failure take place.

For More Information

  • What do you think about this answer? E-mail the editors at editor@searchDatabase.com with your feedback.
  • The Best Oracle Web Links: tips, tutorials, scripts, and more.
  • Have an Oracle or SQL tip to offer your fellow DBAs and developers? The best tips submitted will receive a cool prize. Submit your tip today!
  • Ask your technical Oracle and SQL questions -- or help out your peers by answering them -- in our live discussion forums.
  • Ask the Experts yourself: Our SQL, database design, Oracle, SQL Server, DB2, metadata, object-oriented and data warehousing gurus are waiting to answer your toughest questions.

This was first published in February 2002

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: