手动|| Linux平台下多个Oracle实例的启动教程

环境说明:Oracle实例1的SID为orcl1,实例2的SID为orcl2;
使用Oracle用户登陆:

  1. 启动监听:

    [oracle@dbserver01 ~]$ lsnrctl start

  2. 修改当前SID为需要启动的实例SID,如orcl1:

    [oracle@dbserver01 ~]$ export ORACLE_SID=orcl1 //切换实例

  3. 使用数据库管理员登陆后启动:

    [oracle@dbserver01 ~]$sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Thu May 2 09:00:54 2013
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> startup;
    ORACLE instance started.
    Total System Global Area 4275781632 bytes
    Fixed Size 2220200 bytes
    Variable Size 2332036952 bytes
    Database Buffers 1929379840 bytes
    Redo Buffers 12144640 bytes
    Database mounted.
    Database opened.
    SQL> exit

  4. 修改当前SID为orcl2,以同样的方法启动数据库。当然关闭方法也相同。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值