Director Product Management

Slides:



Advertisements
Similar presentations
ITEC474 INTRODUCTION.
Advertisements

How Oracle Database 10g Revolutionizes Availability and Enables the Grid Juan Loaiza Vice President, Systems Technologies Oracle Corporation Session id:
High Availability Group 08: Võ Đức Vĩnh Nguyễn Quang Vũ
Oracle Data Guard Ensuring Disaster Recovery for Enterprise Data
Data Guard SQL Apply Back to the Future! Larry M. Carpenter Senior Principal Consultant Server Technologies Oracle Corporation Session id:
Database Backup and Recovery
Module 5 Understanding SQL Server 2008 R2 Recovery Models.
RMAN Restore and Recovery
Backup and Recovery Part 1.
CHAPTER 16 User-Managed Backup and Recovery. Introduction to User Managed Backup and Recovery Backup and recover is one of the most critical skills a.
Configuring Recovery Manager
4 Copyright © 2008, Oracle. All rights reserved. Configuring Backup Specifications.
Chapter 5 Configuring the RMAN Environment. Objectives Show command to see existing settings Configure command to change settings Backing up the controlfile.
9 Copyright © Oracle Corporation, All rights reserved. Oracle Recovery Manager Overview and Configuration.
CHAPTER 17 Configuring RMAN. Introduction to RMAN RMAN was introduced in Oracle 8.0. RMAN is Oracle’s tool for backup and recovery. RMAN is much more.
Backup Concepts. Introduction Backup and recovery procedures protect your database against data loss and reconstruct the data, should loss occur. The.
Agenda  Overview  Configuring the database for basic Backup and Recovery  Backing up your database  Restore and Recovery Operations  Managing your.
Introduction to Oracle Backup and Recovery
Using RMAN to Perform Recovery
IS 4510 – Database Administration Module – 2 Database Backup 10/24/20141Compiled by: Zafar Iqbal Khan.
Simplify your Job – Automatic Storage Management Angelo Session id:
Proven Techniques for Maximizing Availability Maximum Availability Architecture Lawrence To, Shari Yamaguchi High Availability Systems Group Systems Technologies.
High Availability & Oracle RAC 18 Aug 2005 John Sheaffer Platform Solution Specialist
ORACLE DATABASE HIGH AVAILABILITY 1. OUTLINE I. Overview Of High Availability II. Oracle Database High Availability Architecture III. Determining Your.
Selling the Database Edition for Oracle on HP-UX November 2000.
Oracle Recovery Manager (RMAN) 10g : Reloaded
PPOUG, 05-OCT-01 Agenda RMAN Architecture Why Use RMAN? Implementation Decisions RMAN Oracle9i New Features.
Oracle Recovery Manager (RMAN) 10g : Reloaded Tammy Bednar Sr. Product Manager Oracle Corporation Session id:
Recovery Manager Overview Target Database Recovery Catalog Database Enterprise Manager Recovery Manager (RMAN) Media Options Server Session.
5 Copyright © 2004, Oracle. All rights reserved. Using Recovery Manager.
5 Copyright © 2008, Oracle. All rights reserved. Using RMAN to Create Backups.
Chapter 7 Making Backups with RMAN. Objectives Explain backup sets and image copies RMAN Backup modes’ Types of files backed up Backup destinations Specifying.
11 Copyright © Oracle Corporation, All rights reserved. RMAN Backups.
11 Copyright © Oracle Corporation, All rights reserved. RMAN Backups.
Andrew Mendelsohn Senior Vice President Database Oracle Corporation.
15 Copyright © 2005, Oracle. All rights reserved. Performing Database Backups.
Backup & Recovery Backup and Recovery Strategies on Windows Server 2003.
16 Copyright © 2007, Oracle. All rights reserved. Performing Database Recovery.
11g(R1/R2) Data guard Enhancements Suresh Gandhi
Oracle Database 10g RMAN and ATA Storage in Action Paul Tsien Oracle Corporation Bob Ng EMC Corporation Session id:
15 Copyright © 2007, Oracle. All rights reserved. Performing Database Backups.
9 Copyright © 2004, Oracle. All rights reserved. Flashback Database.
Oracle Advanced Compression – Reduce Storage, Reduce Costs, Increase Performance Session: S Gregg Christman -- Senior Product Manager Vineet Marwah.
Selling the Storage Edition for Oracle November 2000.
Building a Terabyte Data Warehouse, Using Linux and RAC George Lumpkin Director Product Management Oracle Corporation Session id:
Oracle Database 10 g Time Navigation: Human-Error Correction Magnus Lubeck DBA/Systems Analyst CERN, IT-DB Group Session id: Tammy Bednar Sr. Product.
User-mode I/O in Oracle 10g with ODM and DAFS Jeff Silberman Systems Architect Network Appliance Session id: Margaret Susairaj Server Technologies.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
Backup Concepts. Introduction Backup and recovery procedures protect your database against data loss and reconstruct the data, should loss occur. The.
3 Copyright © 2006, Oracle. All rights reserved. Using Recovery Manager.
Ashish Prabhu Douglas Utzig High Availability Systems Group Server Technologies Oracle Corporation.
10 Copyright © Oracle Corporation, All rights reserved. User-Managed Backups.
Overview of Oracle Backup and Recovery Darl Kuhn, Regis University.
18 Copyright © 2004, Oracle. All rights reserved. Backup and Recovery Concepts.
2 Copyright © 2007, Oracle. All rights reserved. Configuring for Recoverability.
2 Copyright © 2006, Oracle. All rights reserved. Configuring Recovery Manager.
3 Copyright © 2007, Oracle. All rights reserved. Using the RMAN Recovery Catalog.
18 Copyright © 2004, Oracle. All rights reserved. Recovery Concepts.
14 Copyright © 2005, Oracle. All rights reserved. Backup and Recovery Concepts.
10 Copyright © 2007, Oracle. All rights reserved. Using RMAN Enhancements.
19 Copyright © 2004, Oracle. All rights reserved. Database Backups.
13 Copyright © 2007, Oracle. All rights reserved. Using the Data Recovery Advisor.
14 Copyright © 2007, Oracle. All rights reserved. Backup and Recovery Concepts.
Backups for Azure SQL Databases and SQL Server instances running on Azure Virtual Machines Session on backup to Azure feature (manual and managed) in SQL.
Database recovery contd…
Recovery Catalog Creation and Maintenance
Backup and Recovery (1) Oracle 10g Hebah ElGibreen CAP364.
Maximum Availability Architecture Enterprise Technology Centre.
Performing Database Backups
Introduction of Week 6 Assignment Discussion
Presentation transcript:

Director Product Management Session id: 40179 Oracle Database 10g Data Warehouse Backup & Recovery: Automatic, Simple, And Reliable George Lumpkin Director Product Management Oracle Corporation Tammy Bednar Sr. Product Manager

Agenda Data warehouse characteristics Oracle Backup & Recovery review Understand your backup and recovery requirements DW Recovery Methodology Best Practice#1 – Archivelog Mode Best Practice#2 – Use RMAN Best Practice#3 – Read-Only Tablespaces Best Practice#4 – Nologging Operations Best Practice#5 – Exclude Tablespace

You can back up your data warehouse in exactly the same way as you back up your OLTP database. But …

But … Your OLTP system is 50GB and your data warehouse is 5TB. Do you have the budget to buy 100X more backup hardware to support your data warehouse? Your OLTP system must be recoverable in 30 minutes. Does your data warehouse require the same recovery time? Your OLTP system contains new customer orders, so it can never lose any transactions. Does you data warehouse require zero data loss? The best practices for DW backup/recovery should leverage the unique characteristics of your data warehouse

Data Warehouse Characteristics Large amounts of data Production systems up to 10s of terabytes Lower availability requirements than OLTP Often hours or days, not minutes Data enters data warehouse via controlled processes (ETL) Data feeds can be re-run if necessary Significant portions of data warehouse may be static Older data generally does not change

Agenda Data warehouse characteristics Oracle Backup & Recovery review Understand your backup and recovery requirements DW Recovery Methodology Best Practice#1 – Archivelog Mode Best Practice#2 – Use RMAN Best Practice#3 – Read-Only Tablespaces Best Practice#4 – Nologging Operations Best Practice#5 – Exclude Tablespace

Oracle Backup & Recovery What should you backup? Oracle Database Architecture Datafiles Archive logs Control file Configuration Files Oracle Database Architecture Datafiles Archive logs Control file Configuration Files Oracle Database Architecture Datafiles Archive logs Control file Configuration Files Oracle Database Architecture Datafiles Archive logs Control file Configuration Files Oracle Database Architecture Datafiles Archive logs Control file Configuration Files

Backup and Recovery Methods and Tools Recovery Manager Oracle’s tightly integrated utility for creating, managing, restoring and recovering databases Oracle Enterprise Manager GUI interface to Recovery Manager Oracle Data Pump (export/import) Logical database backups User Managed Database is backed up and restored manually using OS commands

Recovery Manager: Oracle’s Backup & Recovery Utility Over 25 Man Years of Engineering Technology provides: Intimate knowledge of database file formats and recovery procedures Manages and automates the backup, restore, and recovery process Creates and maintains backup policies Catalogs all backup and recovery activities Operates on-line and in parallel for fast processing Corrupt block detection during backup and restore and the ability to validate backups Integrated with Enterprise Manager & 3rd Party Tools Recovery Manager Enterprise Manager & 3rd Party Tools Media Management Layer Network

Backup Management List RMAN backups Perform maintenance View files included in a backup set Perform maintenance Remove obsolete backups with a single click

Other Oracle10g B&R Enhancements Compression of archive logs and backups Restore tolerates missing or corrupt backup Automatically fails over to previous backup Automated recovery through a previous point in time recovery Recovery through resetlogs Fully automated tablespace point-in-time recovery Automatic channel failover on backup or restore Tablespace Rename Drop Database

Oracle Database 10g Data Pump What is it? High speed, parallel, bulk data and metadata movement of Oracle database contents Replacement for original Export and Import New server-side infrastructure for utilities Public documented package interfaces What can you use it for? Data/Metadata movement between databases Test Development Production Changing HW/OS platforms, version releases, character sets Data archiving Logical backup of full or partial database

Agenda Data warehouse characteristics Oracle Backup & Recovery review Understand your backup and recovery requirements DW Recovery Methodology Best Practice#1 – Archivelog Mode Best Practice#2 – Use RMAN Best Practice#3 – Read-Only Tablespaces Best Practice#4 – Nologging Operations Best Practice#5 – Exclude Tablespace

What is your Recovery Time Objective? Analyze and identify the cost associated with unavailable data Design recovery requirements around data criticality and logical relationships Build and integrate the backup and recovery plan Manage and evolve your processes as your data, IT infrastructure, and business change

What is your Recovery Point Objective? RPO Backups are run at scheduled interval. RTO1 Critical data Is available & Database is open. RTO2 Remainder of Data is re-inserted. No backup of data Restore Backup Data is re-inserted via ETL Time mm Hours -nn Hours mm Hours Automated recovery procedures Manual recovery procedures Normal procedures Normal procedures

How do you backup all of that data? Backing up to Tape The time to backup to tape is a function of your hardware Divide and Conquer Breakup the database backup over the course of several days RMAN provides automatic ‘windowing’ capability # of tape devices + tape library = time to backup

Agenda Data warehouse characteristics Oracle Backup & Recovery review Understand your backup and recovery requirements DW Recovery Methodology Best Practice#1 – Archivelog Mode Best Practice#2 – Use RMAN Best Practice#3 – Read-Only Tablespaces Best Practice#4 – Nologging Operations Best Practice#5 – Exclude Tablespace

DW Recovery Methodology Best Practice#1 – Archivelog Mode Recover more completely from media failure Create backups while the database is open and available Provides more recovery options No Archivelog Mode Backup only when the database is closed Restore data as of the last good backup Keep more archive logs on disk using archive log compression

DW Recovery Methodology Best Practice#2 – Use RMAN Extensive Reporting Easily integrates with Media Managers Incremental Backups Block Media Recovery (BMR) Downtime Free Backups Archive log validation and management Backup and Restore Validation Corrupt Block Detection Backup and Restore Optimization Trouble Free Backup and Recovery

DW Recovery Methodology Best Practice#3 – Read-Only Tablespaces Leverage partitioning and read-only tablespaces to minimize the amount of data to be backed-up Read-only tablespaces only need to backed-up once Older data can often be converted to read-only Caveat: This strategy improves backup times, but not recovery times Read-only Tablespace Read-write Tablespace Read-only Tablespace Apr May Jun Read-write Tablespace Jan Feb Mar Apr May Jun Jul

DW Recovery Methodology Best Practice#4 – Nologging Operations Most data warehouses use NOLOGGING operation to accelerate bulk-data processing B+R considerations for NOLOGGING: Do not backup a tablespace while nologging operations are running on that tablespace Schedule backups to run after nologging operations Devise a strategy for recovering data loaded using nologging operations

DW Recovery Methodology Best Practice#4 – Nologging Operations Strategy #1: Recover nologging operations via ETL Take a weekly backup of the data warehouse Every night, store/backup a copy of the raw data files which are loaded into the data warehouse To recover, restore the backup of the data warehouse, then ‘re-run’ the nightly ETL processes to roll the data warehouse forward Pros Minimal resources required to support backup scenario Cons Manual process of storing and replaying ETL

DW Recovery Methodology Best Practice#4 – Nologging Operations Strategy #2: Recover nologging operations via Incremental Backups Take a weekly backup of the data warehouse Every night, do an incremental backup of all modified tablespaces after all nologging operations are completed To recover, restore the backup of the data warehouse, then apply the nightly incremental backups to roll the data warehouse forward Pros Can be completely managed via RMAN Simple and complete backup of new data Cons Backup required nightly following the ETL window

DW Recovery Methodology Best Practice#5 – Exclude Tablespace Not every tablespaces in a data warehouse needs to be backed-up Oracle Temporary Tablespaces By default, RMAN does not back these up “User Scratch Tablespaces” Tablespaces used by users to store incremental results and other temporary data sets Not every tablespace needs to be backed-up as frequently Some data may be less critical than other data Weekly backups instead of nightly backups

Summary Data warehouse characteristics Oracle Backup & Recovery review Understand your backup and recovery requirements DW Recovery Methodology Best Practice#1 – Archivelog Mode Best Practice#2 – Use RMAN Best Practice#3 – Read-Only Tablespaces Best Practice#4 – Nologging Operations Best Practice#5 – Exclude Tablespace

Next Steps for High Availability High Availability Sessions from Oracle Tuesday in Moscone Room 304 Wednesday in Moscone Room 304 11:00 AM How Oracle Database 10g Revolutionizes Availability and Enables the Grid 3:30 PM Oracle Recovery Manager (RMAN) 10g: Reloaded 5:00 PM Proven Techniques for Maximizing Availability 8:30 AM Oracle Database 10g - RMAN and ATA Storage in Action   11:00 AM Oracle Data Guard: Maximum Data Protection at Minimum Cost 1:00 PM Oracle Database 10g Time Navigation: Human-Error Correction 4:30 PM Data Guard SQL Apply: Back to the Future For More Info On Oracle HA Go To http://otn.oracle.com/deploy/availability/

Next Steps for High Availability High Availability Sessions from Oracle Thursday Real Application Clusters Data Guard Database Backup & Recovery Flashback Recovery LogMiner, Online Redefinition, and Cross Platform Transportable Tablespaces Database HA Demos All Four Days In The Oracle Demo Campground 8:30 AM in Moscone Room 304 Oracle Database 10g Data Warehouse Backup and Recovery: Automatic, Simple, Reliable 8:30 AM in Moscone Room 104 Building RAC Clusters over InfiniBand For More Info On Oracle HA Go To http://otn.oracle.com/deploy/availability/

Next Steps for DW / BI Data Warehousing DB Sessions Monday Tuesday 11:00 AM #40153, Room 304 Oracle Warehouse Builder: New Oracle Database 10g Release 3:30 PM #40176, Room 303 Security and the Data Warehouse 4:00 PM #40166, Room 130 Oracle Database 10g SQL Model Clause 8:30 AM #40125, Room 130 Oracle Database 10g: A Spatial VLDB Case Study 3:30 PM #40177, Room 303 Building a Terabyte Data Warehouse, Using Linux and RAC   5:00 PM #40043, Room 104 Data Pump in Oracle Database 10g: Foundation for Ultrahigh-Speed Data Movement For More Info On Oracle BI/DW Go To http://otn.oracle.com/products/bi/db/dbbi.html

Next Steps for DW / BI Data Warehousing DB Sessions Thursday Business Intelligence and Data Warehousing Demos All Four Days In The Oracle Demo Campground 8:30 AM #40179, Room 304 Oracle Database 10g Data Warehouse Backup and Recovery 11:00 AM #36782, Room 304 Experiences with Real-Time Data Warehousing using Oracle 10g 1:00PM #40150, Room 102 Turbocharge your Database, Using the Oracle Database 10g SQLAccess Advisor Oracle Database 10g Oracle OLAP Oracle Data Mining Oracle Warehouse Builder Oracle Application Server 10g For More Info On Oracle BI/DW Go To http://otn.oracle.com/products/bi/db/dbbi.html

Reminder – please complete the OracleWorld online session survey Thank you.