Recovery without Backup. All Data Lost?

Similar documents
You'll even like your Data Guard more with Flashback

Online Operations in Oracle 12.2

Backup Methods from Practice

Explore the Oracle 10g database architecture. Install software with the Oracle Universal Installer (OUI)

Application Containers an Introduction

ORACLE DBA TRAINING IN BANGALORE

Application Containers an Introduction

Domain Services Clusters Centralized Management & Storage for an Oracle Cluster Environment Markus Flechtner

Application Containers an Introduction

Oracle Database 11g for Experienced 9i Database Administrators

Database Rolling Upgrade with Transient Logical Standby Database DOAG Day High Availability Robert Bialek Principal Consultant

Disaster Recovery: Restore Database from One Server to another Server when Different Location

DOAG 2013 Oracle 12c Backup & Recovery

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

Oracle 1Z Oracle Database 10g: Administration II. Download Full Version :

Projects. Corporate Trainer s Profile. CMM (Capability Maturity Model) level Project Standard:- TECHNOLOGIES

Designing for Performance: Database Related Worst Practices ITOUG Tech Day, 11 November 2016, Milano (I) Christian Antognini

Cloud Acceleration. Performance comparison of Cloud vendors. Tobias Deml DOAG2017

Exam : Oracle 1Z0 043

Oracle Database 12C: Advanced Administration - 1Z0-063

ORACLE 11gR2 DBA. by Mr. Akal Singh ( Oracle Certified Master ) COURSE CONTENT. INTRODUCTION to ORACLE

LOSS OF FULL DATABASE AND DATABASE RECOVERY ORACLE 11g

Pimping up Industry Devices with Rasperry Pi, Vert.x und Java 8

Oracle. Exam Questions 1Z Oracle Database 11g: Administration I. Version:Demo

How to Recover the lost current control file, or the current control file is inconsistent with files that you need to recover??

1Z Upgrade to Oracle Database 12cm Exam Summary Syllabus Questions

Identifying Performance Problems in a Multitenant Environment

Adaptive

Recovering Oracle Databases

Query Optimizer MySQL vs. PostgreSQL

1Z Upgrade Oracle9i/10g to Oracle Database 11g OCP Exam Summary Syllabus Questions

Database Sharding with Oracle RDBMS

Bloom Filters DOAG Webinar, 12 August 2016 Christian Antognini Senior Principal Consultant

Empfehlungen vom BigData Admin

Query Optimizer MySQL vs. PostgreSQL

Die Wundertüte DBMS_STATS: Überraschungen in der Praxis

A. connecting to the target database and a recovery catalog to execute the duplicate command

Pitfalls & Surprises with DBMS_STATS: How to Solve Them

Oracle Database Upgrade, Migration & Transformation Tips & Techniques Chapter 5

Exam 1Z0-061 Oracle Database 12c: SQL Fundamentals

Taming the Pluggable Database Resource Management & Lockdown Profiles in Oracle 12.2 Markus Flechtner

Oracle RMAN for Absolute Beginners

Course Contents of ORACLE 9i

Oracle Database 11g: Administration I

Oracle. Exam Questions 1Z Oracle Database 11g: New Features for 9i OCPs. Version:Demo

Oracle In-Memory & Data Warehouse: The Perfect Combination?

Installing the Oracle Database Softwar

What was new in 11g for Backup and Recovery? Contents

Oracle Database 10g : Administration Workshop II (Release 2) Course 36 Contact Hours

UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP)

Oracle Database Administration

Oracle 1Z Oracle 9i: New Features for Administrators. Download Full Version :

Insanity: doing the same thing over and over again and expecting different results. Nice Proverb

"Charting the Course... Oracle 18c DBA I (3 Day) Course Summary

Oracle Database 18c New Performance Features

Oracle 1Z0-053 Exam Questions & Answers

Provide One Year Free Update!

Things to remember when working with Oracle... (for UDB specialists)

Oracle Database 11g Data Guard

Testpassport.

Data Replication With Oracle GoldenGate Looking Behind The Scenes Robert Bialek Principal Consultant Partner

Oracle Database 11g: New Features for Oracle 9i DBAs

Oracle Database 11g: Administration Workshop I Release 2

Oracle Database Failover Cluster with Grid Infrastructure 11g Release 2

Oracle Database 11g: Administration Workshop I Release 2


Oracle - Oracle Database 11g: Backup and Recovery Workshop (Training On Demand)

The three investigators

WELCOME. Oracle Almost Maximum Availability. Martin Schmitter 28th Sep 2011

1z0-043 Oracle Database 10g: Administration II

Oracle DBA Course Content

Oracle Exam 11gocmu Oracle Database 11g Certified Master Upgrade Exam Version: 4.0 [ Total Questions: 671 ]

Oracle 1Z0-052 Exam Questions and Answers (PDF) Oracle 1Z0-052 Exam Questions 1Z0-052 BrainDumps

CO Oracle Database 12c: Backup and Recovery Workshop

PostgreSQL Introduction for Oracle DBAs

Recovery Manager Concepts

Oracle Database 11g: SQL Fundamentals I

Steps how to duplicate a database to a new machine. Version 10gR2

Oracle Database 12c R2: Backup and Recovery Workshop Ed 3

Oracle Database 12c: Backup and Recovery Workshop Ed 2 NEW

Oracle Database 12c R2: Backup and Recovery Workshop Ed 3

Enterprise Manager: Scalable Oracle Management

Get Groovy with ODI Trivadis

FILE / RMAN BACKUP PRODUCTS MANUAL EBOOK

"Charting the Course... Oracle 18c DBA I (5 Day) Course Summary

Oracle Database 10g Migration to Automatic Storage Management. An Oracle White Paper August 2005

Exam Prep Seminar Package: Oracle Database 12c Administrator Certified Associate

Oracle Database 12c R2: Backup and Recovery Workshop Ed 3

Programa de Actualización Profesional ACTI Oracle Database 11g: Administration Workshop I

ACCURATE STUDY GUIDES, HIGH PASSING RATE! Question & Answer. Dump Step. provides update free of charge in one year!

MBS Microsoft Oracle Plug-In 6.82 User Guide

Oracle Database New Performance Features

Purpose. Configuring ARCHIVELOG mode

1z z0-060 Upgrade to Oracle Database 12c

TestsDumps. Latest Test Dumps for IT Exam Certification

Chapter One. Concepts BACKUP CONCEPTS

A. Automatic memory management is disabled because PGA_AGGREGATE_TARGET and SGA_TARGET are not set.

RECO CKPT SMON ARCH PMON RMAN DBWR

Oracle 1Z Oracle Database 11g: Administration I. Download Full Version :

PASS4TEST 専門 IT 認証試験問題集提供者

Transcription:

An Overview and Field Report Igor Romansky Peter Jensch Trivadis GmbH, Stuttgart DOAG Regio-Treffen Stuttgart, July 21th 2016 BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE MUNICH STUTTGART VIENNA ZURICH

Agenda 1. Backup, Restore & Recovery 2. Some Hints 3. Tools and Support 4. Demo(s) 5. Summary 2 22.07.2016

Backup, Restore & Recovery 3 22.07.2016

Oracle Backup Concept (1) Oracle RMAN Backup User Managed Backup Some other Methods Full Backup Incremental 0 Incremental Cumulativ Differential Archive Backup Image Copy Block Change Tracking File Backup Offline-File Copy Online-File Copy BEGIN BACKUP END BACKUP Export Data Pump Snapshot Technologies Data-Unload SELECT into FILE 4 22.07.2016

Oracle Backup Concept (2) RMAN Backup (Full) Incremental 0 Incremental 1 Archive Backup 5 22.07.2016

Oracle Restore & Recovery (3) Full Database Restore and Recovery Tablespace Datafile SPFILE Controlfile Corrupted Block 6 22.07.2016

Some Hints 7 22.07.2016

Reasons of Media Corruption Server Power outage Hardware Failure OS Bugs Oracle Bugs Bug 5061821 OS Utlilities can destroy ASM Disk Header Human Failures 8 22.07.2016

Unable to Open Database SQL> startup ORACLE instance started. Total System Global Area 730714112 bytes Fixed Size 2256832 bytes Variable Size 595591232 bytes Database Buffers 125829120 bytes Redo Buffers 7036928 bytes Database mounted. ORA-01157: cannot identify/lock data file 1 - see DBWR trace file ORA-01110: data file 1: '/u01/oradata/dbt01/system_dbt01_01.dbf' 9 22.07.2016

Some Hints (1) USER Tablespace corrupted Offline drop all corrupted datafiles Open Database Drop corrupted Tablespaces UNDO Tablespace corrupted Switch to Manual Undo Management Set all Rollback Segments: _corrupted_rollback_segments Startup in restriced mode Drop corrupted Rollback Segments Drop Undo Tablespace SYSAUX Tablespace corrupted Create Controlfile without SYSAUX datafiles Recover database using backup controlfile Set both Parameters to TRUE _allow_resetlogs_corruption _allow_read_only_corruption Startup Database with open resetlogs 10 22.07.2016

Some Hints (2) SYSTEM Tablespace corrupted Use DBVerify to check all other Oracle files Use RMAN, mount database and validate Backup Validate Database Set Manual Undo Management and set offline rollback segments _offline_rollback_segments=(_syssmu1$, ) Get the list of all rollback_segments from system datafile: cat system.dbf grep _SYSSMU Set Parameter to TRUE _allow_resetlogs_corruption _allow_read_only_corruption MOS Doc-ID: 361172.1 and 465478.1 11 22.07.2016

Tools and Support 12 22.07.2016

Offline Data Unloading Tools. Unload Tools for later insert using SQL-Loader Tool Oracle DUL AUL (MyDUL) OracleODU jdul DUDE Parnassus Data RM License Only onsite $ 1.000 per PC $ 10.000 per DB? $ 1.500 per DB Trial Version No Yes Yes No Yes Support No Yes Yes Yes Yes URL No mydul.net oracleodu.com ora600.be parnassusdata.com Documentation No Yes Yes? Yes Supported Versions All 8i 11g 7 12c 7 11g 9i 12c Programming Language? C++ C++ Java Java GUI? No No No Yes Country Netherland China China Belgium China 13 22.07.2016

What the tools support (MyDUL) (1) Feature Overview Lost System Tablespace System Tablespace corrupted Tablespace dropped Data Files still exist Table truncated With reuse storage clause No object has reused the freed space Missing some data files for a given tablespace Corrupted Oracle ASM storage; Corrupted ASM disks and so on 14 22.07.2016

What the tools support (MyDUL) (2) 15 22.07.2016

What the tools support (PRM DUL3206) Feature Overview Graphical Interface (Java) RPM almost can recovery Oracle database on all operating system Source: http://www.parnassusdata.com/en/node/32 16 22.07.2016

Not Supported TDE Secure LOBS (encrypted, deduplicated, compressed) Complax Datatypes (VARRAY, Spatial Data, Nested Tables) BFile 17 22.07.2016

Demo (s) 18 22.07.2016

Demo System-Tablespace Issue ORA-01157: cannot identify/lock data file 1 - see DBWR trace file ORA-01110: data file 1: '/u01/oradata/dbt01/system_dbt01_01.dbf' Unable to open database System Tablespace Datafile corrupted (Datafile Header) 19 22.07.2016

Demo System-Tablespace Issue and little bit more Unable to open database ORA-01157: cannot identify/lock data file 1 - see DBWR trace file ORA-01110: data file 1: '/u01/oradata/dbt01/system_dbt01_01.dbf' System Tablespace and a little bit more SQL> select * from v$backup; FILE# STATUS CHANGE# TIME ---------- ------------------ ---------- ------------------ 1 FILE NOT FOUND 0 2 NOT ACTIVE 0 3 NOT ACTIVE 0 4 NOT ACTIVE 0 5 FILE NOT FOUND 0 6 NOT ACTIVE 0 20 22.07.2016

Summary 21 22.07.2016

Summary Check our Backup Concept Validate our Backup Concept (using External Knowhow ) TVD Backup If Database Corruption occurred Some good tools are availiable Application Knowhow must be availiable templates logging rman alerting parameters locking 22 22.07.2016

Peter Jensch Principal Consultant Tel. +49 172 63 500 25 Peter.jensch@trivadis.com 23 22.07.2016