基礎知識:Oracle資料庫的啟動方式

來源:互聯網
上載者:User

1、startup nomount非安裝啟動,這種方式啟動下可執行:重建控制檔案、重建資料庫

啟動instance,即啟動SGA和後台進程,這種啟動只需要init.ora檔案。

2、startup mount dbname

安裝啟動,這種方式啟動下可執行:資料庫日誌歸檔、資料庫恢複、重新命名一些資料庫檔案

執行“nomount”,然後開啟控制檔案。

3、startup open dbname先執行“nomount”,然後執行“mount”,再開啟包括Redo log檔案在內的所有資料庫檔案,

這種方式下可訪問資料庫中的資料。

4、startup,等於以下三個命令startup nomount

alter database mount

alter database open

5、startup restrict約束方式啟動

這種方式能夠啟動資料庫,但只允許具有一定特權的使用者訪問

非特權使用者訪問時,會出現以下提示:

ERROR:

ORA-01035: Oracle 只允許具有 RESTRICTED SESSION 許可權的使用者使用

6、startup force強制啟動方式

當不能關閉資料庫時,可以用startup force來完成資料庫的關閉

先關閉資料庫,再執行正常啟動資料庫命令

7、startup pfile=參數檔案名稱

帶初始化參數檔案的啟動方式

先讀取參數檔案,再按參數檔案中的設定啟動資料庫

例:startup pfile=E:\Oracle\admin\oradb\pfile\init.ora

8、startup EXCLUSIVE

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.