Introduction to Oracle Oradim

Source: Internet
Author: User

The following articles mainly introduce the actual usage of Oracle Oradim tools. First, we start with the creation routine, that is, the new sid | SRVC service [INTPWD Password] [MAXUSERS quantity] [STARTMODE a | m] [PFILE file] [TIMEOUT seconds.

Edit routine:

Edit sid sid [NEWSID sid] [INTPWD Password] [STARTMODE auto | manual] [PFILE file name] [SHUTMODE a | I | n] [SHUTTYPE srvc | inst | srvc, inst] [TIMEOUT seconds]

Delete routine:

Delete sid sid | SRVC service name

Start services and routines:

Startup sid sid [USRPWD Password] [STARTTYPE srvc | inst | srvc, inst] [PFILE file name]

Disable services and routines:

Shutdown sid sid [USRPWD Password] [SHUTTYPE srvc | inst | srvc, inst] [SHUTMODE a | I | n]

Query help:

? | H | help

Instructions:

SID sid specifies the name of the instance to be started

SRVC service name

USRPWD password specifies the password of an internal user. This parameter is not required if you log on as an NT administrator.

PFILE: Specifies the initialization parameter file for the instance. If the parameter file is in the default location of the Oracle Oradim tool, this command is not required.

STARTTYPE srvc | inst | srvc, inst indicates what srvc is to be started-only start the service inst-start the instance, the service must have started and started working srvc, inst-services and instances are started

SHUTTYPE srvc | inst | srvc. inst indicates what to terminate. The Parameter options are the same as above.

STARTMODE a | m indicates the mode in which the instance is started automatically in a-auto mode) m-manual mode manual)

SHUTMODE a | I | n indicates the shutdown mode used to terminate an instance. The a-abort mode I-immediate Mode n-normal mode is used.

Example:

1. generate a new instance Management Service in the service. The startup mode is manual.

 
 
  1. oradim NEW SID test STARTMODE manual PFILE "D:\Oracle\admin\test\pfile\inittest.ora  
  2. oradim NEW SRVC OracleServicetest STARTMODE manual PFILE "D:\Oracle\admin\test\pfile\inittest.ora  

Note: The valid service name is "OracleService" followed by "SID"

SID test is equivalent to SRVC OracleServicetest

2. Delete this instance or service

 
 
  1. oradim DELETE SID test  
  2. oradim DELETE SRVC OracleServicetest  

3. Edit the instance and change the startup mode to manual

 
 
  1. oradim EDIT SID test STARTMODE manual 

4. Edit the instance and change the startup mode to automatic

 
 
  1. oradim EDIT SID test STARTMODE auto 

5. The Oradim tool starts test

 
 
  1. oradim STARTUP SID test  
  2. oradim STARTUP SID test STARTTYPE srvc,inst  

6. Only start the test service

 
 
  1. oradim STARTUP SID test STARTTYPE srvc 

7. Only start the test instance

 
 
  1. oradim STARTUP SID test STARTTYPE inst 

8. Disable test.

 
 
  1. oradim SHUTDOWN SID test  
  2. oradim SHUTDOWN SID test SHUTTYPE srvc,inst   

The above content is an introduction to the usage of Oracle Oradim tools. I hope you will find some gains.

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.