To create a routine:
-new-sid SID | -SRVC Service [-intpwd password] [-maxusers quantity] [-startmode a|m] [-pfile file] [-timeout sec]
Edit routine:
-edit-sid SID [-newsid SID] [-intpwd password] [-startmode auto|manual] [-pfile filename] [-shutmode a|i|n] [-shuttype srvc|i Nst|srvc,inst] [-timeout sec]
To delete a routine:
-delete-sid SID | -SRVC Service Name
Start Services and Routines:
-startup-sid SID [-usrpwd password] [-starttype srvc|inst|srvc,inst] [-pfile filename]
To turn off services and routines:
-shutdown-sid SID [-usrpwd password] [-shuttype srvc|inst|srvc,inst] [-shutmode a | i | n]
Query Help:
-? | -H | -help
Related instructions:
-sid SID Specifies the name of the instance to start
-SRVC service Specifies the name of the service to start
-usrpwd password Specifies the password for the internal user, if logged on as an NT administrator, do not use this parameter
The-pfile file name is an instance indicating the initialization parameter file, and if the parameter file is in Oracle's default location, this command is not required
-starttype Srvc|inst|srvc,inst indicates what to start srvc-only start the service inst-boot 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, parameter options ditto
-startmode A|m represents the mode A-auto (Automatic) M-manual method (manual) used by the startup instance
-shutmode A|i|n indicates the shutdown mode a-abort mode used by the terminating instance i-immediate the way N-normal
Example:
1. Generate a new instance management service in the service, starting with manual
Oradim-new-sid test-startmode Manual-pfile "D:\Oracle\admin\test\pfile\inittest.ora
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 and-SRVC oracleservicetest equivalence
2. Delete this instance or service
Oradim-delete-sid Test
ORADIM-DELETE-SRVC Oracleservicetest
3. Edit this instance to start with manual
Oradim-edit-sid Test-startmode Manual
4. Edit this instance and start the method automatically
Oradim-edit-sid Test-startmode Auto
5. Start test
Oradim-startup-sid Test
Oradim-startup-sid Test-starttype Srvc,inst
6. Start Test Service only
Oradim-startup-sid Test-starttype SRVC
7. Start test instance only
Oradim-startup-sid Test-starttype Inst
8. Close Test
Oradim-shutdown-sid Test
Oradim-shutdown-sid Test-shuttype Srvc,inst
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.