SlideShare a Scribd company logo
1 of 38
You most probably don't need
an RMAN catalog database
Introduction to the whitepaper
Yury Velikanov & Community
Sunday, Sep 22, 2:15 PM - 3:15 PM
Moscone West - 3014
Session ID# UGF9741
#OOW13 @yvelik
About Yury
Google: Yury Oracle [phone|email]
Twitter, LinkedIn, Blog, Slideshare, YouTube
Oracle ACE Director
Oracle Certified Master(9i/10g/11g + 15 OCP certificates)
Oracle DBA 15+ years(42+ months working for Pythian)
10 Problems with your RMAN backup script (author)
12 000+ views on SlideShare.net
About Yury
Google: Yury Oracle
10 Problems with your RMAN backup script (author)
12 000+ views on SlideShare.net
About Pythian
• Recognized Leader:
– Global industry-leader in remote database administration services and consulting for Oracle, Oracle
Applications, MySQL and Microsoft SQL Server
– Work with over 250 multinational companies such as Forbes.com, Fox Sports, Nordion and Western
Union to help manage their complex IT deployments
• Expertise:
– Pythian’s data experts are the elite in their field. We have the highest concentration of Oracle ACEs on
staff – 10 including 3 ACE Directors – and 2 Microsoft MVPs.
– Pythian holds 7 Specializations under Oracle Platinum Partner program, including Oracle Exadata,
Oracle GoldenGate & Oracle RAC
• Global Reach & Scalability:
– Around the clock global remote support for DBA and consulting, systems administration, special
projects or emergency response
Community involvement
Agenda
• Introduction
• Why RMAN catalog is an overhead? / COST
• Cases when catalog database is a MUST
• Benefits of using RMAN catalog / VALUE
• Catalog use-cases
– Catalog & MML integration
– Catalog & DR
– Catalog & FS
• Practical hints for catalog usage
CTL vs DB
DB Catalog
doesn’t provide more
HISTORY!
Introduction – Why?
• Many DBAs use RMAN catalog because
– It was a default option in 8.0
– It is recommended by Oracle
– It was created before them
• Many DBAs don’t
– Use most of the catalog benefits
– know how to assess cost involved
– know how to justify catalog existence
@dbareactions
COST
Complexity
RMAN catalog is an overhead COST
• IMPLEMENTATION COST
• MAITENANCE & RUNNING COSTS
• DEPENDENCIES
• DOWNTIME
• AVAILABILITY
• TUNING
• BACKUP
• COST per database
- More databases - less cost
- Cost vs Risk
A MUST
RMAN catalog database is a MUST
• Disaster Recovery
– Data Guard (standby database)
– Backups from both DR sides
– Shared backups media
RMAN catalog database is a MUST
• Control File size is way to big
– control_file_record_keep_time
– Manage retention (if applicable)
– Restore alternative MML handle
RMAN catalog database is a MUST
• KEEP
– Keep a backup for longer than current retention policy allows
– Long term backups need a special care and should be treated
as archiving
• MML retention should be adjusted as necessary
• Other tape pool / file system than regular backups
• oracle database software & operational system
– There are alternative ways (file system)
• RESTORE PREVIEW + OS copy
• BACKUP + UNCATALOG
VALUE
RMAN catalog Benefits / VALUE
• Additional bird level view - control level
– Many databases
– Small DBA team
– Scheduling issues
– Manager’s view
RMAN catalog Benefits / VALUE
• Volumes & Throughput monitoring
– Day to day monitoring
– Report deviations (archived logs)
– Troubleshooting data
– Tuning (compression, IO vs CPU vs TIME)
– Chargeback
Capacity planning / VALUE
• Challenge (centralized NFS)
– Used for many databases backups
– Retention policy varies
– Incremental backups + Weekly cycles
– RAC multiple backups from different nodes
• Solution – Catalog DB
– Centralized data for all databases
– Regular data snaps
– Custom data analysis tables
RMAN catalog Benefits / VALUE
• MML & Catalog DB
– Tends to have longer retention policy
• Often retention policy isn’t managed by RMAN
– Simplifies and unifies controlfile recovery
• There are alternatives, e.g. MML handle from log files
RMAN catalog Benefits / VALUE
• RMAN scripts
Pros
– Standard way to backup
– Centralized control / easer change
Cons
– Dependency from RMAN catalog
– Limited syntax
• About Stored Scripts: Any command that is
legal within a RUN command is permitted
in the stored script.
!shell rules!
VALUE
• Additional high-level view of backups
• Volumes & Throughput monitoring
• Information for Capacity planning
• Simplifies controlfile recovery (MML)
• Repository for generic RMAN scripts
Catalog Doesn’t
• Keep longer history
• Replace control file backups
CATALOG USE-CASES
MML, DR, FS
Catalog & MML integration
• Control File Auto recovery (challenge)
– How it works
• CONFIGURE CONTROLFILE AUTOBACKUP ON
• standard handle name (%F format)
c + {database ID} + {date} + {XX}
• XX - hexadecimal incremental from 00 to FF
– Restore
• Restore freshest controlfile
• RMAN Tries FF, FE, ….. 01, 00
– MML 1 round trip 2-5 minutes
• 240 roundtrips = 8-20 hours maxseq and maxdays
Catalog & MML integration
• Alternative control file restore options
– MML REPOSITORY
– RMAN LOG
– HANDLE name
• RMAN: “ENV=” or “format”
• Catalog addresses
– Difficulties in MML & DBA communications
– Absence of MML access
– Standard way to restore (easier)
Catalog, MML & RETENTION
RMAN rarely used for retention management
– Typically there are many MML clients
• File systems
• MS Exchange / Lotus Domino
• Other databases
– There are pools to send backups to
• Weekly
• Monthly
• Custom
There is a synchronization challenge
Catalog & Disaster Recovery
• Disk based backups are local
– Accessible from one site only
• Tape based backups are global
– Accessible from both sites
• Review the SITE_KEY column in RMAN catalog views
• KEY: CATALOG disk based backups on other site
“Backup and Recovery Reference 11g R2”
– “RMAN Backups in a Data Guard Environment”
Catalog & File System => MML
• Simple unless ….
• Relies on file system to tape backups
– Strong recommendation to use MML integration
• Missing backups
• Too many copies for SOME backup sets
– If you use
• Don’t use DELETE OBSOLETE
• RESTORE … PREVIEW
• Manual synchronization
PRACTICAL HINTS THE CATALOG USAGE
Practical hints for catalog usage
• DBID must be different for all databases
• Do not separate Development & Production
• To use or not to use RMAN catalog stored scripts?
• Use resync catalog
• RMAN setup for catalog DB failures
• Introduce two catalog DBs to ensure HA
CONCLUSIONS
Whitepaper!
Catalog makes it simple
• RMAN Catalog is an overhead
• You may manage without it
• However an RMAN Catalog
– simplifies backup management
– adds additional benefits
– reduces risks
– there are other special cases
• Cost is opposite proportion to DB count
• Consider leveraging other catalog DB benefits
If you don’t use catalog DB
• Make sure that
– control_file_record_keep_time is greater than
maximum retention period you may use
– You have an easy access to archive of RMAN LOG
files
– You have knowledge & access to MML server
• at least you have a best friend in tapes
management team
• Assess catalog DB benefits on regular basis
CTL vs DB
Google: Oracle Yury
Blog, Twitter, Linkedin, ACE … email, phone number
Whitepaper!
Session ID# UGF9741
#OOW13 @yvelik
THANK YOU
Google: Oracle Yury
Whitepaper!

More Related Content

What's hot

Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application cluster
Satishbabu Gunukula
 
Oracle 12c New Features_RMAN_slides
Oracle 12c New Features_RMAN_slidesOracle 12c New Features_RMAN_slides
Oracle 12c New Features_RMAN_slides
Saiful
 
Backup and Recovery Procedure
Backup and Recovery ProcedureBackup and Recovery Procedure
Backup and Recovery Procedure
Anar Godjaev
 

What's hot (20)

Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application cluster
 
Install oracle binaris or clonse oracle home
Install oracle binaris or clonse oracle homeInstall oracle binaris or clonse oracle home
Install oracle binaris or clonse oracle home
 
Convert single instance to RAC
Convert single instance to RACConvert single instance to RAC
Convert single instance to RAC
 
Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insights
 
Reduce planned database down time with Oracle technology
Reduce planned database down time with Oracle technologyReduce planned database down time with Oracle technology
Reduce planned database down time with Oracle technology
 
10 Problems with your RMAN backup script
10 Problems with your RMAN backup script10 Problems with your RMAN backup script
10 Problems with your RMAN backup script
 
DBA 101 : Calling all New Database Administrators (WP)
DBA 101 : Calling all New Database Administrators (WP)DBA 101 : Calling all New Database Administrators (WP)
DBA 101 : Calling all New Database Administrators (WP)
 
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
 
Les 03 catalog
Les 03 catalogLes 03 catalog
Les 03 catalog
 
Oracle ASM Training
Oracle ASM TrainingOracle ASM Training
Oracle ASM Training
 
Oracle 12c New Features_RMAN_slides
Oracle 12c New Features_RMAN_slidesOracle 12c New Features_RMAN_slides
Oracle 12c New Features_RMAN_slides
 
10 Problems with your RMAN backup script - whitepaper
10 Problems with your RMAN backup script - whitepaper10 Problems with your RMAN backup script - whitepaper
10 Problems with your RMAN backup script - whitepaper
 
Presentation recovery manager (rman) configuration and performance tuning ...
Presentation    recovery manager (rman) configuration and performance tuning ...Presentation    recovery manager (rman) configuration and performance tuning ...
Presentation recovery manager (rman) configuration and performance tuning ...
 
RMAN best practices for RAC
RMAN best practices for RACRMAN best practices for RAC
RMAN best practices for RAC
 
Oracle e-Business Suite & RAC 11GR2
Oracle e-Business Suite & RAC 11GR2Oracle e-Business Suite & RAC 11GR2
Oracle e-Business Suite & RAC 11GR2
 
Backup and Recovery Procedure
Backup and Recovery ProcedureBackup and Recovery Procedure
Backup and Recovery Procedure
 
Oracle database upgrade to 12c and available methods
Oracle database upgrade to 12c and available methodsOracle database upgrade to 12c and available methods
Oracle database upgrade to 12c and available methods
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intro
 
RMAN - New Features in Oracle 12c - IOUG Collaborate 2017
RMAN - New Features in Oracle 12c - IOUG Collaborate 2017RMAN - New Features in Oracle 12c - IOUG Collaborate 2017
RMAN - New Features in Oracle 12c - IOUG Collaborate 2017
 
Backup and recovery in oracle
Backup and recovery in oracleBackup and recovery in oracle
Backup and recovery in oracle
 

Similar to You most probably dont need an RMAN catalog database

Kb 40 kevin_klineukug_reading20070717[1]
Kb 40 kevin_klineukug_reading20070717[1]Kb 40 kevin_klineukug_reading20070717[1]
Kb 40 kevin_klineukug_reading20070717[1]
shuwutong
 
Dueling duplications RMAN vs Delphix
Dueling duplications RMAN vs DelphixDueling duplications RMAN vs Delphix
Dueling duplications RMAN vs Delphix
Kyle Hailey
 
MySQL enterprise backup overview
MySQL enterprise backup overviewMySQL enterprise backup overview
MySQL enterprise backup overview
郁萍 王
 
MIgrating to RAC using Dataguard
MIgrating to RAC  using Dataguard MIgrating to RAC  using Dataguard
MIgrating to RAC using Dataguard
Fuad Arshad
 

Similar to You most probably dont need an RMAN catalog database (20)

Database 12c is ready for you... Are you ready for 12c?
Database 12c is ready for you... Are you ready for 12c?Database 12c is ready for you... Are you ready for 12c?
Database 12c is ready for you... Are you ready for 12c?
 
Oracle administration classes in mumbai
Oracle administration classes in mumbaiOracle administration classes in mumbai
Oracle administration classes in mumbai
 
Rmanpres
RmanpresRmanpres
Rmanpres
 
An AMIS Overview of Oracle database 12c (12.1)
An AMIS Overview of Oracle database 12c (12.1)An AMIS Overview of Oracle database 12c (12.1)
An AMIS Overview of Oracle database 12c (12.1)
 
An AMIS overview of database 12c
An AMIS overview of database 12cAn AMIS overview of database 12c
An AMIS overview of database 12c
 
Oracle DBA
Oracle DBAOracle DBA
Oracle DBA
 
AUSPC 2013 - Business Continuity Management in SharePoint
AUSPC 2013 - Business Continuity Management in SharePointAUSPC 2013 - Business Continuity Management in SharePoint
AUSPC 2013 - Business Continuity Management in SharePoint
 
Kb 40 kevin_klineukug_reading20070717[1]
Kb 40 kevin_klineukug_reading20070717[1]Kb 40 kevin_klineukug_reading20070717[1]
Kb 40 kevin_klineukug_reading20070717[1]
 
UKOUG - RMAN Back to Basics - Oct 2017
UKOUG - RMAN  Back to Basics - Oct 2017UKOUG - RMAN  Back to Basics - Oct 2017
UKOUG - RMAN Back to Basics - Oct 2017
 
Oracle Backup Solutions Overview August 2018
Oracle Backup Solutions Overview August 2018Oracle Backup Solutions Overview August 2018
Oracle Backup Solutions Overview August 2018
 
Dal deck
Dal deckDal deck
Dal deck
 
Dueling duplications RMAN vs Delphix
Dueling duplications RMAN vs DelphixDueling duplications RMAN vs Delphix
Dueling duplications RMAN vs Delphix
 
Overview of EnterpriseDB Postgres Plus Advanced Server 9.4 and Postgres Enter...
Overview of EnterpriseDB Postgres Plus Advanced Server 9.4 and Postgres Enter...Overview of EnterpriseDB Postgres Plus Advanced Server 9.4 and Postgres Enter...
Overview of EnterpriseDB Postgres Plus Advanced Server 9.4 and Postgres Enter...
 
DBA 101 : Calling all New Database Administrators (PPT)
DBA 101 : Calling all New Database Administrators (PPT)DBA 101 : Calling all New Database Administrators (PPT)
DBA 101 : Calling all New Database Administrators (PPT)
 
MySQL Enterprise Backup
MySQL Enterprise BackupMySQL Enterprise Backup
MySQL Enterprise Backup
 
10 ways to improve your rman script
10 ways to improve your rman script10 ways to improve your rman script
10 ways to improve your rman script
 
MySQL enterprise backup overview
MySQL enterprise backup overviewMySQL enterprise backup overview
MySQL enterprise backup overview
 
Presentation announcing oracle secure backup 10.3
Presentation   announcing oracle secure backup 10.3Presentation   announcing oracle secure backup 10.3
Presentation announcing oracle secure backup 10.3
 
Introducing Postgres Plus Advanced Server 9.4
Introducing Postgres Plus Advanced Server 9.4Introducing Postgres Plus Advanced Server 9.4
Introducing Postgres Plus Advanced Server 9.4
 
MIgrating to RAC using Dataguard
MIgrating to RAC  using Dataguard MIgrating to RAC  using Dataguard
MIgrating to RAC using Dataguard
 

More from Yury Velikanov

Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Yury Velikanov
 
You most probably dont need rman catalog database white paper
You most probably dont need rman catalog database white paperYou most probably dont need rman catalog database white paper
You most probably dont need rman catalog database white paper
Yury Velikanov
 
Sharing experience implementing Direct NFS
Sharing experience implementing Direct NFSSharing experience implementing Direct NFS
Sharing experience implementing Direct NFS
Yury Velikanov
 

More from Yury Velikanov (9)

AWR DB performance Data Mining - Collaborate 2015
AWR DB performance Data Mining - Collaborate 2015AWR DB performance Data Mining - Collaborate 2015
AWR DB performance Data Mining - Collaborate 2015
 
RAC Attack 12c Installation Instruction
RAC Attack 12c Installation InstructionRAC Attack 12c Installation Instruction
RAC Attack 12c Installation Instruction
 
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
 
You most probably dont need rman catalog database white paper
You most probably dont need rman catalog database white paperYou most probably dont need rman catalog database white paper
You most probably dont need rman catalog database white paper
 
All Oracle DBAs have to know about Unix Memory Monitoring
All Oracle DBAs have to know about Unix Memory MonitoringAll Oracle DBAs have to know about Unix Memory Monitoring
All Oracle DBAs have to know about Unix Memory Monitoring
 
Yury's CV as of 2013.03.31
Yury's CV as of 2013.03.31Yury's CV as of 2013.03.31
Yury's CV as of 2013.03.31
 
Sharing experience implementing Direct NFS
Sharing experience implementing Direct NFSSharing experience implementing Direct NFS
Sharing experience implementing Direct NFS
 
Oracle 11G SCAN: Concepts and Implementation Experience Sharing
Oracle 11G SCAN: Concepts and Implementation Experience SharingOracle 11G SCAN: Concepts and Implementation Experience Sharing
Oracle 11G SCAN: Concepts and Implementation Experience Sharing
 
Oracle AWR Data mining
Oracle AWR Data miningOracle AWR Data mining
Oracle AWR Data mining
 

Recently uploaded

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 

You most probably dont need an RMAN catalog database

  • 1. You most probably don't need an RMAN catalog database Introduction to the whitepaper Yury Velikanov & Community Sunday, Sep 22, 2:15 PM - 3:15 PM Moscone West - 3014 Session ID# UGF9741 #OOW13 @yvelik
  • 2. About Yury Google: Yury Oracle [phone|email] Twitter, LinkedIn, Blog, Slideshare, YouTube Oracle ACE Director Oracle Certified Master(9i/10g/11g + 15 OCP certificates) Oracle DBA 15+ years(42+ months working for Pythian) 10 Problems with your RMAN backup script (author) 12 000+ views on SlideShare.net
  • 3. About Yury Google: Yury Oracle 10 Problems with your RMAN backup script (author) 12 000+ views on SlideShare.net
  • 4. About Pythian • Recognized Leader: – Global industry-leader in remote database administration services and consulting for Oracle, Oracle Applications, MySQL and Microsoft SQL Server – Work with over 250 multinational companies such as Forbes.com, Fox Sports, Nordion and Western Union to help manage their complex IT deployments • Expertise: – Pythian’s data experts are the elite in their field. We have the highest concentration of Oracle ACEs on staff – 10 including 3 ACE Directors – and 2 Microsoft MVPs. – Pythian holds 7 Specializations under Oracle Platinum Partner program, including Oracle Exadata, Oracle GoldenGate & Oracle RAC • Global Reach & Scalability: – Around the clock global remote support for DBA and consulting, systems administration, special projects or emergency response
  • 5.
  • 7. Agenda • Introduction • Why RMAN catalog is an overhead? / COST • Cases when catalog database is a MUST • Benefits of using RMAN catalog / VALUE • Catalog use-cases – Catalog & MML integration – Catalog & DR – Catalog & FS • Practical hints for catalog usage
  • 10. Introduction – Why? • Many DBAs use RMAN catalog because – It was a default option in 8.0 – It is recommended by Oracle – It was created before them • Many DBAs don’t – Use most of the catalog benefits – know how to assess cost involved – know how to justify catalog existence @dbareactions
  • 11. COST
  • 13. RMAN catalog is an overhead COST • IMPLEMENTATION COST • MAITENANCE & RUNNING COSTS • DEPENDENCIES • DOWNTIME • AVAILABILITY • TUNING • BACKUP • COST per database - More databases - less cost - Cost vs Risk
  • 15. RMAN catalog database is a MUST • Disaster Recovery – Data Guard (standby database) – Backups from both DR sides – Shared backups media
  • 16. RMAN catalog database is a MUST • Control File size is way to big – control_file_record_keep_time – Manage retention (if applicable) – Restore alternative MML handle
  • 17. RMAN catalog database is a MUST • KEEP – Keep a backup for longer than current retention policy allows – Long term backups need a special care and should be treated as archiving • MML retention should be adjusted as necessary • Other tape pool / file system than regular backups • oracle database software & operational system – There are alternative ways (file system) • RESTORE PREVIEW + OS copy • BACKUP + UNCATALOG
  • 18. VALUE
  • 19. RMAN catalog Benefits / VALUE • Additional bird level view - control level – Many databases – Small DBA team – Scheduling issues – Manager’s view
  • 20. RMAN catalog Benefits / VALUE • Volumes & Throughput monitoring – Day to day monitoring – Report deviations (archived logs) – Troubleshooting data – Tuning (compression, IO vs CPU vs TIME) – Chargeback
  • 21. Capacity planning / VALUE • Challenge (centralized NFS) – Used for many databases backups – Retention policy varies – Incremental backups + Weekly cycles – RAC multiple backups from different nodes • Solution – Catalog DB – Centralized data for all databases – Regular data snaps – Custom data analysis tables
  • 22. RMAN catalog Benefits / VALUE • MML & Catalog DB – Tends to have longer retention policy • Often retention policy isn’t managed by RMAN – Simplifies and unifies controlfile recovery • There are alternatives, e.g. MML handle from log files
  • 23. RMAN catalog Benefits / VALUE • RMAN scripts Pros – Standard way to backup – Centralized control / easer change Cons – Dependency from RMAN catalog – Limited syntax • About Stored Scripts: Any command that is legal within a RUN command is permitted in the stored script. !shell rules!
  • 24. VALUE • Additional high-level view of backups • Volumes & Throughput monitoring • Information for Capacity planning • Simplifies controlfile recovery (MML) • Repository for generic RMAN scripts Catalog Doesn’t • Keep longer history • Replace control file backups
  • 26. Catalog & MML integration • Control File Auto recovery (challenge) – How it works • CONFIGURE CONTROLFILE AUTOBACKUP ON • standard handle name (%F format) c + {database ID} + {date} + {XX} • XX - hexadecimal incremental from 00 to FF – Restore • Restore freshest controlfile • RMAN Tries FF, FE, ….. 01, 00 – MML 1 round trip 2-5 minutes • 240 roundtrips = 8-20 hours maxseq and maxdays
  • 27. Catalog & MML integration • Alternative control file restore options – MML REPOSITORY – RMAN LOG – HANDLE name • RMAN: “ENV=” or “format” • Catalog addresses – Difficulties in MML & DBA communications – Absence of MML access – Standard way to restore (easier)
  • 28. Catalog, MML & RETENTION RMAN rarely used for retention management – Typically there are many MML clients • File systems • MS Exchange / Lotus Domino • Other databases – There are pools to send backups to • Weekly • Monthly • Custom There is a synchronization challenge
  • 29. Catalog & Disaster Recovery • Disk based backups are local – Accessible from one site only • Tape based backups are global – Accessible from both sites • Review the SITE_KEY column in RMAN catalog views • KEY: CATALOG disk based backups on other site “Backup and Recovery Reference 11g R2” – “RMAN Backups in a Data Guard Environment”
  • 30. Catalog & File System => MML • Simple unless …. • Relies on file system to tape backups – Strong recommendation to use MML integration • Missing backups • Too many copies for SOME backup sets – If you use • Don’t use DELETE OBSOLETE • RESTORE … PREVIEW • Manual synchronization
  • 31. PRACTICAL HINTS THE CATALOG USAGE
  • 32. Practical hints for catalog usage • DBID must be different for all databases • Do not separate Development & Production • To use or not to use RMAN catalog stored scripts? • Use resync catalog • RMAN setup for catalog DB failures • Introduce two catalog DBs to ensure HA
  • 34. Catalog makes it simple • RMAN Catalog is an overhead • You may manage without it • However an RMAN Catalog – simplifies backup management – adds additional benefits – reduces risks – there are other special cases • Cost is opposite proportion to DB count • Consider leveraging other catalog DB benefits
  • 35. If you don’t use catalog DB • Make sure that – control_file_record_keep_time is greater than maximum retention period you may use – You have an easy access to archive of RMAN LOG files – You have knowledge & access to MML server • at least you have a best friend in tapes management team • Assess catalog DB benefits on regular basis
  • 37. Google: Oracle Yury Blog, Twitter, Linkedin, ACE … email, phone number Whitepaper! Session ID# UGF9741 #OOW13 @yvelik
  • 38. THANK YOU Google: Oracle Yury Whitepaper!

Editor's Notes

  1. Pictures’ Source:www.graphicshunt.com, http://watchmojo.com/liveBlogs/blog_arcade/wp-content/uploads/2011/01/mortalkombat-1992-game-fight-image.png
  2. Gustavo René Antunez:Another thing to keep in mind is the following note 134234.1, even though you can set your keep time to a high enough value, it can be affected by the setting in the MAXLOGHISTORY, and it will still cycle the records in the control file, and compromising your DR strategy so just be careful with that when using the control file only.
  3. Mention OEM dependencies
  4. http://devopsreactions.tumblr.com/
  5. You can reduce controlfile recovery time from autobackup dramatically with maxseq and maxdays options. See restoreSpecOperand, FROM AUTOBACKUP from Oracle® Database Backup and Recovery Reference 11g Release 2 (11.2)
  6. May mention MML retention option
  7. Pictures’ Source:www.graphicshunt.com, http://watchmojo.com/liveBlogs/blog_arcade/wp-content/uploads/2011/01/mortalkombat-1992-game-fight-image.png