Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

Free Oracle Tips

HTML Text

 Home
 E-mail Us
 Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB   


 

 

 


 

 

 
 

Oracle Windows oradim Utility

Oracle Tips by Burleson Consulting
Don Burleson

The following is from the book Oracle Utilities

 

 


 Starting and Stopping Oracle on Windows with oradim

The dbstart and dbstop shell scripts do not exist on Windows platforms. Consequently Oracle database startup and shutdown is implemented completely differently. The oradim utility provides more than just the ability to start and stop Windows databases. Windows oradim can create and edit databases. It also allows DBAs to configure script-based installation mechanisms.

 

The oradim utility is used on the Windows platform to perform these tasks.

C:\oracle9i\bin\oradim -startup -sid ORCL92 –usrpwd manager
-starttype SRVC,INST -pfile C:\oracle9i\admin\ORCL92\pfile\init.ora


  • startup – Indicates that the specified instance should be started.
  • sid – The SID of the database to start.
  • usrpwd – The password for the database user.
  • starttype – Specifies whether to start the instance, the service, or both

 

 

Startup - The following command can be used to start the instance with oradim:

C:\oracle\bin\oradim –startup –sid MYSID

Shutdown - The following command can be used to shutdown the instance with oradim:

C:\oracle\bin\oradim -shutdown -sid MYSID -shutttype SRVC,INST –shutmode A

 

Create instance - The following command can be used to create an instance with oradim:

C:\oracle\bin\oradim –new –sid MYSID –intpwd <pwd> –maxusers 20 startmode auto –pfile initMYSID.ora

Delete Instance - The following command can be used to delete an instance with oradim:

C:\oracle\bin\oradim
–delete –sid
MYSID


Notice that no password is needed to perform this task.

The shuttype parameter specifies what is to be stopped – the service (SRVC), the instance (INST), or both (SRVC, INST). The shutmode specifies the method that should perform the shutdown – (A)bort, (I)mmediate, or (N)ormal.

Each operation, regardless of success, is logged in the oradim log file.


The ORADIM utility only exists on Windows.  It is the command-prompt tool that creates, deletes, stops, and starts instances.  If you have UNIX scripts that create databases, you can still use them (modified of course), but you will need to run ORADIM first to actually create the Instance.  This command is what actually creates the Windows Service that runs the Instance.
 
An example of creating a new Instance for ORCL is:
 
Oradim –new –sid ORCL –intpwd maxusers 4 startmode auto –pfile initSID.ora
 
An example of deleting the Instance for ORCL is:
 
Oradim –delete –sid ORCL
 
An example of a shutdown and startup.  These can be used in scripts, such as for a cold backup.
 
Oradim –shutdown –sid ORCL –usrpwd / -shuttype inst, srvc –shutmode i
 
Oradim –startup –sid ORCL



For a reference of all oradim commands, use the oradim scripts here.

oradim script download 

Oracle Windows oradim Utility

Auto start Oracle Automatically

Batch script to start Oracle Windows services

Advanced Oracle Utilities - Oracle ORADIM Utility

How to start Oracle Windows services

Oracle Utilities Starting and Stopping Oracle on Windows

Oracle on Windows for Unix Users

 



 

 

  
 

 
 
 
 
Oracle performance tuning software
 
 

 

 
 
 
Oracle performance Tuning 10g reference poster
 
 
 
Oracle training in Linux commands
 
Oracle training Excel
 
Oracle training & performance tuning books
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2012 

All rights reserved.

Oracle © is the registered trademark of Oracle Corporation.