 |
|
Oracle Tips by Burleson |
Oracle 10g remove_logfile
procedure
In previous releases, the removefile option with
add_logfile was used to remove redo log files from the LogMiner
environment. With Oracle Database 10g, that option is deprecated.
Now, you can remove redo log files with the newly added
remove_logfile procedure of the dbms_logmnr package.
For example, to remove the redo log file
'/data1/oracle/logs/redolog2.dbf', from the LogMiner session,
execute the following statement
SQL> EXECUTE
DBMS_LOGMNR.REMOVE_LOGFILE( -
LOGFILENAME => '/data1/oracle/logs/redolog2.dbf');
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

|