 |
|
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:
To get the code instantly, click here:
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

|