PRM For Oracle Database 3.1 GUI:



Similar documents
G Cloud 7 Pricing Document

G Cloud 7 Pricing Document

An Oracle White Paper July Introducing the Oracle Home User in Oracle Database 12c for Microsoft Windows

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

An Oracle White Paper November Oracle Business Intelligence Standard Edition One 11g

APPLICATION MANAGEMENT SUITE FOR ORACLE E-BUSINESS SUITE APPLICATIONS

An Oracle White Paper January Oracle Database 12c: Full Transportable Export/Import

An Oracle White Paper June, Provisioning & Patching Oracle Database using Enterprise Manager 12c.

APPLICATION MANAGEMENT SUITE FOR ORACLE E-BUSINESS SUITE APPLICATIONS

DOCUMENTATION ORACLE BACKUP & RESTORE OPERATIONS

ORACLE VM MANAGEMENT PACK

An Oracle White Paper June Security and the Oracle Database Cloud Service

An Oracle White Paper October BI Publisher 11g Scheduling & Apache ActiveMQ as JMS Provider

An Oracle White Paper January Using Oracle's StorageTek Search Accelerator

Database Disaster Recovery using only RMAN Backups

How To Load Data Into An Org Database Cloud Service - Multitenant Edition

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

The new Manage Requisition Approval task provides a simple and user-friendly interface for approval rules management. This task allows you to:

Oracle Utilities Customer Care and Billing Release Utility Reference Model Process Customer Request For Literature and Forms

An Oracle White Paper January Oracle Database Backup Service A Technical White Paper

THE NEW BUSINESS OF BUSINESS LEADERS. Hiring and Onboarding

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

An Oracle Technical White Paper June Oracle VM Windows Paravirtual (PV) Drivers 2.0: New Features

October Oracle Application Express Statement of Direction

PRODUCT HUB STREAMLINED ITEM BATCH USER INTERFACE DEFINE IMPORT FORMATS FOR SPREADSHEET IMPORT CONSOLIDATION OF DIGITAL ASSETS THROUGH THE ITEM BATCH

Oracle Sales Cloud Analytics

Oracle Sales Cloud Activity Management

An Oracle White Paper February Oracle Data Integrator 12c Architecture Overview

Oracle Sales Cloud on Smartphones and Tablets

An Oracle White Paper September Oracle Database and the Oracle Database Cloud

ORACLE OPS CENTER: VIRTUALIZATION MANAGEMENT PACK

APPLICATION MANAGEMENT SUITE FOR SIEBEL APPLICATIONS

ORACLE SOCIAL ENGAGEMENT AND MONITORING CLOUD SERVICE

NetFlow Collection and Processing Cartridge Pack User Guide Release 6.0

Oracle SQL Developer Migration

WEBLOGIC SERVER MANAGEMENT PACK ENTERPRISE EDITION

An Oracle White Paper September Advanced Java Diagnostics and Monitoring Without Performance Overhead

Oracle Sales Cloud for Consumer Goods

Oracle Sales Cloud Configuration, Customization and Integrations

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

Unbreakable Linux Network An Overview

Managed Storage Services

An Oracle White Paper June How to Install and Configure a Two-Node Cluster

An Oracle White Paper September Oracle WebLogic Server 12c on Microsoft Windows Azure

ORACLE S PRIMAVERA CONTRACT MANAGEMENT, BUSINESS INTELLIGENCE PUBLISHER EDITION

An Oracle Communications White Paper December Serialized Asset Lifecycle Management and Property Accountability

ORACLE SOCIAL MARKETING CLOUD SERVICE

SOCIAL NETWORKING WITH A PURPOSE. Building Your Referral Machine

An Oracle White Paper May Distributed Development Using Oracle Secure Global Desktop

Introduction. Automated Discovery of IT assets

Oracle Utilities Customer Care and Billing Release Utility Reference Model a Process Budget Payments Release 2.3.1

March Oracle Business Intelligence Discoverer Statement of Direction

Oracle s Primavera Prime Capital Plan Management

ORACLE SOCIAL ENGAGEMENT AND MONITORING CLOUD SERVICE

An Oracle White Paper April How to Install the Oracle Solaris 10 Operating System on x86 Systems

Oracle Financial Management Analytics

An Oracle White Paper May Exadata Smart Flash Cache and the Oracle Exadata Database Machine

An Oracle White Paper August Oracle Database Auditing: Performance Guidelines

An Oracle Benchmarking Study February Oracle Insurance Insbridge Enterprise Rating: Performance Assessment

An Oracle White Paper July Oracle Linux and Oracle VM Remote Lab User Guide

Oracle Hyperion Financial Close Management

An Oracle White Paper March Oracle s Single Server Solution for VDI

Using Symantec NetBackup with VSS Snapshot to Perform a Backup of SAN LUNs in the Oracle ZFS Storage Appliance

Oracle Database Backup Service. Secure Backup in the Oracle Cloud

A Framework for Implementing World-Class Talent Management. The highest performing businesses are re-focusing on talent management

An Oracle White Paper June RESTful Web Services for the Oracle Database Cloud - Multitenant Edition

Oracle Whitepaper April Security and the Oracle Database Cloud Service

Oracle Sales Cloud Sales Performance Management

An Oracle Technical Article November Certification with Oracle Linux 6

An Oracle White Paper March Backup and Recovery Strategies for the Oracle Database Appliance

PeopleSoft Forms & Approval Builder

An Oracle White Paper May Creating Custom PDF Reports with Oracle Application Express and the APEX Listener

ORACLE MANAGED FILE TRANSFER

Oracle Utilities Customer Care and Billing Release Utility Reference Model f Manage Credit Card Payments

An Oracle White Paper June Oracle Database Firewall 5.0 Sizing Best Practices

An Oracle White Paper March Oracle Data Guard Broker. Best Practices for Configuring Redo Transport for Data Guard and Active Data Guard 12c

An Oracle White Paper March Managing Metadata with Oracle Data Integrator

An Oracle White Paper August Automatic Data Optimization with Oracle Database 12c

ORACLE UTILITIES ANALYTICS FOR CUSTOMER CARE AND BILLING

Oracle Fusion Middleware

An Oracle White Paper April, Effective Account Origination with Siebel Financial Services Customer Order Management for Banking

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

Oracle Enterprise Manager

An Oracle White Paper January Advanced Compression with Oracle Database 11g

Oracle Communications Network Charging and Control. Release: 4.4

An Oracle White Paper February Integration with Oracle Fusion Financials Cloud Service

An Oracle White Paper June Oracle Linux Management with Oracle Enterprise Manager 12c

An Oracle White Paper July Oracle Desktop Virtualization Simplified Client Access for Oracle Applications

An Oracle Technical Article March Certification with Oracle Linux 7

PeopleSoft Strategic Sourcing

Maximum Availability Architecture. Oracle Best Practices For High Availability

Top Ten Reasons for Deploying Oracle Virtual Networking in Your Data Center

An Oracle White Paper March Integrating the SharePoint 2007 Adapter with WebCenter Spaces ( & )

STORAGETEK SL150 MODULAR TAPE LIBRARY

2011 Customer Experience Impact Report. Getting to the Heart of the Consumer and Brand Relationship

An Oracle White Paper August Higher Security, Greater Access with Oracle Desktop Virtualization

SITES CLOUD. Engaging Websites Made Easy

How To Use An Orgs.Org Database With An Orgorora Cloud Management Pack For Database (For Cloud)

Transcription:

Case Study on PRM/DUL Recovery For Oracle Database PRM is designed for Enterprise Database Recovery, which includes all Oracle DUL data recovery functionalities, and also easy-to-use GUI. PRM For Oracle Database 3.1 GUI: PRM almost can recovery Oracle database on all operating system, including: Linux (RedHat, Centos, Oracle Linux, Suse),AIX, Solaris, HPUX, Windows 2003 Server/XP/2000/NT PRM Support Oracle database which starts from 9i, 10g, 11g to 12c. Case 1, if there is no backup, on disk segment h eader is corrupted SQL> create table prm_test tablespace users as select * from dba_objects; Table created. SQL> alter system checkpoint;

SQL> select count(*) from prm_test; COUNT(*) ---------- 77940 SQL> SQL> select header_file,header_block from dba_segments where segment_name='prm_test'; HEADER_FILE HEADER_BLOCK ----------- ------------ 4 1298483 SQL> select name from v$datafile where file#=4; NAME -------------------------------------------------------------------------------- /s01/oradata/g10r25/datafile/o1_mf_users_8nx5srgb_.dbf BBED> set mode edit MODE Edit BBED> set blocksize 8192 BLOCKSIZE 8192 BBED> set block 1298483 BLOCK# 1298483 BBED> set offset 999 OFFSET 999 BBED> modify /x 0xffff Warning: contents of previous BIFILE will be lost. Proceed? (Y/N) y File: /s01/oradata/g10r25/datafile/o1_mf_users_8nx5srgb_.dbf (0) Block: 1298483 Offsets: 999 to 1510 Dba:0x00000000 ------------------------------------------------------------------------ ffff0000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

<32 bytes per line> BBED> sum Check value for File 0, Block 1298483: current = 0x18cc, required = 0xe733 SQL> select count(*) from prm_test; select count(*) from prm_test * ERROR at line 1: ORA-01578: ORACLE data block corrupted (file # 4, block # 1298483) ORA-01110: data file 4: '/s01/oradata/g10r25/datafile/o1_mf_users_8nx5srgb_.dbf' SQL> alter session set events '10231 trace name context forever,level 10'; Session altered. SQL> select count(*) from prm_test; select count(*) from prm_test * ERROR at line 1: ORA-01578: ORACLE data block corrupted (file # 4, block # 1298483) ORA-01110: data file 4: '/s01/oradata/g10r25/datafile/o1_mf_users_8nx5srgb_.dbf'

Start PRM./prm.sh Recovery Wizard= Dictionary Mode, if ASM, then choose Dictionary Mode(ASM) =>select data files (at least including system tablespace datafile and datafile where data located), and click load. Attention: on AIX HPUX Sparc Solaris, and UNIX platform, choose Big Endian. Linux, Windows, X86 Solaris choose Little Endian Find your table on the left and right click View If we PRM show correct data, we recommend you to use DataBridge mode for inserting data back. Right click DataBridge and input connection info, and click DataBridge

As above, it has been successfully extract 77940 rows CASE 2, No Archive Mode, a datafile has been offline, and related redo log has been overwritten. User can t online this datafile again. SQL> archive log list Database log mode No Archive Mode Automatic archival Disabled Archive destination /s01/arch Oldest online log sequence 343 Current log sequence 348 SQL> select file_name,file_id from dba_data_files where tablespace_name='tbs5'; FILE_NAME FILE_ID ---------------------------------------- ---------- /oracleasm/tbs5.256.844175363.dbf 6 SQL> alter database datafile 6 offline drop; Database altered. SQL> alter system switch logfile;

SQL> / SQL> / SQL> / SQL> / SQL> / SQL> recover datafile 6; ORA-00279: change 34421776 generated at 04/19/2014 19:33:32 needed for thread 1 ORA-00289: suggestion : /s01/arch/1_354_831398352.dbf ORA-00280: change 34421776 for thread 1 is in sequence #354 Specify log: {<RET>=suggested filename AUTO CANCEL} cancel Media recovery cancelled. [oracle@vrh8 ~]$ rman target / Recovery Manager: Release 10.2.0.5.0 - Production on Sat Apr 19 19:49:22 2014 Copyright (c) 1982, 2007, Oracle. All rights reserved. connected to target database: G10R25 (DBID=2696593743) RMAN> recover datafile 6; Starting recover at 19-APR-14 using target database control file instead of recovery catalog

allocated channel: ORA_DISK_1 channel ORA_DISK_1: sid=147 devtype=disk starting media recovery unable to find archive log archive log thread=1 sequence=354 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of recover command at 04/19/2014 19:49:29 RMAN-06054: media recovery requesting unknown log: thread 1 seq 354 lowscn 34421776 Here we can use PRM to extract all data which can not be online SQL> select OWNER,SEGMENT_NAME,SEGMENT_TYPE from dba_segments where tablespace_name='tbs5'; OWNER SEGMENT_NAME SEGMENT_TYPE ----- ------------------------------ ------------------ SYS VVVV TABLE SYS AVE2 TABLE SYS AVE TABLE SYS ATEST1 TABLE SYS BIN$2KcAMnnvGg/gQKjAvwEbRg==$0 TABLE hu TAB1 TABLE Start PRM./prm.sh Recovery Wizard= Dictionary Mode, if ASM, then choose Dictionary Mode(ASM) =>select data files (at least including SYSTEM.DBF and data file where data located), and click load. Attention: on AIX HPUX Sparc Solaris, and UNIX platform, choose Big Endian. Linux,

Windows, X86 Solaris choose Little Endian

Resource: Technical Support: Sales: Download PRM: Contact Us: http://www.parnassusdata.com/resources/ service@parnassusdata.com sales@parnassusdata.com http://www.parnassusdata.com/ http://www.parnassusdata.com/zh-hans/contact Parnassus Data Inc., Gaoping Road 733-4, Shanghai, China Tel: (+86) 13764045638 Web: http://www.parnassusdata.com Facebook: http://www.facebook.com/parnassusdata Twitter: http://twitter.com/parnassusdata Weibo: http://weibo.com/parnassusdata Copyright 2014, ParnassusData and/or its affiliates. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. This

document is not warranted to be error-free, nor subject to any other warranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. UNIX is a registered trademark licensed through X/Open Company, Ltd. 0410 Copyright 2014 ParnassusData Corporation. All Rights Reserved.