ORA-01122 ORA-01110 ORA-01207 error for Oracle Database

Source: Internet
Author: User

Retain the data files, control files, and redo log files of the original database on Windows.

Reinstall the Windows system and redo the database.

1. Install Oracle database software

2. Use Oracle dbca to create a database with the same name as the original database

3. Back up the spfile file (usually in the $ ORACLE_HOME \ dbs directory) and generate a pfile (usually in the $ ORACLE_HOME \ database directory ):

SQL> create pfile from spfile;

4. Modify the path of the pfile control file. Path pointing to the control file of the original reserved Database

5. Start the database

SQL> startup

If the database is started to the mount State and cannot be started to the open state, the following error is usually reported:

ORA-01122: database file 1 Verification Failed

ORA-01110: Data File 1: 'e: \ ORACLE \ PRODUCT \ 10.2.0 \ ORADATA \ XBOMS \ system01.dbf'

ORA-01207: file ratio control file update-old control file

Solution:

Recreate the control file:

1. SQL> alter database backup controlfile to trace as 'e: \ trace ';

2. Shut down the database: shutdown immediate

3. Start: startup nomount

4. Open the 'e: \ trace 'file, run the following statement on the database command line, and recreate the control file.

Create controlfile reuse database "XBOMS" NORESETLOGS NOARCHIVELOG

MAXLOGFILES 16

MAXLOGMEMBERS 3

MAXDATAFILES 100

MAXINSTANCES 8

# MAXLOGHISTORY 292

LOGFILE

GROUP 1 'e: \ ORACLE \ PRODUCT \ 10.2.0 \ ORADATA \ XBOMS \ redo01.log' SIZE50M,

GROUP 2 'e: \ ORACLE \ PRODUCT \ 10.2.0 \ ORADATA \ XBOMS \ REDO02.LOG 'SIZE50M,

GROUP 3 'e: \ ORACLE \ PRODUCT \ 10.2.0 \ ORADATA \ XBOMS \ REDO03.LOG 'SIZE50M

DATAFILE

'E: \ ORACLE \ PRODUCT \ 10.2.0 \ ORADATA \ XBOMS \ system01.dbf ',

'E: \ ORACLE \ PRODUCT \ 10.2.0 \ ORADATA \ XBOMS \ undotbs01.dbf ',

'E: \ ORACLE \ PRODUCT \ 10.2.0 \ ORADATA \ XBOMS \ sysaux01.dbf ',

'E: \ ORACLE \ PRODUCT \ 10.2.0 \ ORADATA \ XBOMS \ users01.dbf ',

Character set ZHS16GBK

;

5. RECOVER DATABASE

6. alter database open;

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.