首页 > Linux操作系统 > Linux操作系统 > HOWTO--Starting and Stopping Oracle on Windows(zt)

HOWTO--Starting and Stopping Oracle on Windows(zt)

原创 Linux操作系统 作者:vongates 时间:2019-03-20 16:06:06 0 删除 编辑

Starting and Stopping on Windows

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 is used on the Windows platform to perform these tasks.

C:oracle9ibinoradim -startup -sid ORCL92 –usrpwd manager
-starttype SRVC,INST -pfile C:oracle9iadminORCL92pfileinit.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 (SRVC, INST).

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

C:oracle9ibinoradim -shutdown -sid ORCL92 -shutttype SRVC,INST
–shutmode A

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 (ORACLE_HOMEdatabaseOraDim.Log). This file should be checked for errors after each oradim command is executed.

The oradim utility provides more than just the ability to start and stop Windows databases. oradim can create and edit databases. It also allows DBAs to configure script-based installation mechanisms, bypassing the Oracle Database Configuration Assistant’s graphical user interface (GUI).

For a reference of all oradim commands, use the oradim–help command.

来自 “ ITPUB博客 ” ,链接:,如需转载,请注明出处,否则将追究法律责任。

上一篇: 母亲节
请登录后发表评论 登录


  • 博文量
  • 访问量