Overview of Instance and Crash Recovery
doc的原話,記錄一下
[@more@]Overview of Instance and Crash Recovery
Crash recovery is used to recover from a failure either when a single-instance database fails or all instances of an Oracle Real Application Clusters database fail. Instance recovery refers to the case where a surviving instance recovers a failed instance in an Oracle Real Application Clusters database.
The goal of crash and instance recovery is to restore the data block changes located in the cache of the terminated instance and to close the redo thread that was left open. Instance and crash recovery use only online redo log files and current online datafiles. Oracle recovers the redo threads of the terminated instances together.
Crash and instance recovery involve two distinct operations: rolling forward the current, online datafiles by applying both committed and uncommitted transactions contained in online redo records, and then rolling back changes made in uncommitted transactions to their original state.
Crash and instance recovery have the following shared characteristics:
Redo the changes using the current online datafiles (as left on disk after the failure or
SHUTDOWN
ABORT
)Use only the online redo logs and never require the use of the archived logs
Have a recovery time governed by the number of terminated instances, amount of redo generated in each terminated redo thread since the last checkpoint, and by user-configurable factors such as the number and size of redo log files, checkpoint frequency, and the parallel recovery setting
Oracle performs this recovery automatically on two occasions:
At the first database open after the failure of a single-instance database or all instances of an Oracle Real Applications Cluster database (crash recovery).
When some but not all instances of an Oracle Real Application Clusters configuration fail (instance recovery). The recovery is performed automatically by a surviving instance in the configuration.
The important point is that in both crash and instance recovery, Oracle applies the redo automatically: no user intervention is required to supply redo logs. However, you can set parameters in the database server that can tune the duration of instance and crash recovery performance. Also, you can tune the rolling forward and rolling back phases of instance recovery separately.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/19602/viewspace-1047823/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【Oracle】-Difference between Instance recovery and Crash RecoveryOracle
- postgres crash recovery
- Overview of Instance and Database Startup (289)ViewDatabase
- Crash recovery和Media recovery的區別
- SQL Server進行Crash RecoverySQLServer
- Overview of Database and Instance Shutdown (302)ViewDatabase
- MySQL crash recovery恢復慢分析MySql
- MySQL InnoDB Update和Crash Recovery流程MySql
- RAC筆記之instance recovery筆記
- vip/public ip斷網,導致instance crash
- oracle RECOVERY_PARALLELISM與instance recovery和medium recovery的關係小記OracleParallel
- MySQL:Innodb crash recovery一些程式碼MySql
- "alter system kill session" can crash the instance if IO slaves usedSession
- 關於INSTANCE RECOVERY過程的理解
- oracle instance recovery例項恢復小記Oracle
- RAC Instance Crash with ORA-600: [Kjbmprlst:Shadow] (Doc ID 740028.1)
- ORA-00265: instance recovery required, cannot set ARCHIVELOGUIHive
- ORA-00265: instance recovery required, cannot set ARCHIVELOG modeUIHive
- fusion-io 卡使用率 100% 導致 Oracle RAC instance crash 問題Oracle
- 【案例】利用innodb_force_recovery解決MySQL伺服器crash無法重啟問題MySql伺服器
- 【案例】利用innodb_force_recovery 解決MySQL伺服器crash無法重啟問題MySql伺服器
- zt_例項恢復instance recovery相關原理精簡總結(原創)
- Flutter OverviewFlutterView
- dart class overviewDartView
- Stormstarter-OverviewORMView
- Overview of PartitioningView
- Overview of Database CheckpointsViewDatabase
- Overview of Unix ResourcesView
- oracle function overviewOracleFunctionView
- Item Import OverviewImportView
- Overview of Extents(11)View
- Overview of Partitioned IndexesViewIndex
- Overview of Tablespaces (38)View
- Overview of Views (174)View
- Overview of Datafiles (62)View
- Overview of Segments (22)View
- 沃趣微講堂 | PXC、MGC&MGR原理與實踐對比(八):PXC、MGC和MGR crash recoveryGC
- 例項恢復(Instance Recovery)之前滾(Rolling Forward)和回滾(Rolling Back)Forward