SlideShare a Scribd company logo
1 of 37
What’s new in Oracle 12c Recovery
Manager (RMAN)?
Satishbabu Gunukula, Oracle ACE
• 19+ Years of Experience in Database Technologies and
specialized in high availability solutions.
• Masters Degree in Computer Applications
• Written articles for major publications
• Oracle Certified Professional Oracle 8i,9i,10g
• Oracle Certified Expert Oracle 10g RAC
http://www.oracleracexpert.com
Disclaimer
 This content/views in this slides are those of the author
and do not reflect that of Oracle corporation and/or its
affiliates, employer, ex-employer, clients. The material in
this document is for information purpose only and is
published with no warranty, guarantee or implied.
 This material should not be reproduced or used with out
the author’s written permission.
Program Agenda
• Overview of RMAN
• Oracle 12c RMAN New features
 SQL Interface Improvements
 SYSBACKUP Privilege
 Support for multitenant container and pluggable databases
 DUPLICATE enhancements
 Multisection Backup Improvements
 Restoring and Recovering Files Over Network
 Storage Snapshot Optimization
 Active Database Duplication Improvements
 Cross-Platform Backup and Restore Improvements
 Recovering Tables and Table Partitions using RMAN Backups
 Unified auditing and RMAN
• Summary
• Q& A
Overview of RMAN
• Recovery Manager (RMAN) is the backup and recovery
tool supplied for Oracle Databases from version 8 by
Oracle
• RMAN has backup, restore and recovery capabilities
addressing high availability and disaster recovery
• RMAN always maintains metadata about its backup and
recovery operations on a database in the control file of
the database. The RMAN metadata is known as the RMAN
repository.
Overview of RMAN
• The Recovery Manager continues to enhance and extend the
reliability, efficiency, and availability of Oracle Database Backup and
Recovery.
• Oracle 12c has new enhancements and additions in Recovery
Manager
– SQL Interface Improvements
– SYSBACKUP Privilege
– Support for multitenant container and pluggable databases
– DUPLICATE enhancements
– Multisection Backup Improvements
– Restoring and Recovering Files Over Network
– Storage Snapshot Optimization
– Active Database Duplication Improvements
– Cross-Platform Backup and Restore Improvements
– Recovering Tables and Table Partitions using RMAN Backups
– Unified auditing and RMAN
SQL Interface Improvements
• Run SQL commands in RMAN without preceding the
command with the SQL keyword
RMAN> desc dba_profiles;
Name Null? Type
---------------------------- -------------- ----------------------
PROFILE NOT NULL VARCHAR2(128)
RESOURCE_NAME NOT NULL VARCHAR2(32)
RESOURCE_TYPE VARCHAR2(8)
LIMIT VARCHAR2(128)
COMMON VARCHAR2(3)
RMAN> select sysdate from dual;
SYSDATE
---------
10-SEP-14
RMAN>
SQL Interface Improvements
• Run DDL/DML Commands from RMAN Command prompt
RMAN> create table ora_table(col1 number, col2 varchar2(20));
Statement processed
RMAN> insert into ora_table values (1,'Test');
Statement processed
RMAN> update ora_table set col1=2;
Statement processed
RMAN> drop table ora_table;
Statement processed
• SHUTDOWN/STARTUP the database and also can use
ALTER commands from RMAN Command prompt
RMAN> shutdown immediate
RMAN> startup mount
RMAN> alter database open;
SYSBACKUP Privilege
• Prior to 12c, users needed SYSDBA privilege to backup the
database. The new SYSBACKUP privilege allows the user
the permissions to perform only backup operations.
• The SYSBACKUP privilege allows the DBA to perform RMAN
backup commands without additional privileges. Using this
new role in 12c, you can segregate Administration and
Backup operations.
• onnect to RMAN using Operating system Authentication
Authentication with the SYSBACKUP Privilege use:
$ rman target ' "/ as sysbackup" '
SYSBACKUP Privilege
• Connect to RMAN using Password file Authentication
Authentication with the SYSBACKUP Privilege use
$ rman target1 ‘ “bkpadm@DB1 as sysbackup” ‘
Where bkpadm is the user and should have SYSBACKUP privilege.
• Note that SYSBACKUP does not include data access
privilege, such as SELECT ANY TABLE.
• When you don’t specify the role explicitly then the default
used is AS SYSDBA.
Support for multitenant container and
pluggable databases
• The multitenant container database (CDB) and pluggable
databases (PDB) are introduced in Oracle 12c, and RMAN
provides full support for backup and recovery
• Using RMAN you can back up an entire container database
or individual pluggable databases and also can perform
point-in-time recovery, but it is recommended that you
turn on control file auto backup
Support for multitenant container and
pluggable databases
• Backing up a container database is similar to backing up a
non-container database
• When you back up a container database, RMAN backs up
the root, pluggable databases in the container, and archive
logs
• When you need to restore you can choose the whole
container, one or more pluggable databases or the root
only.
Support for multitenant container and
pluggable databases
• You can backup the Container Database (CDB) as same as
non-container database using below command
RMAN> BACKUP DATABASE plus ARCHIVELOG;
• You can backup the Pluggable Database (PDB) using below
command
RMAN> BACKUP PLUGGABLE DATABASE PDB1, PDB2;
• You can backup the root using below command
RMAN> BACKUP DATABASE ROOT;
Support for multitenant container and
pluggable databases
• Restoring Container Database (CDB) is similar to non-
container database
• Restoring CDB database will restore all the pluggable
databases. You can restore only ROOT Database
RMAN> RUN
{ STARTUP MOUNT;
RESTORE DATABASE ROOT;
RECOVER DATABASE ROOT;
ALTER DATABASE OPEN;
}
Support for multitenant container and
pluggable databases
• You can restore Pluggable Databases in two ways. Either
you can restore from root container and connect directly
to PDB to restore.
 Restore from root - Using this approach you can able to restore and
recover multiple PDB’s with a single command.
RMAN > RUN { RESTORE PLUGGABLE DATABASE PDB1, PDB2;
RECOVER PLUGGABLE DATABASE PDB1, PDB2;
ALTER PLUGGABLE DATABASE PDB1, PDB2 OPEN; }
 Connect to PDB and restore/recover the database - Using this approach
you will be able to restore and recover only one PDB.
$ rman target=bkpadm@PDB1
RMAN> run{ RESTORE DATABASE;
RECOVER DATABASE; }
DUPLICATE enhancements
• Prior to 12c, When you duplicate a database using RMAN
DUPLICATE, the database is created and opened with
RESETLOGS mode.
• From Oracle 12c, you can specify that the database must
not be opened with “NOOPEN” clause
• This NOOPEN clause useful under following situations:
 If you need to make changes to initialization parameters such as block
change tracking, flashback database settings
 If you plan to create database for upgrade and want to open in upgrade
mode
RMAN> DUPLICATE TARGET DATABASE TO DB1 FROM ACTIVE DATABASE NOOPEN;
Multisection Backup Improvements
• The multisection backup functionality was introduced in
Oracle 11g to handle large data file backups
• Using this functionality RMAN can break up a large file into
sections during the backup and recovery, which can
improve the performance of large datafiles backup.
• You can select the size using the SECTION SIZE keyword
and each channel will create separate files within the
backup set, and backup the database in parallel. This is
introduced in 11g and supports only backup sets.
Multisection Backup Improvements
• In Oracle 12c, the multisection backup supports
incremental backups and image copies including backup
sets (introduced in 11g)
• If the SECTION SIZE that you selected is larger than the
actual file then RMAN does not use multisection backup.
 The following example creates a multisection backup of the database
using image copies.
RMAN> BACKUP AS COPY SECTION SIZE 1024M DATABASE;
 The following example creates multisection incremental level1 backup
RMAN> BACKUP INCREMENTAL LEVEL 1 SECTION SIZE 1024M DATABASE;
Restoring and Recovering Files Over
Network
• Using RMAN you can restore and recover a database,
datafile, controlfile, tablespace or spfile over the network
from a physical standby database
 To restore the database over the network, use the
RESTORE… FROM SERVICE
 To recover the database over the network , use the RECOVER…FROM
SERVICE
• Restoring the datafile on the primary using datafile on
physical database with service “standby_db”
RMAN> RESTORE DATAFILE '/db1/oradata/users.dbf' FROM SERVICE standby_db
SECTION SIZE 1024M;
Restoring and Recovering Files Over
Network
• You can also use multisection, compression and encryption
to improve backup and restore performance.
 Use SECTION SIZE with RESTORE command to perform multisection
restore
 Use SET ENCRYPTION clause before the RESTORE command to specify the
encryption
 Use USING COMPRESSED BACKUPSET clause to compress backup sets
• This feature is useful to synchronize primary and standby
database. Here are the few scenarios
 Roll-forward a physical standby database to sync with the primary
database
 Restore the primary database using physical standby database.
 Restore physical standby database using the primary database.
Storage Snapshot Optimization
• This new feature enables you to take a storage snapshot of
your database using third-party technologies without
keeping the database in BACKUP mode.
• When you need to recover, you can use point in time of
the snapshot. You can roll forward by using the database
archive logs, and use this snapshot feature to recover part
or all of the database.
• If third-party snapshot technology vendor cannot
guarantee compliance with above requirements then you
must keep the database in BACKUP mode to take the
snapshot.
Storage Snapshot Optimization
• In order to backup your Oracle database using storage
snapshot optimization, the third-party snapshot
technologies must meet the following requirements:
 The snapshot preserves the write order for each file.
 The database is crash consistent during the snapshot.
 The snapshot technology stores the time at which the snapshot is
completed
• Use RECOVER…SNAPSHOT TIME command to recover the
database in one step from RMAN or SQL*Plus
 To recover database using particular snapshot use below
command
RMAN> RECOVER DATABASE UNTIL TIME ‘10/10/2014 10:00:00’ SNAPSHOT
TIME ‘10/10/2014 09:00:00’
Active Database Duplication Improvements
• Active Database duplication was introduced in Oracle
Database 11g. Using this feature you can create clone or
standby database by copying the data files and archive logs
using the TARGET (Source) database channels over the
network to clone AUXILIARY database.
• As you are using the TARGET database channels you will
see processing load on the TARGET instance (Source)
Active Database Duplication Improvements
• In Oracle 12c, you can perform Active Database duplication
using the backup sets. You can allocate sufficient
AUXILIARY channels to connect TARGET database and
retrieve the backup’s sets over the network, this reduced
the load on the TARGET (source) database.
Active Database Duplication Improvements
• Duplication example
oracle@gc12c ~]$ rman target sys/password@TESTDB auxiliary sys/password@DUPDB
Recovery Manager: Release 12.1.0.1.0 - Production on Wed Oct 15 10:26:58 2014
Copyright (c) 1982, 2013, Oracle and/or its affiliates. All rights reserved.
connected to target database: TESTDB (DBID=488428308732)
connected to auxiliary database: DUPDB (not mounted)
RMAN> run {
2> duplicate target database to DUPDB from active database
3> db_file_name_convert('TESTDB','DUPDB');
4> }
Starting Duplicate Db at 15-OCT-2014 10:27:11
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1 channel ORA_AUX_DISK_1: SID=20 device type=DISK
current log archived ……………….
Cross-Platform Backup and Restore
Improvements
• Cross-platform transportable tablespace and database
were introduce. In this method the user must use EXPORT
or DATAPUMP to export metadata in Oracle 10g
• The tablespace should be in read-only mode during the
process and only image copies are used. This method is
more suitable for smaller or low transaction rate
applications.
Cross-Platform Backup and Restore
Improvements
• In 11.2.0.4, the incremental backup method was
introduced which reduces the tablespace read-only
downtime.
• As users can reduce down time using this feature it is
suitable for large databases. But this feature is only
supported when destination database is Exadata.
Cross-Platform Backup and Restore
Improvements
• In Oracle 12c, you can transport data across platforms
using either full or incremental backups, using image
copies or backup sets and added platform support for
incremental backup.
• To perform cross-platform backups using backup sets, the
destination database must be Oracle 12c or later
• These features simplify the platform migration and
minimize read-only down time on the source database
using incremental based approach. By using this
improvement users can reduce downtime by 8
times versus traditional migration approaches.
Cross-Platform Backup and Restore
Improvements
• If the user performs the conversion at source, CONVERT
TABLESPACE command should be used. If the user
performs conversion at destination, CONVERT DATAFILE
command should be used.
• Cross platform transportable tablespace
 You can use RMAN to transport tablespace across platforms with the same
endian or different endian formats
 If transporting tablespace between different endian formats then the user
must use CONVERT command to perform conversion.
 If transporting tablespace between same endian formats then
the CONVERT command isn’t needed
Cross-Platform Backup and Restore
Improvements
• Cross platform transportable Database
 You can use RMAN to transport entire database across platforms with
same endian format only
 When transporting database the user doesn’t need to perform
EXPORT/IMPORT as SYSTEM tablespace is part of the database that being
copied.
 You can use CONVERT DATABASE command to convert and automatically
transport the database to its destination
 When you run the CONVERT DATABASE on the destination platforms, it
does not convert the format of the files, rather it generates the two scripts
to perform conversion manually.
 CONVERT SCRIPT – This script used to convert data files copies in batch mode
 TRANSPORT SCRIPT – This script contains SQL Statements to create new databases on the
destination platform
Cross-Platform Backup and Restore
Improvements
• Transportable tablespace is useful under following
situations:
 When migrating tablespace across the platforms
 When moving data from large data warehouse to data marts on small
servers
 Sharing read-only tablespace across heterogeneous cluster where hosts
have same endian format
• Transportable Database is useful under following
situations:
 When Evaluation migration path for new platforms
 When you need database on less expensive servers that use different
platform
 Distribute data from one source system to multiple targets with different
platforms
Recovering Tables and Table Partitions
using RMAN Backups
• RMAN enables you to recover tables and table partitions at
a point-in-time without affecting the other objects in the
database
• Use RECOVER TABLE command to recover tables or table
partitions from an RMAN backup
• This feature is useful in the following scenarios:
 When the object has Logical corruption or dropped
 When there is no sufficient undo to perform Flashback table
 When DDL operation modified the structure and you want to recover the
data (Flashback cannot rewind the structural changes)
 If you need to recover a small number of tables to a point-in-time
Recovering Tables and Table Partitions
using RMAN Backups
• Before you recover the tables and table partitions, make
sure you verify the pre-requisites and determine the point-
in-time. RMAN enables you to specify the point-in-time
either using SCN, Time or sequence number.
• In order to perform table/ table Partition recovery these
conditions must be met:
 Database must be in ARCHIVELOG mode and read-write mode
 At least one full backup is available along with archived logs
 Enough disk space is available on the database server for auxiliary
instance
 If present, any dependent objects to include in recovery
 COMPATIBLE parameter must be set to 11.1.0 or higher to recover table
partition
Recovering Tables and Table Partitions
using RMAN Backups
• During the recovery process RMAN creates an auxiliary
database, which is used to recover the tables or table
partitions to a specified point-in-time.
• User need to specify the auxiliary database location using
AUXILIARY DESTINATION clause in the RECOVERY
command or SET NEWNAME command
• Please find an example to recovery TBL1 table.
RMAN> RECOVER TABLE TESTUSER.TBL1
UNTIL SCN 384840289
AUXILIARY DESTINATION '/tmp/TESTDB/recover‘
DATAPUMP DESTINATION '/tmp/TESTDB/dumpfiles‘
DUMP FILE 'testdump.dat';
Recovering Tables and Table Partitions
using RMAN Backups
• There are some limitations recovering tables and table
partitions:
 We cannot recover table and table partitions belonging to SYS schema
 We cannot recover table or table partitions from SYSAUX,SYSTEM
tablespace Tables
 We cannot recover tables with named NOT NULL constraint using REMAP
option.
 We cannot recover Table/Table partitions ON STANDBY database
 We cannot recovery table partitions if version is prior Oracle Database 11g
R1
Unified auditing and RMAN
• In Unified auditing you can consolidate all audit records
into single audit trail.
• User must have AUDIT_ADMIN OR audit viewer ROLE to
query UNIFIED_AUDIT_TRAIL data dictionary view for
single-instance and GV$UNIFIED_AUDIT_TRAIL for Oracle
RAC
• Please find the Oracle recovery Manager specific columns
in UNIFIED_AUDIT_TRAIL data dictionary view.
RMAN_SESSION_RECID – It contains the RMAN session identifier
RMAN_SESSION_STAMP – It contains the timestamp for the RMAN session.
RMAN_OPERATION – It contains the operation executed by RMAN job
RMAN_OBJECT_TYPE – It contains the type of object involved in a RMAN session.
RMAN_DEVICE_TYPE – it contains device type associated with RMAN session. This can be SBT or
DISK.
Summary
New Features Summary:
 SQL Interface Improvements
 SYSBACKUP Privilege
 Support for multitenant container and pluggable databases
 DUPLICATE enhancements
 Multisection Backup Improvements
 Restoring and Recovering Files Over Network
 Storage Snapshot Optimization
 Active Database Duplication Improvements
 Cross-Platform Backup and Restore Improvements
 Recovering Tables and Table Partitions using RMAN Backups
 Unified auditing and RMAN
Questions & Answers

More Related Content

What's hot

Oracle 12c New Features_RMAN_slides
Oracle 12c New Features_RMAN_slidesOracle 12c New Features_RMAN_slides
Oracle 12c New Features_RMAN_slidesSaiful
 
Oracle data guard configuration in 12c
Oracle data guard configuration in 12cOracle data guard configuration in 12c
Oracle data guard configuration in 12cuzzal basak
 
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz
 
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESLudovico Caldara
 
Backup and recovery in oracle
Backup and recovery in oracleBackup and recovery in oracle
Backup and recovery in oraclesadegh salehi
 
Oracle Basics and Architecture
Oracle Basics and ArchitectureOracle Basics and Architecture
Oracle Basics and ArchitectureSidney Chen
 
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 scriptMaris Elsins
 
Oracle Database Backups and Disaster Recovery @ Autodesk
Oracle Database Backups and Disaster Recovery @ AutodeskOracle Database Backups and Disaster Recovery @ Autodesk
Oracle Database Backups and Disaster Recovery @ AutodeskAlan Williams
 
RMAN in 12c: The Next Generation (PPT)
RMAN in 12c: The Next Generation (PPT)RMAN in 12c: The Next Generation (PPT)
RMAN in 12c: The Next Generation (PPT)Gustavo Rene Antunez
 
Backup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RACBackup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RACPaulo Fagundes
 
Dataguard presentation
Dataguard presentationDataguard presentation
Dataguard presentationVimlendu Kumar
 
Dataguard implementation
Dataguard implementationDataguard implementation
Dataguard implementationRajshekar Patil
 
Oracle backup and recovery
Oracle backup and recoveryOracle backup and recovery
Oracle backup and recoveryYogiji Creations
 
High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2Mario Redón Luz
 

What's hot (20)

Oracle 12c New Features_RMAN_slides
Oracle 12c New Features_RMAN_slidesOracle 12c New Features_RMAN_slides
Oracle 12c New Features_RMAN_slides
 
Oracle data guard configuration in 12c
Oracle data guard configuration in 12cOracle data guard configuration in 12c
Oracle data guard configuration in 12c
 
RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA
 
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
 
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
 
Backup and recovery in oracle
Backup and recovery in oracleBackup and recovery in oracle
Backup and recovery in oracle
 
Oracle Basics and Architecture
Oracle Basics and ArchitectureOracle Basics and Architecture
Oracle Basics and Architecture
 
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
 
Oracle Database Backups and Disaster Recovery @ Autodesk
Oracle Database Backups and Disaster Recovery @ AutodeskOracle Database Backups and Disaster Recovery @ Autodesk
Oracle Database Backups and Disaster Recovery @ Autodesk
 
RMAN in 12c: The Next Generation (PPT)
RMAN in 12c: The Next Generation (PPT)RMAN in 12c: The Next Generation (PPT)
RMAN in 12c: The Next Generation (PPT)
 
Les 03 catalog
Les 03 catalogLes 03 catalog
Les 03 catalog
 
Oracle Data Guard
Oracle Data GuardOracle Data Guard
Oracle Data Guard
 
Backup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RACBackup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RAC
 
Dataguard presentation
Dataguard presentationDataguard presentation
Dataguard presentation
 
Dataguard implementation
Dataguard implementationDataguard implementation
Dataguard implementation
 
Oracle backup and recovery
Oracle backup and recoveryOracle backup and recovery
Oracle backup and recovery
 
Les 02 config
Les 02 configLes 02 config
Les 02 config
 
High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2
 
Les 08 tune_rman
Les 08 tune_rmanLes 08 tune_rman
Les 08 tune_rman
 
Ioug tip book11_gunukula
Ioug tip book11_gunukulaIoug tip book11_gunukula
Ioug tip book11_gunukula
 

Similar to What’s new in oracle 12c recovery manager (rman)

What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)Satishbabu Gunukula
 
RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)Gustavo Rene Antunez
 
Oow14 con7681-rman-1
Oow14 con7681-rman-1Oow14 con7681-rman-1
Oow14 con7681-rman-1Dan Glasscock
 
Rman 12c new_features
Rman 12c new_featuresRman 12c new_features
Rman 12c new_featuresNabi Abdul
 
Oracle-12c Online Training by Quontra Solutions
 Oracle-12c Online Training by Quontra Solutions Oracle-12c Online Training by Quontra Solutions
Oracle-12c Online Training by Quontra SolutionsQuontra Solutions
 
Oracle Backup Solutions Overview August 2018
Oracle Backup Solutions Overview August 2018Oracle Backup Solutions Overview August 2018
Oracle Backup Solutions Overview August 2018Dan Glasscock
 
Les 02 Config Rec
Les 02 Config RecLes 02 Config Rec
Les 02 Config Recvivaankumar
 
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 2017Andy Colvin
 
Collaborate 2012 - RMAN Eliminate the mystery
Collaborate 2012 - RMAN Eliminate the mysteryCollaborate 2012 - RMAN Eliminate the mystery
Collaborate 2012 - RMAN Eliminate the mysteryNelson Calero
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cSatishbabu Gunukula
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intropasalapudi
 
Collaborate 2012 - RMAN eliminate the mystery
Collaborate 2012 - RMAN eliminate the mysteryCollaborate 2012 - RMAN eliminate the mystery
Collaborate 2012 - RMAN eliminate the mysteryNelson Calero
 
B35 all you wanna know about rman by francisco alvarez
B35 all you wanna know about rman by francisco alvarezB35 all you wanna know about rman by francisco alvarez
B35 all you wanna know about rman by francisco alvarezInsight Technology, Inc.
 

Similar to What’s new in oracle 12c recovery manager (rman) (20)

What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
 
RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)
 
Oow14 con7681-rman-1
Oow14 con7681-rman-1Oow14 con7681-rman-1
Oow14 con7681-rman-1
 
Rman 12c new_features
Rman 12c new_featuresRman 12c new_features
Rman 12c new_features
 
Presentation day2 oracle12c
Presentation day2 oracle12cPresentation day2 oracle12c
Presentation day2 oracle12c
 
Les 07 rman_rec
Les 07 rman_recLes 07 rman_rec
Les 07 rman_rec
 
Oracle-12c Online Training by Quontra Solutions
 Oracle-12c Online Training by Quontra Solutions Oracle-12c Online Training by Quontra Solutions
Oracle-12c Online Training by Quontra Solutions
 
Oracle Backup Solutions Overview August 2018
Oracle Backup Solutions Overview August 2018Oracle Backup Solutions Overview August 2018
Oracle Backup Solutions Overview August 2018
 
Les 02 Config Rec
Les 02 Config RecLes 02 Config Rec
Les 02 Config Rec
 
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
 
Collaborate 2012 - RMAN Eliminate the mystery
Collaborate 2012 - RMAN Eliminate the mysteryCollaborate 2012 - RMAN Eliminate the mystery
Collaborate 2012 - RMAN Eliminate the mystery
 
Oracle 12c Architecture
Oracle 12c ArchitectureOracle 12c Architecture
Oracle 12c Architecture
 
Les 07 Rman Rec
Les 07 Rman RecLes 07 Rman Rec
Les 07 Rman Rec
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19c
 
Rmanpres
RmanpresRmanpres
Rmanpres
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intro
 
Collaborate 2012 - RMAN eliminate the mystery
Collaborate 2012 - RMAN eliminate the mysteryCollaborate 2012 - RMAN eliminate the mystery
Collaborate 2012 - RMAN eliminate the mystery
 
5895640.ppt
5895640.ppt5895640.ppt
5895640.ppt
 
B35 all you wanna know about rman by francisco alvarez
B35 all you wanna know about rman by francisco alvarezB35 all you wanna know about rman by francisco alvarez
B35 all you wanna know about rman by francisco alvarez
 
15362590.ppt
15362590.ppt15362590.ppt
15362590.ppt
 

More from Satishbabu Gunukula

Oracle Database 23c Security New Features.pptx
Oracle Database 23c Security New Features.pptxOracle Database 23c Security New Features.pptx
Oracle Database 23c Security New Features.pptxSatishbabu Gunukula
 
Oracle Data Pump Enhancements in Oracle 21c.pptx
Oracle Data Pump Enhancements in Oracle 21c.pptxOracle Data Pump Enhancements in Oracle 21c.pptx
Oracle Data Pump Enhancements in Oracle 21c.pptxSatishbabu Gunukula
 
Cloning an Oracle Home or Oracle Install.pptx
Cloning an Oracle Home or Oracle Install.pptxCloning an Oracle Home or Oracle Install.pptx
Cloning an Oracle Home or Oracle Install.pptxSatishbabu Gunukula
 
What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1Satishbabu Gunukula
 
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 methodsSatishbabu Gunukula
 
One database solution for your enterprise business - Oracle 12c
One database solution for your enterprise business - Oracle 12cOne database solution for your enterprise business - Oracle 12c
One database solution for your enterprise business - Oracle 12cSatishbabu Gunukula
 
Oracle golden gate 12c New Features
Oracle golden gate 12c New FeaturesOracle golden gate 12c New Features
Oracle golden gate 12c New FeaturesSatishbabu Gunukula
 
Sql server mission_critical_performance_tdm_white_paper
Sql server mission_critical_performance_tdm_white_paperSql server mission_critical_performance_tdm_white_paper
Sql server mission_critical_performance_tdm_white_paperSatishbabu Gunukula
 
Time for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RACTime for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RACSatishbabu Gunukula
 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application clusterSatishbabu Gunukula
 

More from Satishbabu Gunukula (11)

Oracle Database 23c Security New Features.pptx
Oracle Database 23c Security New Features.pptxOracle Database 23c Security New Features.pptx
Oracle Database 23c Security New Features.pptx
 
Oracle Data Pump Enhancements in Oracle 21c.pptx
Oracle Data Pump Enhancements in Oracle 21c.pptxOracle Data Pump Enhancements in Oracle 21c.pptx
Oracle Data Pump Enhancements in Oracle 21c.pptx
 
Cloning an Oracle Home or Oracle Install.pptx
Cloning an Oracle Home or Oracle Install.pptxCloning an Oracle Home or Oracle Install.pptx
Cloning an Oracle Home or Oracle Install.pptx
 
What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1What’s New in Oracle Database 19c - Part 1
What’s New in Oracle Database 19c - Part 1
 
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
 
One database solution for your enterprise business - Oracle 12c
One database solution for your enterprise business - Oracle 12cOne database solution for your enterprise business - Oracle 12c
One database solution for your enterprise business - Oracle 12c
 
Oracle golden gate 12c New Features
Oracle golden gate 12c New FeaturesOracle golden gate 12c New Features
Oracle golden gate 12c New Features
 
Sql server mission_critical_performance_tdm_white_paper
Sql server mission_critical_performance_tdm_white_paperSql server mission_critical_performance_tdm_white_paper
Sql server mission_critical_performance_tdm_white_paper
 
Time for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RACTime for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RAC
 
Convert single instance to RAC
Convert single instance to RACConvert single instance to RAC
Convert single instance to RAC
 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application cluster
 

Recently uploaded

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 MenDelhi Call girls
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
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...Enterprise Knowledge
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
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 DevelopmentsTrustArc
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
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 MenDelhi Call girls
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
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 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
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...apidays
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
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?Antenna Manufacturer Coco
 
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 interpreternaman860154
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
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 Processorsdebabhi2
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 

Recently uploaded (20)

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
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
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...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
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?
 
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
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

What’s new in oracle 12c recovery manager (rman)

  • 1. What’s new in Oracle 12c Recovery Manager (RMAN)? Satishbabu Gunukula, Oracle ACE • 19+ Years of Experience in Database Technologies and specialized in high availability solutions. • Masters Degree in Computer Applications • Written articles for major publications • Oracle Certified Professional Oracle 8i,9i,10g • Oracle Certified Expert Oracle 10g RAC http://www.oracleracexpert.com
  • 2. Disclaimer  This content/views in this slides are those of the author and do not reflect that of Oracle corporation and/or its affiliates, employer, ex-employer, clients. The material in this document is for information purpose only and is published with no warranty, guarantee or implied.  This material should not be reproduced or used with out the author’s written permission.
  • 3. Program Agenda • Overview of RMAN • Oracle 12c RMAN New features  SQL Interface Improvements  SYSBACKUP Privilege  Support for multitenant container and pluggable databases  DUPLICATE enhancements  Multisection Backup Improvements  Restoring and Recovering Files Over Network  Storage Snapshot Optimization  Active Database Duplication Improvements  Cross-Platform Backup and Restore Improvements  Recovering Tables and Table Partitions using RMAN Backups  Unified auditing and RMAN • Summary • Q& A
  • 4. Overview of RMAN • Recovery Manager (RMAN) is the backup and recovery tool supplied for Oracle Databases from version 8 by Oracle • RMAN has backup, restore and recovery capabilities addressing high availability and disaster recovery • RMAN always maintains metadata about its backup and recovery operations on a database in the control file of the database. The RMAN metadata is known as the RMAN repository.
  • 5. Overview of RMAN • The Recovery Manager continues to enhance and extend the reliability, efficiency, and availability of Oracle Database Backup and Recovery. • Oracle 12c has new enhancements and additions in Recovery Manager – SQL Interface Improvements – SYSBACKUP Privilege – Support for multitenant container and pluggable databases – DUPLICATE enhancements – Multisection Backup Improvements – Restoring and Recovering Files Over Network – Storage Snapshot Optimization – Active Database Duplication Improvements – Cross-Platform Backup and Restore Improvements – Recovering Tables and Table Partitions using RMAN Backups – Unified auditing and RMAN
  • 6. SQL Interface Improvements • Run SQL commands in RMAN without preceding the command with the SQL keyword RMAN> desc dba_profiles; Name Null? Type ---------------------------- -------------- ---------------------- PROFILE NOT NULL VARCHAR2(128) RESOURCE_NAME NOT NULL VARCHAR2(32) RESOURCE_TYPE VARCHAR2(8) LIMIT VARCHAR2(128) COMMON VARCHAR2(3) RMAN> select sysdate from dual; SYSDATE --------- 10-SEP-14 RMAN>
  • 7. SQL Interface Improvements • Run DDL/DML Commands from RMAN Command prompt RMAN> create table ora_table(col1 number, col2 varchar2(20)); Statement processed RMAN> insert into ora_table values (1,'Test'); Statement processed RMAN> update ora_table set col1=2; Statement processed RMAN> drop table ora_table; Statement processed • SHUTDOWN/STARTUP the database and also can use ALTER commands from RMAN Command prompt RMAN> shutdown immediate RMAN> startup mount RMAN> alter database open;
  • 8. SYSBACKUP Privilege • Prior to 12c, users needed SYSDBA privilege to backup the database. The new SYSBACKUP privilege allows the user the permissions to perform only backup operations. • The SYSBACKUP privilege allows the DBA to perform RMAN backup commands without additional privileges. Using this new role in 12c, you can segregate Administration and Backup operations. • onnect to RMAN using Operating system Authentication Authentication with the SYSBACKUP Privilege use: $ rman target ' "/ as sysbackup" '
  • 9. SYSBACKUP Privilege • Connect to RMAN using Password file Authentication Authentication with the SYSBACKUP Privilege use $ rman target1 ‘ “bkpadm@DB1 as sysbackup” ‘ Where bkpadm is the user and should have SYSBACKUP privilege. • Note that SYSBACKUP does not include data access privilege, such as SELECT ANY TABLE. • When you don’t specify the role explicitly then the default used is AS SYSDBA.
  • 10. Support for multitenant container and pluggable databases • The multitenant container database (CDB) and pluggable databases (PDB) are introduced in Oracle 12c, and RMAN provides full support for backup and recovery • Using RMAN you can back up an entire container database or individual pluggable databases and also can perform point-in-time recovery, but it is recommended that you turn on control file auto backup
  • 11. Support for multitenant container and pluggable databases • Backing up a container database is similar to backing up a non-container database • When you back up a container database, RMAN backs up the root, pluggable databases in the container, and archive logs • When you need to restore you can choose the whole container, one or more pluggable databases or the root only.
  • 12. Support for multitenant container and pluggable databases • You can backup the Container Database (CDB) as same as non-container database using below command RMAN> BACKUP DATABASE plus ARCHIVELOG; • You can backup the Pluggable Database (PDB) using below command RMAN> BACKUP PLUGGABLE DATABASE PDB1, PDB2; • You can backup the root using below command RMAN> BACKUP DATABASE ROOT;
  • 13. Support for multitenant container and pluggable databases • Restoring Container Database (CDB) is similar to non- container database • Restoring CDB database will restore all the pluggable databases. You can restore only ROOT Database RMAN> RUN { STARTUP MOUNT; RESTORE DATABASE ROOT; RECOVER DATABASE ROOT; ALTER DATABASE OPEN; }
  • 14. Support for multitenant container and pluggable databases • You can restore Pluggable Databases in two ways. Either you can restore from root container and connect directly to PDB to restore.  Restore from root - Using this approach you can able to restore and recover multiple PDB’s with a single command. RMAN > RUN { RESTORE PLUGGABLE DATABASE PDB1, PDB2; RECOVER PLUGGABLE DATABASE PDB1, PDB2; ALTER PLUGGABLE DATABASE PDB1, PDB2 OPEN; }  Connect to PDB and restore/recover the database - Using this approach you will be able to restore and recover only one PDB. $ rman target=bkpadm@PDB1 RMAN> run{ RESTORE DATABASE; RECOVER DATABASE; }
  • 15. DUPLICATE enhancements • Prior to 12c, When you duplicate a database using RMAN DUPLICATE, the database is created and opened with RESETLOGS mode. • From Oracle 12c, you can specify that the database must not be opened with “NOOPEN” clause • This NOOPEN clause useful under following situations:  If you need to make changes to initialization parameters such as block change tracking, flashback database settings  If you plan to create database for upgrade and want to open in upgrade mode RMAN> DUPLICATE TARGET DATABASE TO DB1 FROM ACTIVE DATABASE NOOPEN;
  • 16. Multisection Backup Improvements • The multisection backup functionality was introduced in Oracle 11g to handle large data file backups • Using this functionality RMAN can break up a large file into sections during the backup and recovery, which can improve the performance of large datafiles backup. • You can select the size using the SECTION SIZE keyword and each channel will create separate files within the backup set, and backup the database in parallel. This is introduced in 11g and supports only backup sets.
  • 17. Multisection Backup Improvements • In Oracle 12c, the multisection backup supports incremental backups and image copies including backup sets (introduced in 11g) • If the SECTION SIZE that you selected is larger than the actual file then RMAN does not use multisection backup.  The following example creates a multisection backup of the database using image copies. RMAN> BACKUP AS COPY SECTION SIZE 1024M DATABASE;  The following example creates multisection incremental level1 backup RMAN> BACKUP INCREMENTAL LEVEL 1 SECTION SIZE 1024M DATABASE;
  • 18. Restoring and Recovering Files Over Network • Using RMAN you can restore and recover a database, datafile, controlfile, tablespace or spfile over the network from a physical standby database  To restore the database over the network, use the RESTORE… FROM SERVICE  To recover the database over the network , use the RECOVER…FROM SERVICE • Restoring the datafile on the primary using datafile on physical database with service “standby_db” RMAN> RESTORE DATAFILE '/db1/oradata/users.dbf' FROM SERVICE standby_db SECTION SIZE 1024M;
  • 19. Restoring and Recovering Files Over Network • You can also use multisection, compression and encryption to improve backup and restore performance.  Use SECTION SIZE with RESTORE command to perform multisection restore  Use SET ENCRYPTION clause before the RESTORE command to specify the encryption  Use USING COMPRESSED BACKUPSET clause to compress backup sets • This feature is useful to synchronize primary and standby database. Here are the few scenarios  Roll-forward a physical standby database to sync with the primary database  Restore the primary database using physical standby database.  Restore physical standby database using the primary database.
  • 20. Storage Snapshot Optimization • This new feature enables you to take a storage snapshot of your database using third-party technologies without keeping the database in BACKUP mode. • When you need to recover, you can use point in time of the snapshot. You can roll forward by using the database archive logs, and use this snapshot feature to recover part or all of the database. • If third-party snapshot technology vendor cannot guarantee compliance with above requirements then you must keep the database in BACKUP mode to take the snapshot.
  • 21. Storage Snapshot Optimization • In order to backup your Oracle database using storage snapshot optimization, the third-party snapshot technologies must meet the following requirements:  The snapshot preserves the write order for each file.  The database is crash consistent during the snapshot.  The snapshot technology stores the time at which the snapshot is completed • Use RECOVER…SNAPSHOT TIME command to recover the database in one step from RMAN or SQL*Plus  To recover database using particular snapshot use below command RMAN> RECOVER DATABASE UNTIL TIME ‘10/10/2014 10:00:00’ SNAPSHOT TIME ‘10/10/2014 09:00:00’
  • 22. Active Database Duplication Improvements • Active Database duplication was introduced in Oracle Database 11g. Using this feature you can create clone or standby database by copying the data files and archive logs using the TARGET (Source) database channels over the network to clone AUXILIARY database. • As you are using the TARGET database channels you will see processing load on the TARGET instance (Source)
  • 23. Active Database Duplication Improvements • In Oracle 12c, you can perform Active Database duplication using the backup sets. You can allocate sufficient AUXILIARY channels to connect TARGET database and retrieve the backup’s sets over the network, this reduced the load on the TARGET (source) database.
  • 24. Active Database Duplication Improvements • Duplication example oracle@gc12c ~]$ rman target sys/password@TESTDB auxiliary sys/password@DUPDB Recovery Manager: Release 12.1.0.1.0 - Production on Wed Oct 15 10:26:58 2014 Copyright (c) 1982, 2013, Oracle and/or its affiliates. All rights reserved. connected to target database: TESTDB (DBID=488428308732) connected to auxiliary database: DUPDB (not mounted) RMAN> run { 2> duplicate target database to DUPDB from active database 3> db_file_name_convert('TESTDB','DUPDB'); 4> } Starting Duplicate Db at 15-OCT-2014 10:27:11 using target database control file instead of recovery catalog allocated channel: ORA_AUX_DISK_1 channel ORA_AUX_DISK_1: SID=20 device type=DISK current log archived ……………….
  • 25. Cross-Platform Backup and Restore Improvements • Cross-platform transportable tablespace and database were introduce. In this method the user must use EXPORT or DATAPUMP to export metadata in Oracle 10g • The tablespace should be in read-only mode during the process and only image copies are used. This method is more suitable for smaller or low transaction rate applications.
  • 26. Cross-Platform Backup and Restore Improvements • In 11.2.0.4, the incremental backup method was introduced which reduces the tablespace read-only downtime. • As users can reduce down time using this feature it is suitable for large databases. But this feature is only supported when destination database is Exadata.
  • 27. Cross-Platform Backup and Restore Improvements • In Oracle 12c, you can transport data across platforms using either full or incremental backups, using image copies or backup sets and added platform support for incremental backup. • To perform cross-platform backups using backup sets, the destination database must be Oracle 12c or later • These features simplify the platform migration and minimize read-only down time on the source database using incremental based approach. By using this improvement users can reduce downtime by 8 times versus traditional migration approaches.
  • 28. Cross-Platform Backup and Restore Improvements • If the user performs the conversion at source, CONVERT TABLESPACE command should be used. If the user performs conversion at destination, CONVERT DATAFILE command should be used. • Cross platform transportable tablespace  You can use RMAN to transport tablespace across platforms with the same endian or different endian formats  If transporting tablespace between different endian formats then the user must use CONVERT command to perform conversion.  If transporting tablespace between same endian formats then the CONVERT command isn’t needed
  • 29. Cross-Platform Backup and Restore Improvements • Cross platform transportable Database  You can use RMAN to transport entire database across platforms with same endian format only  When transporting database the user doesn’t need to perform EXPORT/IMPORT as SYSTEM tablespace is part of the database that being copied.  You can use CONVERT DATABASE command to convert and automatically transport the database to its destination  When you run the CONVERT DATABASE on the destination platforms, it does not convert the format of the files, rather it generates the two scripts to perform conversion manually.  CONVERT SCRIPT – This script used to convert data files copies in batch mode  TRANSPORT SCRIPT – This script contains SQL Statements to create new databases on the destination platform
  • 30. Cross-Platform Backup and Restore Improvements • Transportable tablespace is useful under following situations:  When migrating tablespace across the platforms  When moving data from large data warehouse to data marts on small servers  Sharing read-only tablespace across heterogeneous cluster where hosts have same endian format • Transportable Database is useful under following situations:  When Evaluation migration path for new platforms  When you need database on less expensive servers that use different platform  Distribute data from one source system to multiple targets with different platforms
  • 31. Recovering Tables and Table Partitions using RMAN Backups • RMAN enables you to recover tables and table partitions at a point-in-time without affecting the other objects in the database • Use RECOVER TABLE command to recover tables or table partitions from an RMAN backup • This feature is useful in the following scenarios:  When the object has Logical corruption or dropped  When there is no sufficient undo to perform Flashback table  When DDL operation modified the structure and you want to recover the data (Flashback cannot rewind the structural changes)  If you need to recover a small number of tables to a point-in-time
  • 32. Recovering Tables and Table Partitions using RMAN Backups • Before you recover the tables and table partitions, make sure you verify the pre-requisites and determine the point- in-time. RMAN enables you to specify the point-in-time either using SCN, Time or sequence number. • In order to perform table/ table Partition recovery these conditions must be met:  Database must be in ARCHIVELOG mode and read-write mode  At least one full backup is available along with archived logs  Enough disk space is available on the database server for auxiliary instance  If present, any dependent objects to include in recovery  COMPATIBLE parameter must be set to 11.1.0 or higher to recover table partition
  • 33. Recovering Tables and Table Partitions using RMAN Backups • During the recovery process RMAN creates an auxiliary database, which is used to recover the tables or table partitions to a specified point-in-time. • User need to specify the auxiliary database location using AUXILIARY DESTINATION clause in the RECOVERY command or SET NEWNAME command • Please find an example to recovery TBL1 table. RMAN> RECOVER TABLE TESTUSER.TBL1 UNTIL SCN 384840289 AUXILIARY DESTINATION '/tmp/TESTDB/recover‘ DATAPUMP DESTINATION '/tmp/TESTDB/dumpfiles‘ DUMP FILE 'testdump.dat';
  • 34. Recovering Tables and Table Partitions using RMAN Backups • There are some limitations recovering tables and table partitions:  We cannot recover table and table partitions belonging to SYS schema  We cannot recover table or table partitions from SYSAUX,SYSTEM tablespace Tables  We cannot recover tables with named NOT NULL constraint using REMAP option.  We cannot recover Table/Table partitions ON STANDBY database  We cannot recovery table partitions if version is prior Oracle Database 11g R1
  • 35. Unified auditing and RMAN • In Unified auditing you can consolidate all audit records into single audit trail. • User must have AUDIT_ADMIN OR audit viewer ROLE to query UNIFIED_AUDIT_TRAIL data dictionary view for single-instance and GV$UNIFIED_AUDIT_TRAIL for Oracle RAC • Please find the Oracle recovery Manager specific columns in UNIFIED_AUDIT_TRAIL data dictionary view. RMAN_SESSION_RECID – It contains the RMAN session identifier RMAN_SESSION_STAMP – It contains the timestamp for the RMAN session. RMAN_OPERATION – It contains the operation executed by RMAN job RMAN_OBJECT_TYPE – It contains the type of object involved in a RMAN session. RMAN_DEVICE_TYPE – it contains device type associated with RMAN session. This can be SBT or DISK.
  • 36. Summary New Features Summary:  SQL Interface Improvements  SYSBACKUP Privilege  Support for multitenant container and pluggable databases  DUPLICATE enhancements  Multisection Backup Improvements  Restoring and Recovering Files Over Network  Storage Snapshot Optimization  Active Database Duplication Improvements  Cross-Platform Backup and Restore Improvements  Recovering Tables and Table Partitions using RMAN Backups  Unified auditing and RMAN

Editor's Notes

  1. 1