Copyright 2013, Oracle and/or its affiliates. All rights reserved.



Similar documents
RMAN BACKUP & RECOVERY. Recovery Manager. Veeratteshwaran Sridhar

Maximize Availability With Oracle Database 12c

Oracle Database 12c Recovery Manager New Features

Oracle Maximum Availability Architecture with Exadata Database Machine. Morana Kobal Butković Principal Sales Consultant Oracle Hrvatska

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

Backup and Recovery Solutions for Exadata. Ľubomír Vaňo Principal Sales Consultant

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

Oracle Database 12c: New Features for Administrators

Backup and Recovery Solutions for Exadata. Cor Beumer Storage Sales Specialist Oracle Nederland

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

ORACLE DATABASE 12C: NEW FEATURES FOR ADMINISTRATORS GRADE CURRICULAR. Enterprise Manager Express home page versus Enterprise Manager Database Control

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

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

Oracle Database 10g: Backup and Recovery 1-2

Oracle 11g Database Administration

Oracle Database 11g: Administration Workshop II DBA Release 2

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

Oracle Recovery Manager

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

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

Oracle Database 11g: Administration Workshop II Release 2

Oracle Database Backups and Disaster Autodesk

Oracle Database 11g: Administration Workshop II DBA Release 2

D12CBR Oracle Database 12c: Backup and Recovery Workshop NEW

Oracle Backup & Recovery

Oracle 10g Feature: RMAN Incrementally Updated Backups

An Oracle White Paper July Expanding the Storage Capabilities of the Oracle Database Appliance

Oracle Database 10g: New Features for Administrators

EMC Data Domain Boost for Oracle Recovery Manager (RMAN)

Oracle Database 10g: Administration Workshop II Release 2

Rob Zoeteweij Zoeteweij Consulting

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

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 11g: Administration And Backup & Recover

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 Cross Platform Migration Lucy Feng, DBAK

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

ORACLE DATABASE 12c FOR SAP: ROADMAP, BASE CERTIFICATION FEATURES AND OPTIONS

ORACLE CORE DBA ONLINE TRAINING

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

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

Cross Platform Transportable Tablespaces Migration in Oracle 11g

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

Oracle Software. Hardware. Training. Consulting. Mythics Complete.

How to Migrate your Database to Oracle Exadata. Noam Cohen, Oracle DB Consultant, E&M Computing

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

EMC Data Domain Boost for Oracle Recovery Manager (RMAN)

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

Using HP StoreOnce Backup systems for Oracle database backups

Database Virtualization Technologies

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

Oracle Database 11g: Administration Workshop II

Oracle Public Cloud. Peter Schmidt Principal Sales Consultant Oracle Deutschland BV & CO KG

ORACLE DATABASE HIGH AVAILABILITY STRATEGY, ARCHITECTURE AND SOLUTIONS

Exadata Database Machine Administration Workshop NEW

Exadata and Database Machine Administration Seminar

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

Maximum Availability Architecture

TECHNICAL REPORT. Nimble Storage Oracle Backup and Recovery Guide

Solution for Staging Area in Near Real-Time DWH Efficient in Refresh and Easy to Operate. Technical White Paper

Performing Database and File System Backups and Restores Using Oracle Secure Backup

AVANTGARD Hosting and Managed Services

Oracle Database Public Cloud Services

AVANTGARD Private Cloud and Managed Services

Disaster Recovery for Oracle Database

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

3rd Party Audited Cloud Infrastructure SOC 1, Type II SOC 2, Type II ISO Annual 3rd party application Pen Tests.

T&E. Where Business Travelers Spend Money

Big data management with IBM General Parallel File System

How To Use Exadata

Turbo Charge Your Data Protection Strategy

Oracle 11g DBA Training Course Content

Expert Oracle Exadata

Library Recovery Center

Preview of Oracle Database 12c In-Memory Option. Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Maximum Availability Architecture

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

REMOTE SITE RECOVERY OF ORACLE ENTERPRISE DATA WAREHOUSE USING EMC DATA DOMAIN

Zero Downtime Backup solution for Oracle10g

Guide. Axis Webinar. User guide

Oracle Database - Engineered for Innovation. Sedat Zencirci Teknoloji Satış Danışmanlığı Direktörü Türkiye ve Orta Asya

Guide. Axis Webinar User Guide

Key Factors For a Successful ODA Deployment

Module 14: Scalability and High Availability

ORACLE DATABASE ADMINISTRATOR RESUME

Getting all the pieces: Reliable Backup/Recovery

AV-004: Administering and Programming with ORACLE

WHITE PAPER Improving Storage Efficiencies with Data Deduplication and Compression

EMC BACKUP MEETS BIG DATA

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

GETPAID Xpress Edition (XE)

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

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

Efficient Backup with Data Deduplication Which Strategy is Right for You?

High Performance Oracle RAC Clusters A study of SSD SAN storage A Datapipe White Paper

Worldwide Managed Services for. 402 Amherst Street, Suite 300 Nashua, NH 03063, USA. Phone: e mail: holland@sciinc.com

Oracle Database In-Memory The Next Big Thing

<Insert Picture Here>

BlueArc unified network storage systems 7th TF-Storage Meeting. Scale Bigger, Store Smarter, Accelerate Everything

Transcription:

1

Oracle RMAN in Oracle Database 12c: New Features & Best Practices Timothy Chien Principal Product Manager, Oracle Rohan Fernandes Vice President, State Street Financial

Agenda RMAN..Through The Years What s New in RMAN? Fine-Grained Recovery: Table Recovery from Backup Simplify Platform Migration: Cross-Platform Backup & Restore Improved Performance: Faster Clone and Standby Database Creation Multitenant Database: Pluggable Database Backup & Recovery State Street Case Study Summary / Q&A 3

RMAN..Through The Years 15+ Years of Innovation Parallel Backups DUPLICATE Block Media Recovery Automatic Control File & SPFILE Backup CONFIGURE Persistent Settings BACKUP BACKUPSET Fast Recovery Area Fast Incremental Backups Incrementally Updated Backups SWITCH TO COPY Offload Backups to Standby Database Table Recovery Cross-Platform Backup & Restore Fast Active DUPLICATE Fast Standby Database Synchronization Multitenant Database Backup & Recovery Oracle8, Oracle8i, Oracle9i Circa 1997-2002 Oracle 10g, Oracle 11g Circa 2003-2012 Oracle Database 12c June 2013 4

Table Recovery From Backup Fine-Grained Recovery 1 0 1 0 1 0 1 0 1 1 1 0 1 0 0 1 1 0 1 1 0 1 1 1 1 0 0 0 1 0 1 0 0 0 0 1 0 0 1 1 0 1 1 0 1 0 0 1 RMAN Backups Simple RECOVER TABLE command to recover one or more tables/partitions (most recent or older version) from an RMAN backup Eliminates time and complexity associated with manual restore, recover & export Enables fine-grained point-in-time recovery of individual tables/partitions instead of the contents of the entire tablespace Useful when there is insufficient UNDO to perform Flashback Table 5

Table Recovery: Under the Hood Primary Instance RMAN Backups Data Pump Import Auxiliary Instance RMAN backups taken as normal using DISK and/or SBT channels. Upon RECOVER TABLE, an auxiliary instance is started using the primary control file,system,sysaux,undo, and user tablespaces containing the table(s). Auxiliary instance is recovered to the desired time/scn. Tables are imported by primary instance via SQL*Net. 6

Table Recovery Tips Database must be in ARCHIVELOG mode Determine if there are dependent tables that need to be included in the recovery, based on foreign key constraints. Ensure sufficient disk space on database server for auxiliary instance: SUM [SYSTEM, SYSAUX, UNDO, SYSEXT (if present), User Tablespace(s) that contain table(s)] Ensure that at least one full backup has been taken of the above tablespaces, along with backup of all archived logs since that time. 7

Table Recovery Tips For recovering tables within a PDB, connect to CDB as ROOT user. If source table does not exist anymore (e.g. dropped), then table and all associated indexes, constraints, triggers will also be recovered. If source table exists, then table must be recovered with a new name (REMAP TABLE) or to a new tablespace (REMAP TABLESPACE). Indexes, constraints, triggers will NOT be recovered in this case. To manage table import yourself, use: RECOVER TABLE.. NOTABLEIMPORT DATAPUMP DESTINATION <dir> DATAPUMP FILE <filename> 8

DEMO: Table Recovery from Backups 9

0 0 1 0 1 0 0 0 0 1 1 0 0 1 1 1 1 0 1 1 0 1 1 0 1 1 1 1 0 1 Cross-Platform Backup & Restore Simplified Platform Migration Source Database (AIX) Destination Database (Linux) Backup User Tablespaces & DP Metadata Export to Disk/Tape 1 1 1 0 1 1 0 1 1 0 1 1 1 1 0 1 0 0 1 0 1 0 0 0 0 1 1 0 0 1 Restore Backup & Plugin Tablespaces (includes platform conversion) Simplifies procedure for platform migration Minimize read-only impact using incremental-based approach 10

Cross-Platform Backup & Restore Example AIX to Linux On destination Linux host: Create shell database (SYSTEM, SYSAUX, UNDO) On source AIX database: ALTER TABLESPACE PROJECTS, TASKS READ ONLY; SQL> EXECUTE DBMS_TTS.TRANSPORT_SET_CHECK(PROJECTS, TASKS, TRUE) SQL> SELECT * FROM TRANSPORT_SET_VIOLATIONS; Check that user tablespaces are self-contained BACKUP FOR TRANSPORT FORMAT '/tmp/xplat_backups/trans_ts.bck' DATAPUMP FORMAT '/tmp/xplat_backups/trans_ts_dmp.bck' TABLESPACE PROJECTS, TASKS; Copy all backups to destination server 11

Cross-Platform Backup & Restore Example AIX to Linux (cont.) On destination Linux database: Create tablespace users as they exist on source database RESTORE FROM PLATFORM AIX-Based Systems (64-bit) FOREIGN TABLESPACE PROJECTS, TASKS TO NEW FROM BACKUPSET '/tmp/xplat_restores/trans_ts.bck' DUMP FILE FROM BACKUPSET '/tmp/xplat_restores/trans_ts_dmp.bck'; Data file blocks automatically endian-converted during restore Data Pump metadata dump file automatically imported to plug in user tablespaces SQL> ALTER TABLESPACE PROJECTS, TASKS READ WRITE; 12

Minimize Read-Only Downtime on Source DB How It Works Successive incrementals are converted & applied to restored data files, while tablespaces are in read-write. Final incremental is taken while tablespaces are in read-only, including backup of Data Pump metadata export. After final incremental is converted and applied to restored data files, then user tablespaces are plugged in. Reduce downtime by 8X versus traditional migration approaches Oracle Database 10.2 and 11g Backups Can Be Restored & Recovered Cross-Platform to Oracle Database 12c 13

Minimize Read-Only Downtime Example AIX to Linux using Incremental Backups On destination Linux host: Create shell database (SYSTEM, SYSAUX, UNDO) On source AIX database (while tablespaces are read-write): Check that tablespaces are self-contained using DBMS_TTS.TRANSPORT_SET_CHECK Day 1: BACKUP FOR TRANSPORT ALLOW INCONSISTENT INCREMENTAL LEVEL 0 TABLESPACE PROJECTS, TASKS FORMAT '/tmp/xplat_backups/my_tbs_incon.bck'; Day 2..N: BACKUP FOR TRANSPORT ALLOW INCONSISTENT INCREMENTAL LEVEL 1 TABLESPACE PROJECTS, TASKS FORMAT '/tmp/xplat_backups/my_tbs_incon1.bck'; Copy backups to destination server Repeat INCREMENTAL LEVEL 1 backup + copy to destination server, as desired 14

Minimize Read-Only Downtime Example AIX to Linux using Incremental Backups (cont.) On destination Linux database (in parallel with incrementals taken on source): RESTORE FROM PLATFORM 'AIX-Based Systems (64-bit) FOREIGN DATAFILE 6 FORMAT '/tmp/aux/projects_tbs_6.df', 10 FORMAT '/tmp/aux/tasks_tbs_10.df' FROM BACKUPSET '/tmp/xplat_restores/my_tbs_incon.bck'; DATAFILE <#> is the <#> used in source AIX database RECOVER FROM PLATFORM 'AIX-Based Systems (64-bit) FOREIGN DATAFILECOPY '/tmp/aux/projects_tbs_6.df', '/tmp/aux/tasks_tbs_10.df' FROM BACKUPSET '/tmp/xplat_restores/my_tbs_incon1.bck'; Restores and converts incremental blocks, then applies blocks to the restored data files Run RECOVER command for each new incremental taken on source 15

Backup & Restore: Minimize Read-Only Impact Example: AIX to Linux using Incremental Backups (cont.) On source AIX database: Place user tablespaces in read-only mode, prior to final incremental and Data Pump dump file backups BACKUP FOR TRANSPORT INCREMENTAL LEVEL 1 TABLESPACE PROJECTS, TASKS FORMAT '/tmp/xplat_backups/my_tbs_ro_incr.bck' DATAPUMP FORMAT '/tmp/xplat_backups/my_tbs_dp.bck ; Copy incremental and Data Pump metadata dump file backups to destination Linux host On destination Linux database: RECOVER FROM PLATFORM 'AIX-Based Systems (64-bit) FOREIGN DATAFILECOPY '/tmp/aux/projects_tbs_6.df', '/tmp/aux/tasks_tbs_10.df FROM BACKUPSET '/tmp/xplat_restores/my_tbs_ro_incr.bck'; RESTORE FROM PLATFORM AIX-Based Systems (64-bit)' DUMP FILE 'my_tbs_dp.dmp' DATAPUMP DESTINATION '/tmp/dump' FROM BACKUPSET '/tmp/xplat_restores/my_tbs_dp.bck'; 16

Backup & Restore: Minimize Read-Only Impact Example: AIX to Linux using Incremental Backups (cont.) On destination Linux database: Create tablespace users as they exist on source database Run CREATE DIRECTORY to create DP_DIR directory object, mapped to dump file directory IMPDP DIRECTORY=DP_DIR DUMPFILE=my_tbs_dp.dmp TRANSPORT_DATAFILES='/tmp/aux/projects_tbs_6.df, '/tmp/aux/tasks_tbs_10.df' NOLOGFILE=Y Import Data Pump metadata dump file to plug in new user tablespaces SQL> ALTER TABLESPACE PROJECTS, TASKS READ WRITE; 17

Active DUPLICATE One-Command Database Cloning Source Database Copy Data Files, Archived Logs Active DUPLICATE debuted in Oracle Database 11g Create clone or standby database as of the current time Utilizes source (TARGET) database channels to copy data files and archived logs to clone (AUXILIARY) database server eliminates backup staging area Performance typically gated by network bandwidth Clone Database 18

Oracle Database 12c Active DUPLICATE Improved Performance via Reduced Network Consumption Initiate RESTORE request Source Database New Active DUPLICATE Data File & Archived Log Backup Sets Clone Database Utilizes clone database channels to pull (i.e. restore) data files and archived logs from source database Configure or allocate AUXILIARY channels >= TARGET channels Data files are packaged as backup sets much smaller than copies RMAN compression and multi-section settings can also be specified 19

Fast Standby Database Synchronization Simplified Standby Sync-Up with Primary Database Initiate Incremental Restore Request Incremental Backup + Apply Primary Database Standby Database RECOVER DATABASE FROM SERVICE <PRIMARY DB SID> Run command connected to standby database as TARGET and primary as AUXILIARY Generates incremental backup on primary as of the current SCN on standby database Incremental backup pulled from primary & applied on standby data files to sync up changes Refer to documentation for full procedure details: http://docs.oracle.com/cd/e16655_01/backup.121/e17630/rcmadvre.htm#sthref1772 20

Multitenant Database Backup & Restore New PLUGGABLE DATABASE and ROOT keywords Connect in RMAN as: ROOT common user: Backup, Restore, Recover CDB or selected PDBs PDB local user: Backup & Restore PDB (excludes archived logs) Backup commands as ROOT user: RMAN> BACKUP DATABASE; -- Backup CDB, including all PDBs RMAN> BACKUP (PLUGGABLE DATABASE <PDB1>, <PDB2>); RMAN> BACKUP TABLESPACE <PDB1>:<TBS1>, <PDB2>:<TBS1>; Restore commands as ROOT user: RMAN> RESTORE DATABASE; -- Restore CDB, including all PDBs RMAN> RESTORE DATABASE ROOT; -- Restore ROOT data files RMAN> RESTORE PLUGGABLE DATABASE <PDB1>; RMAN> RESTORE TABLESPACE <PDB2>:<TBS1>; 21

Multitenant Database Recovery (ROOT user) CDB Complete Recovery (Root + All PDBs) RMAN> RECOVER DATABASE; CDB Point-in-Time Recovery (Root + All PDBs) RMAN> RUN { SET UNTIL <TIME/SCN> <xxx>; RESTORE DATABASE; RECOVER DATABASE; ALTER DATABASE OPEN RESETLOGS; } PDB Complete and Point-in-Time Recovery RMAN> RUN { SET UNTIL <TIME/SCN> <yyy>; RESTORE PLUGGABLE DATABASE <PDB>; RECOVER PLUGGABLE DATABASE <PDB>; ALTER PLUGGABLE DATABASE <PDB> OPEN RESETLOGS; } 22

DEMO: Pluggable Database Point-in-Time Recovery 23

Additional New Features Expanded Multisection Backup Support Multisection (BACKUP.. SECTION SIZE) debuted for full backups in Oracle Database 11g Divides large data files into smaller sections that are backed up in parallel Now supported for incremental backups and image copies Incremental backup for each data file is divided into sections & backed up in parallel For image copies, sections are backed up in parallel & recomposed at the end Enhanced Separation of Duty New SYSBACKUP privilege only authorizes RMAN operations RMAN TARGET <USER>/<PWD> @<SID> AS SYSBACKUP 24

The Oracle Database Backup Logging Recovery Appliance Leverages your existing RMAN skill set for centralized, consolidated data protection of your entire Oracle database enterprise..more info at: www.oracle.com/databasebackupappliance 25

State Street Case Study Oracle OpenWorld 2013 September 23, 2013 Rohan Fernandes RJFernandes@StateStreet.com 26

Agenda State Street Company Overview Exadata Environment RMAN 11g Features Used ZFS with Direct NFS RMAN 12c Excitement 2

Our History State Street Corporation Culture of Innovation Proven Track Record State Street Global Advisors Acquisition: Princeton Financial Systems Fund Administration Business 1970s 1980s 1990s Businesses IM Operations Outsourcing Advanced Research Center Global Trustee Business State Street Associates State Street Global Alliance State Street China Technology Center Acquisition: IFS Acquisition: Deutsche Bank s GSS Business 2000s Acquisition: Investors Financial Services Corp. Acquisition: Currenex Acquisition: Palmeri Acquisitions: Mourant International Finance Administration and Intesa Sanpaolo securities services business Acquisition: Bank of Ireland Asset Management Acquisitions: Complementa and Pulse Trading Strategic Alliance: InfraHedge Acquisition: Goldman Sachs Administration Services 2010s Global Link Multicurrency Horizon Platform SPDR ETF FX Connect first trade Sector ETFs Formed Transfer Agency JV (BFDS) Fund Connect Products / Services LDI Strategies First International Real Estate ETF Alpha Strategies First China ETF My.statestreet.com Investor Confidence Index First Gold ETF OTC Hub ETF Servicing SwapEx sm SSIA Dashboard Springboard TotalETF Mobile App sm UCITS IV KIID Servicing Collateral Tracking Service Derivatives Clearing Solution 28

Our Company Today Strong Global Enterprise State Street Corporation Developing investment strategies that make the best use of client capital Assets under management of $2.1 trillion* One of the world s largest managers of institutional assets Provider of a comprehensive range of investment strategies that span the risk/return spectrum With approximately $340 billion* in ETF assets under management, we have one of the broadest ranges of ETFs in the industry * As of December 31, 2012 Research and trading solutions that improve the efficient use of client capital Global leader in investment research, trading and securities lending Total of approximately $2.5 trillion in average lendable assets for Q4 2012 $16.8 trillion in foreign exchange and interbank volume traded in 2012 Source of investor behavior and other research, advanced portfolio strategies, trade process optimization and global connectivity across multiple asset classes and markets Maintaining the inventory of client capital and dividends/interest Assets under custody and administration of $24.4 trillion* One of the world s leading investment service providers Provides fund accounting, fund administration, custody, investment operations outsourcing, recordkeeping, performance and analytics, and transfer agency services 29

Strong Global Presence* Our Company Today State Street Corporation 29,660 employees worldwide AUSTRALIA Sydney AUSTRIA Vienna BELGIUM Brussels La Hulpe BRUNEI DARUSSALAM Jerudong CANADA Montreal Toronto Vancouver CAYMAN ISLANDS George Town, Grand Cayman CHANNEL ISLANDS Guernsey Jersey FRANCE Paris GERMANY Cologne Frankfurt Munich INDIA Bangalore Mumbai Pune IRELAND Drogheda Dublin Kilkenny Naas ITALY Milan Turin JAPAN Tokyo LIECHTENSTEIN Vaduz LUXEMBOURG Luxembourg MALAYSIA Kuala Lumpur MAURITIUS Port Louis NETHERLANDS Amsterdam PEOPLE S REPUBLIC OF CHINA Beijing Hangzhou Hong Kong POLAND Shanghai Krakow QATAR Doha SINGAPORE Singapore SOUTH AFRICA Cape Town SOUTH KOREA Seoul SWITZERLAND Altishofen St. Gallen Zurich TAIWAN Taipei City UNITED ARAB EMIRATES Dubai UNITED KINGDOM Edinburgh London Windsor UNITED STATES California Connecticut Florida Georgia Illinois Massachusetts Missouri New Hampshire New Jersey New York Oregon Pennsylvania Texas * As of December 31, 2012 30

Exadata Environment Components Exadata X2-2/X3-2 also utilizing multi-racking 12 full rack and 1 half rack used with multi-racking Largest database 28TB, with most in 4-10TB range and some in 500GB to 2TB range All running Oracle Database 11.2.0.3 ZFS 7420 (2 write heads) for RMAN backups 2 Exadatas share a ZFS Golden Gate trail files also stored on ZFS TSM RMAN Proxy Copy used to copy ZFS backups to tape for long term retention needs ASR (Hardware failures via Automatic Service Request creation) Golden Gate for data replication Oracle Enterprise Manager 12c SNMP traps to Netcool -> Remedy ZFS Plugin for OEM12c 31

Exadata Environment Architecture Diagram App Farm Compute nodes d01/d02 d08 Active Data Guard / Golden Gate Compute nodes d01/d02 d08 App Farm Infiniband network Infiniband network RMAN RMAN Users Cell Servers utilizing ASM normal redundancy DATA RECO DBFS Golden Gate ZFS 7420 Root ZFS Shares /zfssa ZFS 7420 Data Center 1 Data Center 2 ZFS active/active Archive Proxy Archive Proxy Server Server 2 write heads DATA RECO DBFS Cell Servers utilizing ASM normal redundancy ZFS active/active 2 write heads Users 32

Exadata Oracle Net services client access Node 1 Node 2 Node n Instance 1 Instance 2 Instance n App Schema1 App Schema2 App Schema1 App Schema3 Query Offloading capability to Cell Server Automatic Storage Management Oracle Enterprise Linux ASM OEL ASM OEL ASM OEL Flash Cache IORM (IO Resource Manager) Cell Server InfiniBand Switch / Network Oracle Database Cell Server Cell Server Cell Server Smart Scan capability Exadata Storage Storage Index 33

RMAN 11g Features Used at State Street Compression using ZLIB RMAN> CONFIGURE COMPRESSION ALGORITHM ZLIB ; Typical compression ratios of at least 25% Requires Advanced Compression Option Parallel backup of the same data file In Oracle Database 11g RMAN, channels can break data files into chunks known as sections. BACKUP INCREMENTAL LEVEL 0 DATABASE.. SECTION SIZE <x> Our setup is on Exadata using ASM. On traditional systems, if the data file resides on a single disk, there is no advantage to using parallel backups within the data file. DUPLICATE database from backup Used for creating standby and non-production testing environments RMAN enhances DUPLICATE so that a connection to the source database is no longer required Eliminates RMAN session dependency on WAN network connection back to source when creating new standby databases. In an event of a failure during DUPLICATE, RMAN identifies the failure point and resumes from that point the next time DUPLICATE is run. Backup Strategy Weekly Full and Daily Incremental Backups 34

RMAN 11g Features Used at State Street Oops..dropped a tablespace With RMAN 11g, recovery of a tablespace has been further simplified RMAN> RECOVER TABLESPACE TS_NAME UNTIL TIME TO_DATE( 08/23/2013 10:20:30, MM/DD/YYYY HH24:MI:SS ) AUXILIARY DESTINATION /ZFSSA/DBSPACE/DB ; Once completed, tablespace will be offline so only thing left to do is: SQL> ALTER TABLESPACE TS_NAME ONLINE; Archived Log Deletion Policy Enhancements Used to ensure log shipment for the Active Data Guard environment is completed prior to deletion of archived logs via RMAN on primary database. CONFIGURE ARCHIVELOG DELETION POLICY {CLEAR TO {APPLIED ON [ALL] STANDBY BACKED UP integer TIMES TO DEVICE TYPE devicespecifier NONE SHIPPED TO [ALL] STANDBY} 35

RMAN Backups Utilizing ZFS and Direct NFS RMAN / ZFS / DNFS Performance boost for backups using out of the box ZFS setup CPU reduction on compute nodes using out of the box ZFS setup Direct NFS Client is capable of performing concurrent direct I/O, which bypasses any operating system level caches and eliminates any operating system write-ordering locks. Direct NFS Client performs asynchronous I/O, which allows processing to continue while the I/O request is submitted and processed. DNFS Setup To enable Direct NFS Client, you must replace the standard Oracle Disk Manager (ODM) library with one that supports Direct NFS Client while the DB is down. Exadata_Host#> cd $ORACLE_HOME/lib Exadata_Host#> cp libodm11.so libodm11.so_stub Exadata_Host#> ln s libnfsodm11.so libodm11.so Validation/Management via views (v$dnfs_servers, v$dnfs_stats, v$dnfs_channels) 36

Future Promising Technologies RMAN 12c Excitement Taking Exports on large databases is time consuming - there have been certain situations in the past where an export would make sense, but was not desirable. Of the several great 12c features presented, the one we re most excited about is table recovery. On our Exadata platforms, we do not perform exports - only RMAN backups - and these can now be used to perform any type of recovery per our requirements. 37

Thank You!! Email :- RJFernandes@statestreet.com 38

Summary / Q&A Oracle Database 12c RMAN Continues the Innovation.. Fine-Grained Recovery: Table Recovery from Backup Simplify Platform Migration: Cross-Platform Backup and Restore Improved Performance: Fast Clone and Standby Database Creation Fast Synchronization of Standby Database Multitenant Database: Pluggable Database Backup and Recovery More Efficient Backups: Multisection Incrementals and Image Copies Enhanced Separation of Duty: SYSBACKUP Privilege 39

Resources OTN HA Portal: http://www.oracle.com/goto/availability Maximum Availability Architecture (MAA): http://www.oracle.com/goto/maa MAA Blogs: http://blogs.oracle.com/maa Exadata on OTN: http://www.oracle.com/technetwork/database/exadata/index.html Oracle HA Customer Success Stories on OTN: http://www.oracle.com/technetwork/database/features/ha-casestudies- 098033.html 40

41

42