Oracle shutdown and startup
Shutdown
normal: 等待所有使用者斷開連線時,關閉資料庫、解除安裝資料庫和關閉例項。
immediate: 回滾所有使用者事務,關閉資料庫、解除安裝資料庫和關閉例項.
(注意是回滾)。
transactional:當所有使用者事務結束時,關閉資料庫、解除安裝資料庫和關閉例項
abort:立即終止例項。對使用者末交事務,下次啟動資料時恢復。
----------------------------------------------------------------------------
statup
startup nomount 啟動例項,如果在此狀態下開啟資料庫需要的操作:
Alter database mount
Alter database open
nomount是非安裝啟動,做的操作主要是讀取init.ora檔案,啟動instance,即啟動SGA和後臺程式,
劃分記憶體,程式。這種啟動只需要讀init.ora檔案。這種啟動方式下可執行:重建控制檔案、重建
資料庫,因為還沒有讀控制檔案。
-------------------------------------------------------
startup mount 啟動例項>;裝載資料庫,如果在此狀態下開啟資料庫需要的操作:
Alter database open
mount是安裝啟動,做的操作主要是:開啟控制檔案,確認資料檔案和聯機日誌檔案的位置,但此時
不對資料檔案和日誌檔案進行一致性,正確性等校驗檢查。這種啟動下可執行:
資料庫日誌歸檔、
資料庫介質恢復、
使資料檔案聯機或離線,
重新定位資料檔案、重做日誌檔案。
------------------------------------------------------
statup open/startup
啟動例項>;裝載資料庫>;開啟資料庫
這種方式又執行了開啟包括Redo log檔案在內的所有資料庫檔案,並檢查一致性等,進行crash恢復,
這種方式下可訪問資料庫中的資料。
-----------------------------------------------------
statup force 強制重啟資料庫
------------------------------------------------------------------------------
使用非預設引數檔案起動
STARTUP PFILE=引數檔案
注:遠端啟動資料時,系統尋找本地計算機的引數檔案。
----------------------------------------------------
以限制方式開啟資料
STARTUP RESTRICT
ALTER SYSTEM [ENABLE|DISABLE] RESTRICTED SESSION
只有RESTRICTED SESSION許可權的使用者才能登入。
-----------------------------------------------------
只讀方式開啟資料
ALTER DATABASE OPEN READ ONLY
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-665620/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle Automatic Startup and Shutdown in Linux platformOracleLinuxPlatform
- FastAPI 學習之路(五十四)startup 和 shutdownASTAPI
- When to Use Startup / Shutdown DB and Alter Database Command in 12c_1582453.1Database
- oracle-startup過程Oracle
- Oracle startup mount exclusive作用Oracle
- oracle shutdown 引數對比Oracle
- oracle startup(nomount mount open restrict)OracleREST
- Oracle 資料庫啟動 startup和startup force的區別Oracle資料庫
- startup migrate、startup upgrade區別以及Oracle打補丁集文件(轉)Oracle
- startup,startup mount,startup nomount之間的區別
- Disable the automatic startup of the Oracle Clusterware (CRS|HAS) softwareOracle
- Oracle 啟動例程 STARTUP引數說明Oracle
- Unable to shutdown Oracle_20091203Oracle
- 【Oracle】startup hung 遇到 ORA-00443,ORA-00445Oracle
- Oracle10g startup報ORA-27102Oracle
- Server shutdown in progressServer
- startup mount與startup restrict mount有何區別REST
- Oracle 12CR2 Oracle Restart - ASM Startup fails with PRCR-1079OracleRESTASMAI
- STARTUP FORCE 理解
- Oracle關閉不了,SHUTDOWN: waiting for active calls to completeOracleAI
- ORA-01033: ORACLE initialization or shutdown in progress錯誤Oracle
- 關閉資料庫遇到SHUTDOWN: Active processes prevent shutdown operation資料庫
- Oracle例項關閉:SHUTDOWN: waiting for active calls to completeOracleAI
- ora-01033:oracle initialization or shutdown in progress 解決方法Oracle
- Oracle OCP IZ0-053 Q530(ASM Shutdown Normal)OracleASMORM
- CRS-4124: Oracle High Availability Services startup failed.OracleAI
- 透過alert日誌看Oracle Startup的三個階段Oracle
- oracle10g_rman_語法測試_spool_sql_startupOracleSQL
- MySQL Server Startup ScriptMySqlServer
- db支援共享模式連線的話shutdown通常會很慢(dispatcher shutdown)模式
- shutdown immediate alert出現SHUTDOWN: waiting for active calls to complete.AI
- DG配置錯誤:ORA-01033: ORACLE initialization or shutdown in progressOracle
- oracle 正常關閉shutdown immediate與開啟open資料庫alertOracle資料庫
- Oracle OCP 1Z0 053 Q77(ASM&Shutdown Immediate)OracleASM
- ORA-01033:ORACLE initialization or shutdown in progress錯誤解決Oracle
- 為ExecutorService增加shutdown hookHook
- shutdown,halt,reboot,init(轉)boot
- 啟動oracle10g的多個語句_startup相關Oracle