Oracle Backup & Recovery



Similar documents
Database Recovery For Newbies

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

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

11. Configuring the Database Archiving Mode.

D12CBR Oracle Database 12c: Backup and Recovery Workshop NEW

WebLogic Server 11g Administration Handbook

Delivery Method: Instructor-led, group-paced, classroom-delivery learning model with structured, hands-on activities.

DEC Networks and Architectures

Oracle Database 11g: Administration Workshop II DBA Release 2

Module 14: Scalability and High Availability

Backup Types. Backup and Recovery. Categories of Failures. Issues. Logical. Cold. Hot. Physical With. Statement failure

Oracle Database 10g: Backup and Recovery 1-2

Oracle 11g Database Administration

Oracle Database Security and Audit

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

Oracle Database 11g: Administration Workshop II DBA Release 2

MCSE Windows 98 Study Guide

Implementing an Enterprise Class Database Backup and Recovery Plan

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

Oracle Database 11g: Administration Workshop II Release 2

Oracle8/ SQLJ Programming

DB2 9 for LUW Advanced Database Recovery CL492; 4 days, Instructor-led

SQL-BackTrack the Smart DBA s Power Tool for Backup and Recovery

UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP)

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 Database 10g: Administration Workshop II Release 2

Oracle 11g DBA Training Course Content

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

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

RMAN BACKUP & RECOVERY. Recovery Manager. Veeratteshwaran Sridhar

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/-

Zero Downtime Backup solution for Oracle10g

12. User-managed and RMAN-based backups.

ORACLE CORE DBA ONLINE TRAINING

Oracle8. Backup and Recovery Guide. Release 8.0. December, 1997 Part No. A

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

Backing up a Large Oracle Database with EMC NetWorker and EMC Business Continuity Solutions

Automatic Backup in Oracle Database

Oracle 11g DBA Online Course - Smart Mind Online Training, Hyderabad. Oracle 11g DBA Online Training Course Content

ORACLE DATABASE ADMINISTRATOR RESUME

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

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

Tuning Tips & Techniques

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

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

Software Project Management (Second Edition)

Oracle DBA Course Contents

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

Feature. Database Backup and Recovery Best Practices

ORACLE DATABASE 11G: COMPLETE

Oracle Database 12c: Admin, Install and Upgrade Accelerated

Backup and Recovery. W. Curtis Preston O'REILLY' Beijing Cambridge Farnham Köln Paris Sebastopol Taipei Tokyo

HP LeftHand SAN Solutions

Oracle Database 11g: Administration And Backup & Recover

Oracle Data Guard for High Availability and Disaster Recovery

Real-time Data Replication

Disaster Recovery Solutions for Oracle Database Standard Edition RAC. A Dbvisit White Paper

Oracle Database B

FOCUS ON: FDR/UPSTREAM S ONLINE DATABASE SOLUTIONS

Getting all the pieces: Reliable Backup/Recovery

Oracle Database. Backup and Recovery Basics 10g Release 1 (10.1) Part No. B

MySQL Enterprise Backup

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

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

Enterprise DBA Part 1B: Backup and Recovery Workshop

Recover Oracle Database upon losing all Control Files

Microsoft SQL Server for Oracle DBAs Course 40045; 4 Days, Instructor-led

11. Oracle Recovery Manager Overview and Configuration.

Comparing MySQL and Postgres 9.0 Replication

Oracle Database 11g: Administration Workshop II

FIFTH EDITION. Oracle Essentials. Rick Greenwald, Robert Stackowiak, and. Jonathan Stern O'REILLY" Tokyo. Koln Sebastopol. Cambridge Farnham.

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

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

System Administration of Windchill 10.2

Oracle Database 11g: Administration Workshop I Release 2

Module 3: Instance Architecture Part 1

Oracle Database 11g: Administration Workshop I Release 2

Backup and Recovery using PITR Mark Jones EnterpriseDB Corporation. All rights reserved. 1

RARITAN VALLEY COMMUNITY COLLEGE COMPUTER SCIENCE (CS) DEPARTMENT. CISY-294, Oracle: Database Administration Fundamentals Part I

Tips and Tricks for Using Oracle TimesTen In-Memory Database in the Application Tier

MySQL Administration and Management Essentials

Integration in Practice

Oracle Database Cross Platform Migration Lucy Feng, DBAK

High Availability Databases based on Oracle 10g RAC on Linux

How To Recover From A Crash On An Orgsoorora Database

Backup/Recovery Strategy and Impact on Applications. Jacek Wojcieszuk, CERN IT Database Deployment and Persistancy Workshop October, 2005

Networking. Sixth Edition. A Beginner's Guide BRUCE HALLBERG

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

High Availability for Oracle 8 Using Double-Take

WHITE PAPER. Oracle Backup and Recovery Essentials NFORMATION THAT EVERY ORACLE DATABASE ADMINISTRATOR SHOULD KNOW

Management. Oracle Fusion Middleware. 11 g Architecture and. Oracle Press ORACLE. Stephen Lee Gangadhar Konduri. Mc Grauu Hill.

Restoring To A Different Location With EBU And RMAN An AppsDBA Consulting White Paper

SEP sesam Online/Hot Backup & Restore for Databases and Application Protection

VMware Backup & Recovery

Oracle Database B

TECHNICAL REPORT. Nimble Storage Oracle Backup and Recovery Guide

Oracle Database Backup & Recovery, Flashback* Whatever, & Data Guard

Oracle Backup and Recover 101. Osborne Press ISBN

How To Backup An Org Database On An Org Server On A Pc Oracle Server On Anorora (Orora) With A Backup And Restore Option On A Windows (Ororora).Org (Orroboron

Transcription:

ORACLG«Oracle Press Oracle Backup & Recovery Rama Velpuri Osborne McGraw-Hill Berkeley New York St. Louis San Francisco Auckland Bogota Hamburg London Madrid Mexico City Milan Montreal New Delhi Panama City Paris Säo Paulo Singapore Sydney Tokyo Toronto

Contents FOREWORD, IX ACKNOWLEDGMENTS, INTRODUCTION, XIII XI 1 An Overview of Backup and Recovery, Why Plan Backups? 2 What Causes Systems to Fail? 2 Hardware Protection and Redundancy 4 ARCHIVELOG Mode Versus NOARCHIVELOG Mode 4 Diagnostic Facilities and Debugging the RDBMS 5 Overview of Backups 6 Operating System Backups 6 Cold Database Backups 7 The HOT Backup 8 The Logical Backup Export 9 Automating Backups 9 Overview of Recovery 10 Types of Errors 10 Types of Recovery 13 Recovery with Physical Backups 14

Recovery with Logical Backups 14 2 The Oracle Architecture and Configuration 17 Oracle Files on Your System 18 The Oracle Code 18 The Data Files 18 The Redo Log Files 19 The Control File 19 The INIT.ORA File 19 The Oracle Trace Files 20 Database Operation 22 The System Global Area 22, Oracle Processes 24 Database Startup and Shutdown 28 Data Storage 30 Tablespaces and Data Files 30 Segments, Extents, and Blocks 34 Database Configuration 46 Managing Control Files 47 Managing Online Redo Log Files 49 Managing Archive Redo Log Files 52 Configuring the Oracle Parallel Server Option 56 3 Backup Principles 59 Database Design and Basic Backup Rules 60 Physical Backups 62 Offline (Cold) Backups 62 Online (Hot) Backups 64 Logical Backups 69 Export Parameters 71 Export Modes 71 Sample Export Procedure 74 Backup Commands in Various Operating Systems 75 Backup/Restore in VMS Environment 75 Backup/Restore in UNIX Environment 76 Backup/Restore in IBM MVS Environment 87 Backup/Restore in Desktop Environment 91 Backups in Special Environments 93 Backup Considerations in an OLTP Environment 94 Backup Considerations in a DSS Environment 95 Hot Standby Databases 95 4 Backup Scripts in UNIX and VMS Environments 101 Backup Scripts in VMS Environment 102

BACKUP_MAIN.COM 103 EXPORT_DATABASE.COM 107 HOT_BACKUP.COM 112 COLD_BACKUP.COM 121 BACKUP_TABLESPACE.COM 133 INSTANCE_UP.COM 137 ENV_SYMBOLS.COM 138 SHUTDOVVN_IMMEDIATE.COM 139 STARTUP_DBAMODE.COM 141 SUBMIT.COM 143 db_name_devices.com 144 Tbs_To_Datafiles.sql 144 Tbs_Logfiles.sql 145 Backup Scripts in a UNIX Environment 145 dbbackup 148 dbbackup_begin 151 dbexport_begin 162 dbbackup_sched.dat 164 5 Recovery Principles 167 Definitions and Internal Recovery Concepts 168 Redo Generation and Estimation 168 System Change Number (SCN) 171 Redo Threads 174 Redo Log Switching 176 Checkpoints 178 Log History 185 Structures of Control Files, Data Files and Log Files 185 Recovery Methods 187 Redo Application 187 Block Recovery 192 Thread Recovery 192 Media Recovery 195 Database Recovery and Implementation 200 Tablespace Recovery 211 Data File Recovery 213 Creating Control File and Data Files 216 Recovery with the Import Utility 219 Re-Creating the Database from an Incremental Export 220 Recovery Strategy 222 Failure Analysis 224 System Outage Survey 224 Down System and Recovery Survey 226

Recommendations for Disaster Recovery 228 6 Diagnostic Facilities and Debugging the RDBMS 233 Oracle Trace Files 234 Diagnostic Tools 237 Setting Trace Events 238 INIT.ORA Parameters 245 Other Diagnostic Utilities 248 Debugging the RDBMS 251 Control File Dump 251 Redo Log File Dump 258 Data File Dump 261 Oracle Errors and Resolution 265 Common Oracle Errors 265 Oracle Internal Errors 279 7 Case Studies of Backup and Recovery 291 Case 1: NOARCHIVELOG Mode and Recovery 292 Case 2: Dropping Data Files in NOARCHIVELOG Mode 294 Case 3: Loss of a System Data File 296 Case 4: Loss of a Non-SYSTEM Data File Without Rollback Segments 298 Case 5: Loss of a Non-SYSTEM Data File with Rollback Segments 303 Case 6: Loss of an Unarchived Online Log File 307 Case 7: Database Crash During HOT Backups 309 Case 8: Recovery with a Backup Control File 313 Case 9: Space Management in Release 7.1 316 Case 10: Resizing Data Files in Release 7.2 320 Case 11: Recovery Through RESETLOGS 322 Case 12: Creating Data Files 329 Case 13: System Clock Change and Point-in-Time Recovery 331 Case 14: Offline Tablespaces and Media Recovery 337 Case 15: Read-Only Tablespaces and Recovery 342 Summary 355 A New Features of Oracle7 Releases 7.1 and 7.2 359 New Features of Release 7.1 360 Server Manager 360 Symmetrie Replication 360 Consistent Snapshot Refresh 361 SQL and PL/SQL Enhancements 361

Read-Only Tablespaces 362 Parallel Recovery 363 Parallel Query Option 364 Dynamic SQL 366 New Features of Release 7.2 366 Database Administration Enhancements 366 Application Development Enhancements 369 Miscellaneous Features 370