歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> Linux平台下多個Oracle實例的啟動教程

Linux平台下多個Oracle實例的啟動教程

日期:2017/3/2 10:08:03   编辑:關於Linux

環境說明: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,以同樣的方法啟動數據庫。當然關閉方法也相同。

Copyright © Linux教程網 All Rights Reserved