|
INTERVIEW QUESTIONS
ORACLE
BACKUP AND RECOVERY
DETAILS
Question: What happens actually in case of instance Recovery?
Answer: While Oracle instance fails, Oracle performs an Instance Recovery when the associated database is being re-started. Instance recovery occurs in 2 steps: Cache recovery: Changes being made to a database are recorded in the database buffer cache as well as 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 these data are written to data files, Oracle uses 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 which is used to restore the original values in case the 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.
|
|
|
Category |
Backup and Recovery Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 8723 users |
Added on |
8/1/2016 |
Views |
68426 |
Rate it! |
|
|
Question:
What happens actually in case of instance Recovery?
Answer:
While Oracle instance fails, Oracle performs an Instance Recovery when the associated database is being re-started. Instance recovery occurs in 2 steps: Cache recovery: Changes being made to a database are recorded in the database buffer cache as well as 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 these data are written to data files, Oracle uses 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 which is used to restore the original values in case the 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. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
How to check RMAN version in Oracle?
|
View Answer
|
|
How to put Manual/User managed backup in RMAN?
|
View Answer
|
|
Why RMAN incremental backup fails even though full backup exists?
|
View Answer
|
|
Can we use Same target database as Catalog database?
|
View Answer
|
|
What is the difference between HOTBACKUP and RMAN backup?
|
View Answer
|
|
How would you recover that transaction which is not in backup?
|
View Answer
|
|
What is the benefit of running the DB in archivelog mode over no archivelog mode?
|
View Answer
|
|
What is the difference between Complete and Incomplete Recovery?
|
View Answer
|
|
What is difference between Restoring and Recovery of database?
|
View Answer
|
|
What is the steps for recovery of missing data file? and the steps for physical stand by database creation?
|
View Answer
|
|
What is the steps for recovery with missing online redo logs?
|
View Answer
|
|
What are the steps involved in Database Startup ?
|
View Answer
|
|
What are the steps involved in Database Shutdown ?
|
View Answer
|
|
What is Restricted Mode of Instance Startup ?
|
View Answer
|
|
What are the different modes of mounting a Database with the Parallel Server ?
|
View Answer
|
|
What is Full Backup ?
|
View Answer
|
|
Can Full Backup be performed when the database is open ?
|
View Answer
|
|
What is Partial Backup ?
|
View Answer
|
|
What is On-line Redo Log?
|
View Answer
|
|
What is Mirrored on-line Redo Log ?
|
View Answer
|