After the ORACLE11g system is reinstalled, follow the dbf recovery database tutorial, oracle11gdbf

Source: Internet
Author: User

After the ORACLE11g system is reinstalled, follow the dbf recovery database tutorial, oracle11gdbf

1. install an oracle environment consistent with the original system, including version, data name sid, Instance name, path, and database code

2. Modify the parameters of listener. ora.

<Span style = "color: #455353;"> SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = PLSExtProc) (ORACLE_HOME = D: \ oracle \ product \ 10.1.0 \ db_1) (PROGRAM = extproc) </span> <span style = "color: # ff0000;"> (SID_DESC = (GLOBAL_DBNAME = orcl) // If the orcl already exists, this file does not need to be modified (ORACLE_HOME = D: \ oracle \ product \ 10.1.0 \ db_1) // This file must be based on your actual path (SID_NAME = orcl )) </span> <span style = "color: #455353;">) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = lypch) (PORT = 1521) (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC) </span>

3. Modify the parameters of tnsnames. ora

AMMICLY = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = lypch) (PORT = 1521) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl) (UR = A) // The parameter allows only management connections. When the database is nomount, mount, or restricted and the status of dynamic listening is BLOCKED, the client configures UR = A to connect. ) EXTPROC_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC) (CONNECT_DATA = (SID = PLSExtProc) (PRESENTATION = RO )))

4. SQL> shutdown immediate stop the service, back up and delete the newly installed dbf from oracle, and copy the original dbf to the newly installed directory F: \ app \ toshba \ oradata \ orcl

5. The FLASH_RECOVERY_AREA directory in the home directory of the original oracle Database overwrites the directory of the newly installed oracle database.

6. SQL> startup start the service again

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.