Recovery of temporary table space enhancements with Rman in Oracle 10g

Source: Internet
Author: User

We know that in previous versions of ORACLE10GR2, temporary files for temporary tablespace are not automatically restored if you use Rman to recover the database.

This has caused a series of problems, many DBAs forget to add temporary files after the recovery is complete, often to the application error to discover.

Starting with ORACLE10GR2, Oracle will automatically re-create the temporary files after using Rman to recover the database, and because the temporary files are sparse file, the creation will be very rapid and usually you won't feel it.

The following is a log that I recovered, documenting Oracle's recovery process:

Thu Sep 22:52:06 2006
successfully onlined Undo tablespace 1.
Dictionary Check beginning
Thu Sep 22:52:06 2006
Errors in file/opt/oracle/admin/order/bdump/order_dbw0_31025 . TRC:
Ora-01157:cannot identify/lock data file 201-see dbwr trace file
Ora-01110:data file 201: '/data1/oradat A/order/datafile/o1_mf_temp_28spyr8h_.tmp '
ora-27037:unable to obtain file status
Linux error:2: No such file or Directory
Additional information:3
Thu Sep 22:52:06 2006
Errors in File/opt/oracle/admin/order/bdump/ord ER_DBW0_31025.TRC:
Ora-01186:file 201 Failed verification tests
Ora-01157:cannot identify/lock data File 201-s EE dbwr trace File
Ora-01110:data file 201: '/data1/oradata/order/datafile/o1_mf_temp_28spyr8h_.tmp '
Thu Sep 14 2 2:52:06 2006
File 201 not verified due to error ORA-01157
Thu Sep 22:52:06 2006
Dictionary Check complete Thu Sep 22:52:06 2006
smon:enabling TX Recovery
ThU Sep 22:52:06 2006
Re-creating tempfile/data1/oradata/order/datafile/o1_mf_temp_28spyr8h_.tmp as
/data1/ Oradata/order/datafile/o1_mf_temp_2jlv4p90_.tmp
Database Characterset is ZHS16GBK
Replication_dependency_ Tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pi d=22, OS id=13671
Thu Sep 22:52:10 2006
logstdby:validating controlfile with logical metadata
Thu SEP 14 2 2:52:10 2006
Logstdby:validation complete
Starting control Autobackup
Control autobackup written to DISK Devi Ce
handle '/opt/oracle/product/db10g/dbs/c-1341966532-20060914-03 '
Completed:alter database open resetlogs

This is also a meticulous improvement of ORACLE10GR2.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.