1 Answer - Sort by: Date | Rating
When an Oracle instance fails,Oracle performs an instance recovery when the associated database is re-started.
Instance recovery occurs in two steps:
Cache recovery: Changes being made to a database are recorded in
the database buffer cache. These changes are also recorded in online redo log
files simultaneously. When there are enough data in the database buffer cache,
they are written to data files. If an Oracle instance fails before the data in
the database buffer cache are written to data files, Oracle uses the data
recorded in the online redo log files to recover the lost data when the
associated database is re-started. This process is called cache recovery.
Transaction recovery: When a transaction modifies data in a
database, the before image of the modified data is stored in an undo segment.
The data stored in the undo segment is used to restore the original values in
case a transaction is rolled back. At the time of an instance failure, the
database may have uncommitted transactions. It is possible that changes made by
these uncommitted transactions have gotten saved in data files. To maintain
read consistency, Oracle rolls back all uncommitted transactions when the
associated database is re-started. Oracle uses the undo data stored in undo
segments to accomplish this. This process is called transaction recovery.
Instance recovery occurs in two steps:
Cache recovery: Changes being made to a database are recorded in
the database buffer cache. These changes are also recorded in online redo log
files simultaneously. When there are enough data in the database buffer cache,
they are written to data files. If an Oracle instance fails before the data in
the database buffer cache are written to data files, Oracle uses the data
recorded in the online redo log files to recover the lost data when the
associated database is re-started. This process is called cache recovery.
Transaction recovery: When a transaction modifies data in a
database, the before image of the modified data is stored in an undo segment.
The data stored in the undo segment is used to restore the original values in
case a transaction is rolled back. At the time of an instance failure, the
database may have uncommitted transactions. It is possible that changes made by
these uncommitted transactions have gotten saved in data files. To maintain
read consistency, Oracle rolls back all uncommitted transactions when the
associated database is re-started. Oracle uses the undo data stored in undo
segments to accomplish this. This process is called transaction recovery.
0
0
Cache Recovery (Rolling Forward)During the cache recovery step,
Oracle applies all committed and uncommitted changes in the redo log files to
the affected data blocks. The work required for cache recovery processing is
proportional to the rate of change to the database (update transactions each
second) and the time between checkpoints.
Oracle applies all committed and uncommitted changes in the redo log files to
the affected data blocks. The work required for cache recovery processing is
proportional to the rate of change to the database (update transactions each
second) and the time between checkpoints.
Transaction Recovery (Rolling Back)To make the database consistent,
the changes that were not committed at the time of the crash must be undone (in
other words, rolled back). During the transaction recovery step, Oracle applies
the rollback segments to undo the uncommitted changes.
the changes that were not committed at the time of the crash must be undone (in
other words, rolled back). During the transaction recovery step, Oracle applies
the rollback segments to undo the uncommitted changes.
- Hi What's The Main Difference Between Oracle 10g & 11i?
- Which Types Of Backups You Can Take In Oracle?
- How We Uninstall Oracle?
- How To Increase Sga Size Dynamically In Oracle 10g?
- Pls Advice Good Oracle DBA Course Centres In Bangalore With Good Trainer And Less Fees?
- What Are The Ways Of Connecting To The Net?
- What Is Online Redo Log Files?
- What Is The Diff Between Oracle 8i,9i,10g From Developer Point Of View?
- Difference Between Looping Statements In C And Oracle?
- Which Is The Best Institute For Oracle In Chennai?
- How Can I Connect Vb With Oracle Through Properties Connectivity And Coding Both?
- Through Properties Connectivity How We Connect Vb With Oracle?
- What Is A Redo Logfile?
- Is Oracle Course Iis Necessary For To Get A Better Job?
- How Can I Connect Oracle Database From VB6 Code Using ADO DB Connection?
- Who Or What Is The Oracle At Delphi And Why Do The The Bans Hope This Oracle Can Help Them?
- How Do I Move A Database From My Pc To The Server?
- Which King Consulted The God Through The Use Of Oracle Bones?
- What Is Mean By Citect Scada Cluster?
- How To Find The Setup Of Oracle 9i?
- How Can You Upgrade Your Apps If You Don't Have The Money?
- How To Setup The Cluster?
- What Is Trigger And How We Will Use It In Oracle?
- How To Connect VB With Oracle?
- Why Is NI-ST Is Concerned About IEEE's 802.11i WLAN?
- What's A Database Instance?
- What Is An Oracle Instance?
- What Is An Instance Diagram?
- What Is Instance Of Class?
- What Is The Use Of Instance Variable In Java?
- What Is 'Instance Of' Operator In Java?
- What Are Class And Instance Members?
- What Is The Difference Between An Object And An Instance In Java?
- What Is The Difference Between URL Instance And URLConnection Instance?
- What Is The Difference Between Object, Reference And Instance?
- What's The Difference Among Object, Reference And Instance?
- Give Me A Instance Example In Java Program. Can You Help?

New Comment - Comments are editable for 5 min.