Oracle Data Recovery Advisor



Similar documents
Agenda. Overview Configuring the database for basic Backup and Recovery Backing up your database Restore and Recovery Operations Managing your backups

Oracle Database 11g: Administration Workshop II DBA Release 2

Oracle Database 11g: Administration Workshop II DBA Release 2

Oracle Database 11g: Administration Workshop II Release 2

Oracle 11g Database Administration

RMAN What is Rman Why use Rman Understanding The Rman Architecture Taking Backup in Non archive Backup Mode Taking Backup in archive Mode

ORACLE DATABASE 11G: COMPLETE

Configuring Backup Settings Configuring and Managing Persistent Settings for RMAN Configuring Autobackup of Control File Backup optimization

D78850GC10. Oracle Database 12c Backup and Recovery Workshop. Summary. Introduction. Prerequisites

Recover Oracle Database upon losing all Control Files

COURCE TITLE DURATION. Oracle Database 11g: Administration Workshop I

If you have not multiplexed your online redo logs, then you are only left with incomplete recovery. Your steps are as follows:

Oracle. Brief Course Content This course can be done in modular form as per the detail below. ORA-1 Oracle Database 10g: SQL 4 Weeks 4000/-

Oracle 11gR2 : Recover dropped tablespace using RMAN tablespace point in time recovery

Restore and Recovery Tasks. Copyright 2009, Oracle. All rights reserved.

D12CBR Oracle Database 12c: Backup and Recovery Workshop NEW

ORACLE DATABASE: ADMINISTRATION WORKSHOP I

Rob Zoeteweij Zoeteweij Consulting

Oracle Database 11g: Administration Workshop I Release 2

Oracle Database 11g: Administration Workshop I Release 2

Database Recovery For Newbies

Database Disaster Recovery using only RMAN Backups

Oracle GoldenGate on Disaster Recovery

Objectif. Participant. Prérequis. Pédagogie. Oracle Database 11g - Administration Workshop I Release 2. 5 Jours [35 Heures]

Oracle Database 11g: Administration Workshop I

Oracle 12c Recovering a lost /corrupted table from RMAN Backup after user error or application issue

Strategies for Oracle Database Backup and Recovery: Case Studies. Mingguang Xu

Maximum Availability Architecture. Oracle Best Practices For High Availability

RMAN BACKUP & RECOVERY. Recovery Manager. Veeratteshwaran Sridhar

11. Configuring the Database Archiving Mode.

UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP)

MAX_RMAN_08137_IGNORE=5 DISK_RETENTION_POLICY='RECOVERY WINDOW OF 7 DAYS'

ASM and for 3rd Party Snapshot Solutions - for Offhost. Duane Smith Nitin Vengurlekar RACPACK

Oracle Database 10g: Administration Workshop II Release 2

Oracle Recovery Manager

11. Oracle Recovery Manager Overview and Configuration.

OCP: Oracle Database 12c Administrator Certified Professional Study Guide. Exam 1Z0-063

Oracle Backup and Recover 101. Osborne Press ISBN

Oracle Database 10g: Backup and Recovery 1-2

Oracle Data Guard for High Availability and Disaster Recovery

This appendix describes the following procedures: Cisco ANA Registry Backup and Restore Oracle Database Backup and Restore

TECHNICAL REPORT. Nimble Storage Oracle Backup and Recovery Guide

Oracle Database 12c: Admin, Install and Upgrade Accelerated

Oracle Cloud Storage and File system

How to Best Configure, Size, and Monitor the Oracle Database Fast Recovery Area

Oracle Database 11g: Administration And Backup & Recover

D12C-AIU Oracle Database 12c: Admin, Install and Upgrade Accelerated NEW

Use RMAN to relocate a 10TB RAC database with minimum downtime. Tao Zuo tao_zuo@npd.com NPD Inc. 9/2011

Oracle Database 11g: New Features for Administrators DBA Release 2

Oracle Data Guard Fast Start Failover understood!

Oracle 10g Feature: RMAN Incrementally Updated Backups

Oracle Database 11g: New Features for Administrators

12. User-managed and RMAN-based backups.

Using RMAN to restore a database to another server in an ASM environment

ORACLE CORE DBA ONLINE TRAINING

Using Recovery Manager with Oracle Data Guard in Oracle Database 10g. An Oracle White Paper April 2009

AV-004: Administering and Programming with ORACLE

Oracle Database 11g: Administration Workshop II

Oracle Database 12c: Administration Workshop NEW

Oracle Database 11 g Performance Tuning. Recipes. Sam R. Alapati Darl Kuhn Bill Padfield. Apress*

The safer, easier way to help you pass any IT exams. Exam : 1Z Upgrade Oracle9i/10g/11g OCA to Oracle Database 12c OCP.

Implementing an Enterprise Class Database Backup and Recovery Plan

Objectif. Participant. Prérequis. Pédagogie. Oracle Database 11g - Administration Workshop II - LVC. 5 Jours [35 Heures]

SnapManager for Oracle 2.2. Anand Ranganathan Product & Partner Engineer (PPE)

! " # #$ " " %" & "'( " "' ( ) " * ""! ). " / ( * ( "# 0! " ). '

Oracle Database 12c: Administration Workshop NEW. Duration: 5 Days. What you will learn

ORACLE INSTANCE ARCHITECTURE

Using Recovery Manager with Oracle Data Guard in Oracle9i. An Oracle White Paper January 2007

Backup and Recovery. Oracle RMAN 11 g. Oracle Press ORACLG. Matthew Hart. Robert G. Freeman. Mc Graw Hill. Lisbon London Madrid Mexico City Milan

Oracle Recovery Manager 10g. An Oracle White Paper November 2003

Feature. Database Backup and Recovery Best Practices

ORACLE DBA 11G TRAINING

DOCUMENTATION ORACLE BACKUP & RESTORE OPERATIONS

Backup/Restore Oracle 8i/9i/10g

Oracle 11g New Features - OCP Upgrade Exam

Oracle 11g DBA Training Course Content

<Insert Picture Here> RMAN Configuration and Performance Tuning Best Practices

BrightStor ARCserve Backup

School of Open Learning University of Delhi

Configuring Backup Settings. Copyright 2009, Oracle. All rights reserved.

Why Not Oracle Standard Edition? A Dbvisit White Paper By Anton Els

Oracle Backup and Recovery Best Practices Dell Compellent Storage Center. Dell Compellent Technical Best Practices

ORACLE DATABASE ADMINISTRATOR RESUME

Customer evaluation guide Toad for Oracle v12 Database administration

Many DBA s are being required to support multiple DBMS s on multiple platforms. Many IT shops today are running a combination of Oracle and DB2 which

Simplifying Online Backup Operations for Microsoft Exchange, SQL and Oracle with Hitachi Protection Manager Software

HOW TO. RMAN Restore for Standby 10gR2

Objectif. Participant. Prérequis. Pédagogie. Oracle Database 11g - New Features for Administrators Release 2. 5 Jours [35 Heures]

DisasterRecoverywith. DisasterRecoverywith Oracle Data Guard10gR2

Oracle9i Database: Advanced Backup and Recovery Using RMAN

Oracle Database 12c: Performance Management and Tuning NEW

RMAN in the Trenches: To Go Forward, We Must Backup

Module 14: Scalability and High Availability

Optimizing the Performance of the Oracle BI Applications using Oracle Datawarehousing Features and Oracle DAC

PROFESSIONAL SERVICES

Automatic Backup in Oracle Database

Oracle Database Links Part 2 - Distributed Transactions Written and presented by Joel Goodman October 15th 2009

Transcription:

Infrastructure at your Service. Oracle Data Recovery Advisor

Infrastructure at your Service. About me David Hueber COO Principal Consultant Mobile +41 79 963 43 68 david.hueber@dbi-services.com www.dbi-services.com Page 2

Who we are dbi services Experts At Your Service > 40 specialists in IT infrastructure > Certified, experienced, passionate Based In Switzerland > 100% self-financed Swiss company > Over CHF 6 mio. turnover Leading In Infrastructure Services > More than 100 customers in CH, D, & F > Over 40 SLAs dbi FlexService contracted dbi services is hiring in Basel & Zürich (career@dbi-services.com) Page 3 18.11.2015

Agenda 1. What is DRA Data Recovery Advisor? 2. Using the Data Recovery Advisor 3. Data Failures 4. Conclusion Page 4

What is Data Recovery Advisor? Just an advisor? > Introduction > DRA features Page 5

What is Data Recovery Advisor? Introduction Oracle Database features to > Automatically diagnose database failures > Determine and present appropriated repair option > Execute repair at user s request Objectives > Provide repair 2 nd opinion > 4 eyes principle > Reduce MTTR > Reduce Human Error > At least challenge DBA decision Page 6

What is Data Recovery Advisor? Introduction Introduced in Oracle 11gR1 > Available in > RMAN > Enterprise Manager > Documented in Oracle Backup Recovery Guide > Chapter 15 http://docs.oracle.com/cd/e11882_01/backup.112/e10642/rcmrepai.htm#chddbecc Page 7

What is Data Recovery Advisor? Introduction What is a failure? > Persistent data corruption > File loss (data, redo, control) > Block corruption > Failures are recorded in Automatic Diagnostic Repository What is not covered by DRA? > Logical failures / Users errors > Table drop > Data deletion > Data corruption Page 8

What is Data Recovery Advisor? DRA features Pro-active detection Repair Failures Data Recovery Advisor Present Failures Diagnose Failures Page 9

What is Data Recovery Advisor? DRA features Pro-active detection > Integrated with Health Monitor > Block, undo, redo, archivelogs, data dictionary corruption > Findings stored in Automatic Diagnostic Repository > Runs after an error occurs OR manually on DBA request > Allows faster diagnostic Present failures > Shows detected failures > Manages severity > Problems are grouped for simultaneous resolution Page 10

What is Data Recovery Advisor? DRA features Diagnose failures > Evaluate available backup data > Automated vs Manual > Check for data loss > Define component to restore > Define restore point > Full vs Point In Time 10 120 1 5 Page 11

What is Data Recovery Advisor? DRA features Repair failures > Propose a repair method > Script generated > Script can be run to fix failures > Multiple repair actions may be require to fix all failure Page 12

Using the Data Recovery Advisor > Command-line > Data Dictionary Views > Packages PL/SQL for DRA Page 13

Using the Data Recovery Advisor Command-line Simply use the RMAN command-line interface : Health Monitor Data Recovery Advisor DBA Access data Failure List failure Advise failure Repair Failure Change Failure Perform Proactive checks Page 14 17.04.2015

Using the Data Recovery Advisor Command-line Simply use the RMAN command-line interface : Display current failures Proactively detect failures (limited) Detect & Diagnose Failures Provide Failures details List failure Advise failure Repair Failure Change Failure Page 15 17.04.2015

Using the Data Recovery Advisor Command-line Simply use the RMAN command-line interface : ALL EXCLUDE FAILURE CRITICAL List of all options DETAIL HIGH # LOW CLOSED List failure Advise failure Repair Failure Change Failure Page 16 17.04.2015

Using the Data Recovery Advisor Command-line Simply use the RMAN command-line interface : Best Practices List step by step / Automatically or Manually Determine Repair Options Creating a script List failure Advise failure Repair Failure Change Failure Page 17 17.04.2015

Using the Data Recovery Advisor Command-line Simply use the RMAN command-line interface : Automatically fix failures Confirmation before executing Execute Repairs Creating a script PREVIEW option List failure Advise failure Repair Failure Change Failure Page 18 17.04.2015

Using the Data Recovery Advisor Command-line Simply use the RMAN command-line interface : Close / Exclude Failures Modify Failures Change priority List failure Advise failure Repair Failure Change Failure Page 19 17.04.2015

Using the Data Recovery Advisor Data dictionary views Several views added to support DRA > V$IR views list failure advise failure repair failure V$IR_FAILURE V$IR_FAILURE_SET V$IR_MANUAL_CHECKLIST V$IR_REPAIR Page 20

Using the Data Recovery Advisor Packages PL/SQL for RMAN List of Packages : List of DBMS DBMS_BACKUP_RESTORE.BACKUPCANCEL DBMS_BACKUP_RESTORE.RESTORECANCEL DBMS_BACKUP_RESTORE.PROXYCANCEL DBMS_BACKUP_RESTORE.CFILEUSECURRENT DBMS_BACKUP_RESTORE.DEVICESTATUS DBMS_BACKUP_RESTORE.BMRCANCEL DBMS_BACKUP_RESTORE.FLASHBACKCANCEL DBMS_BACKUP_RESTORE.CLEANUPPGACONTEXT (new 12.1) DBMS_BACKUP_RESTORE.SETRMANSTATUSROWID List of V$ v$controlfile_record_section v$database v$instance v$parameter v$option v$archived_log Page 21

Data Failure > Demos Page 22

Data Failure Demos Case 1: Data File Loss Problem : Error while starting the database Database can t be open and remains in MOUNT Error while accessing data Objects not stored in data file can still be used ERROR at line 1: ORA-01116: error in opening database file 4 ORA-01110: data file 4: '/u01/oradata/dbprod/users01dbprod.dbf' ORA-27041: unable to open file Linux-x86_64 Error: 2: No such file or directory Additional information: 3 Page 23

Data Failure Demos Case 2 : Database Loss Problem : Database doesn t start anymore SQL> startup ORACLE instance started. Total System Global Area 1068937216 bytes Fixed Size 2235208 bytes Variable Size 616563896 bytes Database Buffers 444596224 bytes Redo Buffers 5541888 bytes ORA-00205: error in identifying control file, check alert log for more info Page 24

Data Failure Demos Case 3 : Database Loss and control files Problem : Database doesn t start anymore without catalog SQL> startup ORACLE instance started. Total System Global Area 1068937216 bytes Fixed Size 2235208 bytes Variable Size 616563896 bytes Database Buffers 444596224 bytes Redo Buffers 5541888 bytes ORA-00205: error in identifying control file, check alert log for more info Page 25

Conclusion > So what? > Limitations Page 26

Conclusion So what? Should I use it??? YES Why? > It works!!! > Covers easily about 80% to 90% of cases > Operation controlling 4 eyes principle > Reduce human errors > Reduces time to recover Page 27

Conclusion Limitations Requires an RMAN Catalog in case of control file loss Failure detection still mostly requires error first > No automated scan or testing Does not repair Standby databases No RAC support RMAN> list failure; using target database control file instead of recovery catalog RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of list command at 03/12/2012 20:38:08 RMAN-05533: LIST FAILURE is not supported on RAC database Page 28

Infrastructure at your Service. Any questions? Please do ask. David Hueber COO Principal Consultant Mobile +41 79 963 43 68 david.hueber@dbi-services.com www.dbi-services.com We look forward to working with you! Page 29 26.11.15