SlideShare a Scribd company logo
Real Life Recovery:
Perspective, Preparation &
Performance


RMOUG Training Days ‘99
Daniel W. Fink
7S Consulting, Inc.
Introduction
 Perspective
 Shifting the Paradigm
 Preparation
 Decision-making and Practice
 Performance
 Executing the recovery
Perspective
   Traditional              New
 • Focus is on         • Focus on properly
   backing up the        recovering a
   database              database
 • Technology Staff    • Business staff
   makes decisions       makes decisions
 • If you care about   • Backup &
   data, use             Recovery strategy
   archiving             is a business
                         exercise
Cost v. Lost Revenue
Model
 Business process
 Balance Costs against Risks
 Educated decision-making
 Clear, documented understanding
 of what is possible, probable and
 what is not
Educate Users
 Identify the appropriate decision-
 makers
 Oracle 101
 • Transactions and related structures
 • Types of backups, archiving and
   recoveries
Set Boundaries
 Budget
 • Time
 • Money

 Pick 2
 • Good
 • Fast
 • Cheap

 Allowable data loss/downtime
Service Level Agreement
 Backup Procedures
 • Type
 • Frequency
 • Storage policies

 Data loss & downtime
 • Allowable
 • Expected

 Anticipated Scenarios
 Contact Points
Backup Principles
 Never have 2 points of failure
 Never backup a file to the same physical
 device or controller
 Always have at least 3 control files
 Redo Logs should be multiplexed at the Oracle
 level
 Archived redo logs must be backed up to at
 least 2 separate tapes
 OFA Installation eases backup management
Backups
 Offline (cold)
 Online (hot)
 Logical (export)
Offline Backup
 Benefits              Costs & Risks
 • Easy to implement   • Database is down
 • Copy direct to        if process fails
   tape                • Cannot detect
 • Can be performed      datablock level
   as part of system     corruption
   backup
 • Not all
   tablespaces must
   be backed up
Online Backup
 Benefit               Costs & Risks
 • Required for 24x7   • Additional disk
   Systems               and processes
 • Database is up if     required
   process fails       • More difficult to
                         implement
                       • Special care
                         required if
                         database crashes
                       • Cannot detect
                         datablock level
                         corruption
Logical Backup
 Benefits               Costs & Risks
 • Easy extraction of   • Cannot be used to
   individual objects     recover
 • Can expose data        transactions
   corruption           • Requires target
 • Useful for             database to insert
   upgrades,              objects
   database             • Cannot backup
   copies/moves           complete
                          database
No Archiving
 Benefits             Costs & Risks
 • Default state of   • All data since last
   database             backup is lost
 • Minimal            • Restoration
   management &         requires all
   performance          database files
   impact
Archiving
 Benefits                Costs & Risks
 • Transactions can      • Increased
   be recovered            management
 • Only affected files   • Additional disk
   must be restored        and processes
 • Required for
   Online backups
   Optional for
   Offline backups
Restore
 Copying files required for instance
 restart or database recovery
 If final state of recovery process,
 committed transactions since last
 backup are lost
Recover
 Apply committed transactions
 since last backup
 • Automatic - using redo logs
 • Manual - using keyboard or other
   source for data
 Database returned to state after
 last backup/before failure
Rebuild & Reload
 Using export or source data to
 recreate the database
 Appropriate for non-volatile
 databases
Practice, Practice, Practice
 Only method of verifying backup
 procedure effectiveness is to
 perform several different
 recoveries
 The first performance should not
 be on a live, down database
 Titanic Syndrome - No backup is
 ‘unsinkable’
Recovery
 Follow established guidelines
 Take time to do it right the first time,
 there may not be a second!
 Have the Right people in the Right place
 at the Right time
 Double-check and document each move
 If time and circumstances permit,
 backup database before attempting
 recovery
Stop Panicking
 Calm is critical, don’t make a
 mistake by being too hasty
 Accept the pressure of downtime
 Refer to documented steps for
 each type of anticipated failure
 • Loss of disk or other hardware
 • Loss of datafile, redo log, archived log,
   controlfile
 • Loss of table
Identify Cause of Failure
 Differentiate between symptoms
 and causes
 Know how to determine if problem
 is internal or external to Oracle
Correct Cause of Failure
 If the failed component can be
 replaced, e.g. new disk, a spare
 should be easily accessible
 Be prepared to bypass the failed
 component
 Restoring files to a bad disk will
 require another recovery
Restore affected files
 Restore only those files to be
 recovered, this will minimize
 downtime
 If no archiving is being done, all
 files must be restored
Perform proper recovery
 Cause of failure usually determines
 the type of recovery
 Complete - up to the point of
 failure
 Incomplete - prior to point of
 failure
 • Required if hole exists in archive logs
 • Know when failure occurred for time-
   based
Post-mortem
 Number 1 issue - What could have
 been done to prevent failure and
 minimize downtime and data loss?
 Document recovery execution and
 critique
 Recovery caused by preventable
 scenario is a waste of valuable
 time
Conclusion
  Shift the focus
  Practice, Practice, Practice
  Don’t Panic

For more information,
               www.orcldba.com

More Related Content

PPT
Presentation on backup and recoveryyyyyyyyyyyyy
PPT
Disaster Recovery & Data Backup Strategies
PDF
The Great Disconnect of Data Protection: Perception, Reality and Best Practices
PPT
LEGACY SYSTEM In Software Engineering By NADEEM AHMED
PPT
Fast Back Sales Enablement V1 2
PPTX
Backup Exec 21
PPTX
Meeting Your Virtual RTO / RPO Objectives
PPTX
AITP July 2012 Presentation - Disaster Recovery - Business + Technology
Presentation on backup and recoveryyyyyyyyyyyyy
Disaster Recovery & Data Backup Strategies
The Great Disconnect of Data Protection: Perception, Reality and Best Practices
LEGACY SYSTEM In Software Engineering By NADEEM AHMED
Fast Back Sales Enablement V1 2
Backup Exec 21
Meeting Your Virtual RTO / RPO Objectives
AITP July 2012 Presentation - Disaster Recovery - Business + Technology

What's hot (19)

PPTX
Mitigate common servers threats by adopting virtual data center
PPTX
Backing Up and Recovery
PDF
WI_Symposium_Conference_2014
PDF
Are the Native SQL Server Backup Utilities Holding You Back?
PPT
Disaster Recovery: Is Your iSeries Recoverable?
 
PDF
Presentation maximizing database performance performance tuning with db time
PDF
VMworld 2013: Separating Cloud Hype from Reality in Healthcare – a Real-Life ...
PPT
Fb Sales Enbl 1 4
PPTX
Database recovery
PDF
Raid Data Recovery Whitepaper
PPTX
Disaster Recover : 10 tips for disaster recovery planning
PPTX
Hot Disaster Recovery Using Zerto
PDF
CSI-503 - 2. Processor Management
PPTX
Acroknight the Caribbean Data Backup solution presentation October 2013
PPT
Cost-Effective Business Backup and Disaster Recovery - Brian Verenkoff, Buffalo
PPT
NetWeaver Data Management process
PDF
Should you be hosting your DAM software on-premise or in the cloud?
PDF
Designing large scale distributed systems
Mitigate common servers threats by adopting virtual data center
Backing Up and Recovery
WI_Symposium_Conference_2014
Are the Native SQL Server Backup Utilities Holding You Back?
Disaster Recovery: Is Your iSeries Recoverable?
 
Presentation maximizing database performance performance tuning with db time
VMworld 2013: Separating Cloud Hype from Reality in Healthcare – a Real-Life ...
Fb Sales Enbl 1 4
Database recovery
Raid Data Recovery Whitepaper
Disaster Recover : 10 tips for disaster recovery planning
Hot Disaster Recovery Using Zerto
CSI-503 - 2. Processor Management
Acroknight the Caribbean Data Backup solution presentation October 2013
Cost-Effective Business Backup and Disaster Recovery - Brian Verenkoff, Buffalo
NetWeaver Data Management process
Should you be hosting your DAM software on-premise or in the cloud?
Designing large scale distributed systems
Ad

Viewers also liked (10)

PDF
Columnrename9i
PDF
Contiguous
PDF
Exportinc
PDF
Exportrows
PPT
Applyinga blockcentricapproachtotuning
PDF
Completerecovery
PDF
PDF
Autoextend
PDF
Migration
Columnrename9i
Contiguous
Exportinc
Exportrows
Applyinga blockcentricapproachtotuning
Completerecovery
Autoextend
Migration
Ad

Similar to Real liferecoverypresentation (20)

PPTX
Backups in computer programming and.pptx
PDF
MySQL enterprise backup overview
PDF
Presentation backup and recovery best practices for very large databases (v...
PPT
Database backup and recovery basics
PPTX
Back up-and-storage v1
PPTX
Backing up the virtual datacentre. Charlie Llewellyn and Andy Powell from Edu...
PPTX
Unit no 5 transation processing DMS 22319
PDF
Notes from the field — Exploring Some of Veeam’s Restore Scenarios
PPT
Dueling duplications RMAN vs Delphix
PDF
MySQL Enterprise Backup
PPT
40179_Bednar.ppt Oracle Database Upgrade Assistant
PPTX
Data and database administration(database)
PPTX
MCSA 70-412 Chapter 12
PPTX
Presentation on BACKUP(Nursing informatics )
PPTX
Prevent Recovery Amnesia - Forget The Backups
PPTX
13 DisasterR-1 Disaster Recovery Keamanan TI.pptx
PPTX
Backup & Recovery
PPTX
Performance Tuning
PDF
Guide on Raid Data Recovery
PDF
Nevera Dul Moment
Backups in computer programming and.pptx
MySQL enterprise backup overview
Presentation backup and recovery best practices for very large databases (v...
Database backup and recovery basics
Back up-and-storage v1
Backing up the virtual datacentre. Charlie Llewellyn and Andy Powell from Edu...
Unit no 5 transation processing DMS 22319
Notes from the field — Exploring Some of Veeam’s Restore Scenarios
Dueling duplications RMAN vs Delphix
MySQL Enterprise Backup
40179_Bednar.ppt Oracle Database Upgrade Assistant
Data and database administration(database)
MCSA 70-412 Chapter 12
Presentation on BACKUP(Nursing informatics )
Prevent Recovery Amnesia - Forget The Backups
13 DisasterR-1 Disaster Recovery Keamanan TI.pptx
Backup & Recovery
Performance Tuning
Guide on Raid Data Recovery
Nevera Dul Moment

More from oracle documents (20)

PDF
Windowsosauthent
PDF
Whatistnsnames
PDF
Whatisadatabaselink
PDF
Varraysandnestedtables
PDF
Usertracing
PDF
Userpasswrd
PDF
Userlimit
PDF
Undo internalspresentation
PDF
Undo internals paper
PDF
Tablespacelmt
PDF
Tablerename
PDF
Sql scripting sorcerypresentation
PDF
Sql scripting sorcerypaper
PDF
Sql for dbaspresentation
PDF
Sequencereset
PDF
Rollbacksizes
PDF
Rollbackshrinks
PDF
Rollbacklmt
PDF
Rollbackblocking
PDF
Rollback1555s
Windowsosauthent
Whatistnsnames
Whatisadatabaselink
Varraysandnestedtables
Usertracing
Userpasswrd
Userlimit
Undo internalspresentation
Undo internals paper
Tablespacelmt
Tablerename
Sql scripting sorcerypresentation
Sql scripting sorcerypaper
Sql for dbaspresentation
Sequencereset
Rollbacksizes
Rollbackshrinks
Rollbacklmt
Rollbackblocking
Rollback1555s

Real liferecoverypresentation

  • 1. Real Life Recovery: Perspective, Preparation & Performance RMOUG Training Days ‘99 Daniel W. Fink 7S Consulting, Inc.
  • 2. Introduction Perspective Shifting the Paradigm Preparation Decision-making and Practice Performance Executing the recovery
  • 3. Perspective Traditional New • Focus is on • Focus on properly backing up the recovering a database database • Technology Staff • Business staff makes decisions makes decisions • If you care about • Backup & data, use Recovery strategy archiving is a business exercise
  • 4. Cost v. Lost Revenue Model Business process Balance Costs against Risks Educated decision-making Clear, documented understanding of what is possible, probable and what is not
  • 5. Educate Users Identify the appropriate decision- makers Oracle 101 • Transactions and related structures • Types of backups, archiving and recoveries
  • 6. Set Boundaries Budget • Time • Money Pick 2 • Good • Fast • Cheap Allowable data loss/downtime
  • 7. Service Level Agreement Backup Procedures • Type • Frequency • Storage policies Data loss & downtime • Allowable • Expected Anticipated Scenarios Contact Points
  • 8. Backup Principles Never have 2 points of failure Never backup a file to the same physical device or controller Always have at least 3 control files Redo Logs should be multiplexed at the Oracle level Archived redo logs must be backed up to at least 2 separate tapes OFA Installation eases backup management
  • 9. Backups Offline (cold) Online (hot) Logical (export)
  • 10. Offline Backup Benefits Costs & Risks • Easy to implement • Database is down • Copy direct to if process fails tape • Cannot detect • Can be performed datablock level as part of system corruption backup • Not all tablespaces must be backed up
  • 11. Online Backup Benefit Costs & Risks • Required for 24x7 • Additional disk Systems and processes • Database is up if required process fails • More difficult to implement • Special care required if database crashes • Cannot detect datablock level corruption
  • 12. Logical Backup Benefits Costs & Risks • Easy extraction of • Cannot be used to individual objects recover • Can expose data transactions corruption • Requires target • Useful for database to insert upgrades, objects database • Cannot backup copies/moves complete database
  • 13. No Archiving Benefits Costs & Risks • Default state of • All data since last database backup is lost • Minimal • Restoration management & requires all performance database files impact
  • 14. Archiving Benefits Costs & Risks • Transactions can • Increased be recovered management • Only affected files • Additional disk must be restored and processes • Required for Online backups Optional for Offline backups
  • 15. Restore Copying files required for instance restart or database recovery If final state of recovery process, committed transactions since last backup are lost
  • 16. Recover Apply committed transactions since last backup • Automatic - using redo logs • Manual - using keyboard or other source for data Database returned to state after last backup/before failure
  • 17. Rebuild & Reload Using export or source data to recreate the database Appropriate for non-volatile databases
  • 18. Practice, Practice, Practice Only method of verifying backup procedure effectiveness is to perform several different recoveries The first performance should not be on a live, down database Titanic Syndrome - No backup is ‘unsinkable’
  • 19. Recovery Follow established guidelines Take time to do it right the first time, there may not be a second! Have the Right people in the Right place at the Right time Double-check and document each move If time and circumstances permit, backup database before attempting recovery
  • 20. Stop Panicking Calm is critical, don’t make a mistake by being too hasty Accept the pressure of downtime Refer to documented steps for each type of anticipated failure • Loss of disk or other hardware • Loss of datafile, redo log, archived log, controlfile • Loss of table
  • 21. Identify Cause of Failure Differentiate between symptoms and causes Know how to determine if problem is internal or external to Oracle
  • 22. Correct Cause of Failure If the failed component can be replaced, e.g. new disk, a spare should be easily accessible Be prepared to bypass the failed component Restoring files to a bad disk will require another recovery
  • 23. Restore affected files Restore only those files to be recovered, this will minimize downtime If no archiving is being done, all files must be restored
  • 24. Perform proper recovery Cause of failure usually determines the type of recovery Complete - up to the point of failure Incomplete - prior to point of failure • Required if hole exists in archive logs • Know when failure occurred for time- based
  • 25. Post-mortem Number 1 issue - What could have been done to prevent failure and minimize downtime and data loss? Document recovery execution and critique Recovery caused by preventable scenario is a waste of valuable time
  • 26. Conclusion Shift the focus Practice, Practice, Practice Don’t Panic For more information, www.orcldba.com