SlideShare a Scribd company logo
40179_Bednar.ppt Oracle Database Upgrade Assistant
Oracle Database 10g Data
Warehouse Backup & Recovery:
Automatic, Simple, And Reliable
George Lumpkin
Director Product Management
Oracle Corporation
Tammy Bednar
Sr. Product Manager
Oracle Corporation
Session id: 40179
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
Media Management Layer
Enterprise Manager
Enterprise Manager
& 3
& 3rd
rd
Party Tools
Party Tools
Network
Recovery
Recovery
Manager
Manager
Backup Management
 List RMAN backups
– 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?
No
backup
of data
Data is re-inserted
via ETL
Normal procedures
Automated recovery
procedures Normal procedures
0
-nn Hours
Restore
Backup
Manual recovery procedures
mm Hours mm Hours
RPO
Backups are
run at scheduled
interval.
RTO1
Critical data
Is available &
Database is open.
RTO2
Remainder of
Data is re-inserted.
Time
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
 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
1. Extensive Reporting
2. Easily integrates with Media Managers
3. Incremental Backups
4. Block Media Recovery (BMR)
5. Downtime Free Backups
6. Archive log validation and management
7. Backup and Restore Validation
8. Corrupt Block Detection
9. Backup and Restore Optimization
10.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
Apr May Jun
Jan Feb Mar
Read-only Tablespace Read-write Tablespace
Jul
Read-write Tablespace
Read-only Tablespace
Apr May Jun
 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
1. Take a weekly backup of the data warehouse
2. Every night, store/backup a copy of the raw data files which
are loaded into the data warehouse
3. 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
1. Take a weekly backup of the data warehouse
2. Every night, do an incremental backup of all modified
tablespaces after all nologging operations are completed
3. 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#4 – Nologging Operations
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
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
Wednesday in Moscone Room 304
Tuesday in Moscone Room 304
For More Info On Oracle HA Go To http://otn.oracle.com/deploy/availability/
Next Steps for High Availability
High Availability Sessions from Oracle
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
Thursday
For More Info On Oracle HA Go To http://otn.oracle.com/deploy/availability/
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
Next Steps for DW / BI
Data Warehousing DB Sessions
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
Tuesday
Monday
For More Info On Oracle BI/DW Go To http://otn.oracle.com/products/bi/db/dbbi.html
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
Thursday
Oracle Database 10g
Oracle OLAP
Oracle Data Mining
Oracle Warehouse Builder
Oracle Application Server 10g
Business Intelligence and Data
Warehousing Demos All Four Days
In The Oracle Demo Campground
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
Reminder –
please complete the
OracleWorld online session
survey
Thank you.
40179_Bednar.ppt Oracle Database Upgrade Assistant

More Related Content

Similar to 40179_Bednar.ppt Oracle Database Upgrade Assistant (20)

PDF
UKOUG - RMAN Back to Basics - Oct 2017
Zahid Anwar (OCM)
 
PPTX
You most probably dont need an RMAN catalog database
Yury Velikanov
 
PPTX
Backup & recovery with rman
itsabidhussain
 
DOC
Oracle ocp backup exam
sriram raj
 
DOC
Oracle OCP Backup Exam
Inprise Group
 
PPT
Dueling duplications RMAN vs Delphix
Kyle Hailey
 
PPT
Oracle Dataguard
Navneet Upneja
 
PDF
RMAN in 12c: The Next Generation (PPT)
Gustavo Rene Antunez
 
PPT
Les 00 intro
Femi Adeyemi
 
PPT
les_00_Intro-database-oracle00000000.ppt
mhmdfoad66
 
PDF
Rman Presentation
Rick van Ek
 
PDF
DBA 101 : Calling all New Database Administrators (PPT)
Gustavo Rene Antunez
 
PPT
Less15 Backups
vivaankumar
 
PDF
Presentation backup and recovery best practices for very large databases (v...
xKinAnx
 
PPT
D50079GC20 - Oracle Database 11g Administration Workshop II Release 2 Intro
cquirozp
 
PPT
Lecture2 oracle ppt
Hitesh Kumar Markam
 
PDF
8 i rman_love_it
Anil Pandey
 
PPTX
Databaseadmonfundamentalitprosdcchapter6
Julián Castiblanco
 
PPT
Les 06 rec
Femi Adeyemi
 
PPT
Xpp c user_rec
Femi Adeyemi
 
UKOUG - RMAN Back to Basics - Oct 2017
Zahid Anwar (OCM)
 
You most probably dont need an RMAN catalog database
Yury Velikanov
 
Backup & recovery with rman
itsabidhussain
 
Oracle ocp backup exam
sriram raj
 
Oracle OCP Backup Exam
Inprise Group
 
Dueling duplications RMAN vs Delphix
Kyle Hailey
 
Oracle Dataguard
Navneet Upneja
 
RMAN in 12c: The Next Generation (PPT)
Gustavo Rene Antunez
 
Les 00 intro
Femi Adeyemi
 
les_00_Intro-database-oracle00000000.ppt
mhmdfoad66
 
Rman Presentation
Rick van Ek
 
DBA 101 : Calling all New Database Administrators (PPT)
Gustavo Rene Antunez
 
Less15 Backups
vivaankumar
 
Presentation backup and recovery best practices for very large databases (v...
xKinAnx
 
D50079GC20 - Oracle Database 11g Administration Workshop II Release 2 Intro
cquirozp
 
Lecture2 oracle ppt
Hitesh Kumar Markam
 
8 i rman_love_it
Anil Pandey
 
Databaseadmonfundamentalitprosdcchapter6
Julián Castiblanco
 
Les 06 rec
Femi Adeyemi
 
Xpp c user_rec
Femi Adeyemi
 

Recently uploaded (20)

PPTX
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
PDF
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
PDF
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
PDF
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
PDF
Driver Easy Pro 6.1.1 Crack Licensce key 2025 FREE
utfefguu
 
PPTX
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
PDF
IObit Driver Booster Pro 12.4.0.585 Crack Free Download
henryc1122g
 
PPTX
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
PPTX
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
PDF
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
PDF
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
PPTX
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
PPTX
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
PDF
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
PDF
Adobe Premiere Pro Crack / Full Version / Free Download
hashhshs786
 
PPTX
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
PDF
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
PPTX
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
Driver Easy Pro 6.1.1 Crack Licensce key 2025 FREE
utfefguu
 
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
IObit Driver Booster Pro 12.4.0.585 Crack Free Download
henryc1122g
 
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
Adobe Premiere Pro Crack / Full Version / Free Download
hashhshs786
 
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
Ad

40179_Bednar.ppt Oracle Database Upgrade Assistant

  • 2. Oracle Database 10g Data Warehouse Backup & Recovery: Automatic, Simple, And Reliable George Lumpkin Director Product Management Oracle Corporation Tammy Bednar Sr. Product Manager Oracle Corporation Session id: 40179
  • 3. 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
  • 4. You can back up your data warehouse in exactly the same way as you back up your OLTP database. But …
  • 5. 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
  • 6. 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
  • 7. 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
  • 8. 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    
  • 9. 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
  • 10. 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 Media Management Layer Enterprise Manager Enterprise Manager & 3 & 3rd rd Party Tools Party Tools Network Recovery Recovery Manager Manager
  • 11. Backup Management  List RMAN backups – View files included in a backup set  Perform maintenance – Remove obsolete backups with a single click
  • 12. 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
  • 13. 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
  • 14. 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
  • 15. 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
  • 16. What is your Recovery Point Objective? No backup of data Data is re-inserted via ETL Normal procedures Automated recovery procedures Normal procedures 0 -nn Hours Restore Backup Manual recovery procedures mm Hours mm Hours RPO Backups are run at scheduled interval. RTO1 Critical data Is available & Database is open. RTO2 Remainder of Data is re-inserted. Time
  • 17. 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
  • 18. 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
  • 19. DW Recovery Methodology Best Practice#1 – Archivelog Mode  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
  • 20. DW Recovery Methodology Best Practice#2 – Use RMAN 1. Extensive Reporting 2. Easily integrates with Media Managers 3. Incremental Backups 4. Block Media Recovery (BMR) 5. Downtime Free Backups 6. Archive log validation and management 7. Backup and Restore Validation 8. Corrupt Block Detection 9. Backup and Restore Optimization 10.Trouble Free Backup and Recovery
  • 21. 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 Apr May Jun Jan Feb Mar Read-only Tablespace Read-write Tablespace Jul Read-write Tablespace Read-only Tablespace Apr May Jun
  • 22.  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
  • 23.  Strategy #1: Recover nologging operations via ETL 1. Take a weekly backup of the data warehouse 2. Every night, store/backup a copy of the raw data files which are loaded into the data warehouse 3. 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
  • 24.  Strategy #2: Recover nologging operations via Incremental Backups 1. Take a weekly backup of the data warehouse 2. Every night, do an incremental backup of all modified tablespaces after all nologging operations are completed 3. 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#4 – Nologging Operations
  • 25. 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
  • 26. 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
  • 27. Next Steps for High Availability High Availability Sessions from Oracle 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 Wednesday in Moscone Room 304 Tuesday in Moscone Room 304 For More Info On Oracle HA Go To http://otn.oracle.com/deploy/availability/
  • 28. Next Steps for High Availability High Availability Sessions from Oracle 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 Thursday For More Info On Oracle HA Go To http://otn.oracle.com/deploy/availability/ 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
  • 29. Next Steps for DW / BI Data Warehousing DB Sessions 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 Tuesday Monday For More Info On Oracle BI/DW Go To http://otn.oracle.com/products/bi/db/dbbi.html
  • 30. 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 Thursday Oracle Database 10g Oracle OLAP Oracle Data Mining Oracle Warehouse Builder Oracle Application Server 10g Business Intelligence and Data Warehousing Demos All Four Days In The Oracle Demo Campground 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
  • 31. Reminder – please complete the OracleWorld online session survey Thank you.