16 Copyright © 2005, Oracle. All rights reserved. Performing Database Recovery.

Slides:



Advertisements
Similar presentations
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Backup and Recovery Copyright System Managers LLC 2008 all rights reserved.
Advertisements

17 Copyright © 2005, Oracle. All rights reserved. Performing Flashback.
ITEC474 Control File Maintenance
10 Copyright © 2009, Oracle. All rights reserved. Managing Undo Data.
5 Copyright © 2006, Oracle. All rights reserved. Database Recovery.
Advanced Databases DBA: Backups 1. Advanced Databases Agenda Define backup Discuss Backup Terminology Explain various backup and restore options in Oracle.
Database Backup and Recovery
RMAN Restore and Recovery
Backup and Recovery (2) Oracle 10g CAP364 1 Hebah ElGibreen.
Backup and Recovery Part 1.
Harvard University Oracle Database Administration Session 11 Database Recovery.
CHAPTER 16 User-Managed Backup and Recovery. Introduction to User Managed Backup and Recovery Backup and recover is one of the most critical skills a.
Configuring Recovery Manager
4 Copyright © 2008, Oracle. All rights reserved. Configuring Backup Specifications.
Oracle9i Database Administrator: Implementation and Administration
Backup Concepts. Introduction Backup and recovery procedures protect your database against data loss and reconstruct the data, should loss occur. The.
Introduction to Oracle Backup and Recovery
Using RMAN to Perform Recovery
20 Copyright © 2004, Oracle. All rights reserved. Database Recovery.
13 Copyright © Oracle Corporation, All rights reserved. RMAN Complete Recovery.
5 Copyright © 2004, Oracle. All rights reserved. Using Recovery Manager.
5 Copyright © 2008, Oracle. All rights reserved. Using RMAN to Create Backups.
11 Copyright © Oracle Corporation, All rights reserved. RMAN Backups.
11 Copyright © Oracle Corporation, All rights reserved. RMAN Backups.
15 Copyright © 2005, Oracle. All rights reserved. Performing Database Backups.
Backup & Recovery Backup and Recovery Strategies on Windows Server 2003.
16 Copyright © 2007, Oracle. All rights reserved. Performing Database Recovery.
4 Copyright © 2006, Oracle. All rights reserved. Recovering from Noncritical Losses.
5 Copyright © 2004, Oracle. All rights reserved. Controlling the Database.
15 Copyright © 2007, Oracle. All rights reserved. Performing Database Backups.
9 Copyright © 2004, Oracle. All rights reserved. Flashback Database.
A Guide to Oracle9i1 Database Instance startup and shutdown.
16 Copyright © 2004, Oracle. All rights reserved. Undo Management.
7 Copyright © 2004, Oracle. All rights reserved. Recovering from Noncritical Losses.
Chapter 8Oracle9i DBA II: Backup/Recovery and Network Administration 1 Chapter 8 Complete Recovery with Recovery Manager.
15 Copyright © Oracle Corporation, All rights reserved. RMAN Incomplete Recovery.
Week 3 Lecture 1 The Redo Log Files and Diagnostic Files.
7 Copyright © 2005, Oracle. All rights reserved. Managing Undo Data.
IT Database Administration Section 09. Backup and Recovery Backup: The available options Full Consistent (cold) Backup Database shutdown, all files.
8 Copyright © Oracle Corporation, All rights reserved. Configuring the Database Archiving Mode.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
3 Copyright © 2006, Oracle. All rights reserved. Using Recovery Manager.
10 Copyright © Oracle Corporation, All rights reserved. User-Managed Backups.
Configuring the Database Archiving Mode
Overview of Oracle Backup and Recovery Darl Kuhn, Regis University.
12 Copyright © Oracle Corporation, All rights reserved. User-Managed Complete Recovery.
18 Copyright © 2004, Oracle. All rights reserved. Backup and Recovery Concepts.
6 Copyright © 2007, Oracle. All rights reserved. Performing User-Managed Backup and Recovery.
2 Copyright © 2007, Oracle. All rights reserved. Configuring for Recoverability.
8 Copyright © 2007, Oracle. All rights reserved. Using RMAN to Duplicate a Database.
3 Copyright © 2004, Oracle. All rights reserved. Creating an Oracle Database.
18 Copyright © 2004, Oracle. All rights reserved. Recovery Concepts.
7 Copyright © Oracle Corporation, All rights reserved. Instance and Media Recovery Structures.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
19 Copyright © 2004, Oracle. All rights reserved. Database Backups.
9 Copyright © 2004, Oracle. All rights reserved. Incomplete Recovery.
6 Copyright © 2005, Oracle. All rights reserved. Managing Database Storage Structures.
14 Copyright © 2007, Oracle. All rights reserved. Backup and Recovery Concepts.
4 Copyright © 2004, Oracle. All rights reserved. Managing the Oracle Instance.
Copyright  Oracle Corporation, All rights reserved. 3 Oracle Backup and Recovery Configuration.
Control File Information The database name The timestamp of database creation The names and locations of associated datafiles and redo log files Tablespace.
5 Copyright © 2005, Oracle. All rights reserved. Managing the Oracle Instance.
9 Copyright © 2005, Oracle. All rights reserved. Managing Undo Data.
10 Copyright © 2007, Oracle. All rights reserved. Managing Undo Data.
RMAN Maintenance.
Maintaining Online Redo Log Files
Oracle9i Database Administrator: Implementation and Administration
Performing User-Managed Backup and Recovery
Performing Database Recovery
Chapter 5 The Redo Log Files.
Presentation transcript:

16 Copyright © 2005, Oracle. All rights reserved. Performing Database Recovery

16-2 Copyright © 2005, Oracle. All rights reserved. Objectives After completing this lesson, you should be able to recover from the loss of a: Control file Redo log file Data file

16-3 Copyright © 2005, Oracle. All rights reserved.

16-4 Copyright © 2005, Oracle. All rights reserved. Opening a Database Full Notes Page

16-5 Copyright © 2005, Oracle. All rights reserved. Changing Instance Status Use Database Control to alter the instance’s status:

16-6 Copyright © 2005, Oracle. All rights reserved. Keeping a Database Open Once open, the instance fails in the case of: Loss of any control file Loss of a data file belonging to the system or undo tablespaces Loss of an entire redo log group. As long as at least one member of the group is available, the instance remains open.

16-7 Copyright © 2005, Oracle. All rights reserved. Loss of a Control File If a control file is lost or corrupted, the instance normally aborts, at which time you must perform the following: 1.Shut down the instance, if it is still open. 2.Restore the missing control file by copying an existing control file. 3.Start the instance. Control files

16-8 Copyright © 2005, Oracle. All rights reserved. Loss of a Redo Log File If a member of a redo log file group is lost, as long as the group still has at least one member: 1.Normal operation of the instance is not affected 2.You receive a message in the alert log notifying you that a member cannot be found. 3.Restore the missing log file by copying one of the remaining files from the same group.

16-9 Copyright © 2005, Oracle. All rights reserved. Loss of a Data File in NOARCHIVELOG Mode If the database is in NOARCHIVELOG mode, and any data file is lost, perform the following tasks: 1.Shut the instance down if it is not already down. 2.Restore the entire database, including all data and control files, from the backup. 3.Open the database. 4.Have users reenter all changes made since the last backup. User

16-10 Copyright © 2005, Oracle. All rights reserved. Loss of a Noncritical Data File in ARCHIVELOG Mode If a data file is lost or corrupted, and that file does not belong to the SYSTEM or UNDO tablespace, then restore and recover the missing data file. Users

16-11 Copyright © 2005, Oracle. All rights reserved. Loss of a System-Critical Data File in ARCHIVELOG Mode If a data file is lost or corrupted, and that file belongs to the SYSTEM or UNDO tablespace: The instance may or may not shut down automatically. If it does not, use SHUTDOWN ABORT to bring the instance down. Mount the database Restore and recover the missing data file Open the database Users

16-12 Copyright © 2005, Oracle. All rights reserved. Summary In this lesson, you should have learned how to recover from the loss of a: Control file Redo log file Data file

16-13 Copyright © 2005, Oracle. All rights reserved. Practice Overview: Performing Database Recovery This practice covers recovering from the loss of a: Control file Redo log file Noncritical data file System-critical data file

16-14 Copyright © 2005, Oracle. All rights reserved.