Oracle reconstruction Control File Syntax

Source: Internet
Author: User

When the control file is lost in Oracle, sometimes we can only recreate the control file. The specific syntax is as follows:

Create controlfile reuse database "SQUAN" NORESETLOGS ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
# MAXLOGHISTORY 292
LOGFILE
GROUP 1'/opt/oracle/oradata/squan/redo01.log' SIZE 50 M,
GROUP 3 '/opt/oracle/oradata/squan/redo03.log' SIZE 50 M
-- STANDBY LOGFILE
DATAFILE
'/Opt/oracle/oradata/squan/system01.dbf ',
'/Opt/oracle/oradata/squan/undotbs01.dbf ',
'/Opt/oracle/oradata/squan/sysaux01.dbf ',
'/Opt/oracle/oradata/squan/users01.dbf ',
'/Opt/oracle/oradata/squan/test01.dbf ',
'/Opt/oracle/oradata/squan/test02.dbf'
Character set ZHS16GBK;

Note: The preceding statement does not contain the temp tablespace. After the database is restored, the temporary tablespace needs to be rebuilt.

Alter tablespace temp add tempfile '/opt/oracle/oradata/squan/temp01.dbf' size 30 m reuse;
Create temporary tablespace temp tempfile '/opt/oracle/oradata/squan/temp01.dbf' size 30 m

Backup, recovery, and multiplexing of Oracle Control Files

Oracle 10g Control File Corruption recovery

Oracle 10 Gb control file backup to file and manual recovery

Oracle 11g ORA-03113 failure, rebuilding Control Files

RMAN backup and recovery control file loss

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.