How do I determine that redo log has posted its entire data into the database/tablespace, while I do the database backup ?
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.
Dig deeper on Oracle database design and architecture
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.