Home
Author Forum
Author Resources
Author FAQ
Author Tips
Publishers
Oracle Tips
Oracle News
Oracle Forum

 

   
  Oracle Tips by Burleson

Oracle 10g Automatic Determination of Redo Log Files

In Oracle Database 10g, when you are using the LogMiner against the same database that generated the redo log files, LogMiner scans the control file and determines the redo log files needed, based on the requested time or SCN range. You no longer need to map the time frame to an explicit set of redo log files.

For this scan to occur, you need to use the continuous_mine option and specify startscn or starttime.

The following example shows the syntax:

SQL> ALTER SESSION SET NLS_DATE_FORMAT =
     ’DD-MON-YYYY HH24:MI:SS’;

SQL> EXECUTE DBMS_LOGMNR.START_LOGMNR( -
2 STARTTIME => '19-Sep-2003 10:15:00', -
3 ENDTIME => '19-Sep-2003 10:45:00', -
4 DBMS_LOGMNR.CONTINUOUS_MINE);


Get the complete Oracle10g story:

The above text is an excerpt from "Oracle Database 10g New Features: Oracle10g Reference for Advanced Tuning and Administration", by Rampant TechPress.  Written by top Oracle experts, this book has a complete online code deport with ready to use scripts. 

To get the code instantly, click here:

http://rampant-books.com/book_2003_2_oracle10g.htm


Need an Oracle Mentor?

BEI is now offering personal mentors for Oracle DBAs where you can have an Oracle expert right at your fingertips, anytime day or night. We work with hundreds of Oracle databases every year, so we know exactly how to quickly assist you with any Oracle question.

Why risk an unplanned outage? You can now get telephone access to Don Burleson or any of his Oracle Certified DBAs with more than 20 years of full-time IT experience. Click here for details:

http://www.dba-oracle.com/service_oracle_backup.htm

BC Oracle consulting & Training Support logo

Rampant Oracle Books and downloads

Remote DBA Oracle logo 

 

Copyright 2006 by Burleson Consulting (BC)