启动 Oracle进程

来源:互联网 发布:二王一马 知乎 编辑:程序博客网 时间:2024/05/23 21:46
 
  1. 使用Putty工具登录OMU服务器,Putty工具的使用方法请参见Putty工具操作。
  2. 执行su - oracle命令,输入“oracle”用户的密码,将当前用户切换为“oracle”用户。
  3. 执行命令sqlplus / as sysdba,以系统用户登录数据库。

    屏幕输出如下:

    SQL*Plus: Release 11.1.0.7.0 - Production on Mon Mar 30 18:40:13 2009Copyright (c) 1982, 2008, Oracle.  All rights reserved.Connected to:Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing options

  4. 执行命令startup,输出结果根据Oracle数据库进程状态有所不同:

    • 如果数据库进程已经正常启动,则执行该操作后输出结果类似:
      SQL> startupORA-32004: obsolete and/or deprecated parameter(s) specifiedORA-01081: cannot start already-running ORACLE - shut it down first
    • 如果执行命令startup之前数据库进程已经停止,执行该指令后输出结果类似:
      ORACLE instance started. Total System Global Area 2147483648 bytesFixed Size                  2074152 bytesVariable Size             620759512 bytesDatabase Buffers         1509949440 bytesRedo Buffers               14700544 bytesDatabase mounted.Database opened.
      表示将停止的数据库进程启动。请转到查看Oracle进程,检查数据库进程状态。

原创粉丝点击