Professional Documents
Culture Documents
New Oracle Recovery Manager RMAN 11g Features in Release 1 and Release 2
New Oracle Recovery Manager RMAN 11g Features in Release 1 and Release 2
Introduction
Michael Messina
Management Consultant with TUSC
Background includes Performance
Tuning, High Availability and
Disaster Recovery
Using Oracle for approximately 16
years
messinam@tusc.com
www.tusc.com
Audience Experience
How many are currently utilizing
RMAN for you Backups?
How many are using a RMAN Catalog
Database?
How Many are using a controlfile only?
How many using RMAN for backups
are using RMAN backup compression
capability?
Thoughts and experiences using
RMAN for your Backups?
Goals
Brief Overview of RMAN
Introduce New RMAN
Features available in 11gR1
Overview of Features
Show Feature Use
Show Feature Usefulness
RMAN Architecture
RMAN Benefits
RMAN can detect corrupted blocks and
report them to you.
RMAN can backup and restore
DATABASES, FILES, TABLESPACES,
DATAFILES, CONTROLFILES and SPFILES.
RMAN can create a single Backup of all
archive logs since the last backup
RMAN can delete archive logs after they
are backed up
RMAN can backup the controlfile and
SPFILE automatically
RMAN Limitations
Database instance must be in nomount to
restore controlfile, must also have DBID
Online redo log backups are not supported
No parameter files are backed up (init.ora)
No password files are backed up
A failed RMAN backup job may leave files
behind however the catalog will only reflect
successfully completed jobs.
RMAN works by DBID record and keep track
of them.
RMAN Terminology
Image Copy
Full copy of a single file
Backup Set
Oracle format for a package of
Objects backed up
Backup Piece
Oracle format for a sub package of a
backup set
Channel
A server process on the target
database
RMAN Terminology
DB Incarnation
Incremented each resetlogs
Tag
A logical name assigned by a user to
a backup set or image copy. Tag=<
name >
Substitution Variables
Using SET NEWNAME FOR DATABASE
Using SET NEWNAME FOR TABLESPACE
11gR1
Block Recovery
Enhancement
Flashback Logs
Physical Standby
Oracle 11g
ARCHIVELOG DELETION POLICY {CLEAR | TO
{APPLIED ON [ALL] STANDBY | BACKED UP
integer TIMES TO DEVICE TYPE deviceSpecifier
| NONE | SHIPPED TO [ALL] STANDBY}
[ {APPLIED ON [ALL] STANDBY | BACKED UP
integer TIMES TO DEVICE TYPE deviceSpecifier
| NONE | SHIPPED TO [ALL] STANDBY}]...}
into sections
Allows indication of section size
Improves speed in which large
datafiles are backed up
RMAN> run {
2> allocate channel c1 type disk format
'/backup1/%U';
3> allocate channel c2 type disk format
'/backup2/%U';
4> backup section size 50m
datafile 4;
$ sqlplus / as sysdba
SQL> CREATE USER rman2 IDENTIFIED BY
rman2 QUOTA UNLIMITED ON rman_ts;
SQL> GRANT
RECOVERY_CATALOG_OWNER TO rman2;
$ rman catalog=rman2/rman2
RMAN> CREATE CATALOG;
RMAN> IMPORT CATALOG rman@db11g;
Duplicate Database
Enhancements
Active Database Duplication
capability to duplicate a database
without using or having an existing
RMAN backup or manual file copies.
utilizes the network and is also
referred to a Network-Enabled
Database Duplication.
Works for duplicate for standby
Read-Only Transported
Tablespaces Backup
11gR2
DATAFILE
TEMPFILE
TABLESPACE
DATABASE
RMAN Web-Services
Backup
ofers backup to Amazon S3 and
other web-based storage services.
provides easy-to-manage, low cost
database backup to remote
storage
service using the internet,
reducing or eliminating the cost
and time to manage an in-house
backup infrastructure.
DBMS_TTS.TRANSPORT_SET_CHECK
new procedure for DBMS_TTS package to
determine if tablespaces in the recovery
set are self contained.
DUPLICATE DATABASE
Enhancements
DUPLICATE DATABASE
Enhancements
Questions/Discussion
THANK YOU