Change database instance name

Source: Internet
Author: User
Welcome to the Oracle community forum and interact with 2 million technical staff to change the database instance name env: Windows + oracle8i ---------------------------------- 1. besuredatabaseclosed. ifnot, pleaseshudownfirst.2. use oradim to create a service, ORADIM-NEW-SIDnew

Welcome to the Oracle community forum and interact with 2 million technical staff> go to change database instance name env: Windows + oracle8i ------------------------------------ 1.Be sure database closed. if not, please shutdown first. 2. oradim can be used to create a service, ORADIM-NEW-SID new

Welcome to the Oracle community forum and interact with 2 million technical staff> enter

Change database instance name

Env: Windows + oracle8i
----------------------------------

1. Be sure database closed. if not, please shutdown first.

2. You can use oradim to create a service,
> ORADIM-NEW-SID newname-INTPWD pwdnewname. pwd-startmode auto-PFILE yourpfile, then you can see the new servcie.

3. Be sure the ORACLE_SID is set in the registry correctly. Goto
Start button --> RUN --> type regedt32 -->
Goto the following directory tree within the registry-
HKEY_LOCAL_MACHINE-> SOFTWARE-> ORACLE-
Highlight ORACLE-look on the left side look for ORACLE_SID =
To change you can highlight ORACLE_SID-right click on your mouse and
Select modify.
Enter the SID.
The above is only valid when using DEFAULT_HOME, when you have another
Home then you need to highlight that HOME under ORACLE key
Usually HOME1-HOMEx. No spaces can be entered after the = when setting ORACLE_SID
At the DOS Prompt, set oracle_sid = xyz shocould be used and not
Set oracle_sid = xyz

4. Be sure the new instance is started Goto
Start --> Settings --> Control Panel --> Services
And check if the database service is started.

5 .. in Command line prompt, SET ORACLE_SID = NEWNAME

6. Startup the database, then you can view v $ instance, you will see your new instance name here.

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.