启动 Oracle进程

 
  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 2009
    
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options

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

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值