RMAN in 12c: The Next Generation (PPT)

3,645 views

Published on

Oracle Recovery Manager (Oracle RMAN) has evolved since being released in version 8i. With the newest version of Oracle 12c , RMAN has great new features that will allow you to reduce your down time in case of a disaster. In this session you will learn about the new features that were introduced in Oracle 12c and how can you take advantage of them from the first day you upgrade to this version.

Published in: Technology
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,645
On SlideShare
0
From Embeds
0
Number of Embeds
149
Actions
Shares
0
Downloads
293
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide

RMAN in 12c: The Next Generation (PPT)

  1. 1. RMAN in 12c: The Next Generation Presented by : Gustavo René Antúnez Oracle DBA The Pythian Group April, 2014
  2. 2. 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: –  One of the world’s largest concentrations of dedicated, full-time DBA expertise. Employ 9 Oracle ACEs/ACE Directors. –  Hold 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
  3. 3. About Me –  Oracle DBA –  Part of the First Oracle Associate Group •  Started with Version 9.2 in 2004 –  With The Pythian Group for the last year –  Movie Fanatic –  Music Lover –  Bringing the best from México (Mexihtli) to the rest of the world and in the process photographing it :) –  reneantunez.com –  @grantunez •  #CLV14
  4. 4. Where do I come from?
  5. 5. How did I get to be a DBA
  6. 6. Happiest Job of 2014!* *http://www.forbes.com/sites/susanadams/2014/03/20/the-happiest-and-unhappiest-jobs-in-2014/ Work-life balance Relationship with boss and co- workers Daily tasks Job resources Field will grow by 15% between 2012 and 2022 DBA can be the key driver of success
  7. 7. What is a Pluggable Database? •  Container database (CDB) is an Oracle database that includes zero, one, or many customer-created Containers or Pluggable Databases. •  A pluggable Database (PDB) is a user-created container holding the data and code for your specific applications
  8. 8. What is a Pluggable Database? Root (CDB$ROOT) CDB hrpdb salespdb Seed (PDB$SEED) CDB Administrator Sales Application HR Application PDB Administrator for hrpdb PDB Administrator for salespdb Logical Physical Database Control Files Data Files Online Redo Log 10101 10101 Archived Redo Log Flashback Log
  9. 9. What is RMAN? •  Oracle utility to perform backup and recovery, available since version 8 RMAN Utility Channel Target DB Server Session MML DISK Executable found in $ORACLE_HOME/bin recover.bsq (library file)
  10. 10. What do you need to backup? •  Critical –  Data files –  Control files –  Archived Redo logs (If Inconsistent Backup taken) –  Root DB (12c) •  In line with the DR strategy –  Parameter File (pfile or spfile) –  Block Change Tracking File –  ORACLE_HOME/GRID_HOME/ configuration files –  tnsnames.ora / listener.ora/ sqlnet.ora Not through RMAN
  11. 11. How does an RMAN backup work? Datafiles 1 MB 1 MB 1 MB 1 MB 1 MB 1 MB 1 MB 1 MB 1 MB 1 MB 1 MB 1 MB 1 MB 1 MB 1 MB 1 MB Input I/O Buffers Validation Compression Encryption 1 MB 1 MB 1 MB 1 MB Channel Output Buffers Backup Piece 1 2 3 4 Read Phase Copy Phase Write Phase
  12. 12. Benefits of the RMAN Catalog RMAN Target DB Target DB Target DB Catalog DB Repository for multiple incarnations of a single target metadata about RMAN backups Store RMAN backup scripts Another Database to keep control off It can keep backup history longer than the controlfile can keep it (Depends on value of CONTROL_FILE_RECORD_KEEP_TIME) Centralized Reporting Purposes
  13. 13. What to consider before configuring your RMAN backups •  Fast Recovery Area (FRA) Size DB BackupFRA Disk Quota Size of Incremental BU Size of (n+1) days of Archived Redo logs Size of controlfile Size of Online Redo* # of Groups Size of Flashback logs DB_RECOVERY_FILE_DEST_SIZE DB_RECOVERY_FILE_DEST Useful views • V$FLASH_RECOVERY_AREA_USAGE • V$RECOVERY_FILE_DEST
  14. 14. What to consider before configuring your RMAN backups •  Catalog or no catalog Database •  ARCHIVELOG vs NOARCHIVELOG •  CONTROL_FILE_RECORD_TIME_KEEP •  Set NLS parameters accordingly –  Values from view V$NLS_PARAMETERS –  NLS_DATE_FORMAT='DD-MON-YYYY HH24:MI:SS’ –  NLS_LANG=american_america.we8iso8859p1
  15. 15. Configuring RMAN Default Settings • 

×