SlideShare a Scribd company logo
1 of 28
Oracle Database Upgrade to 12c and Available
Methods
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
Program Agenda
• Why Oracle 12c?
• Upgrade path to Oracle 12c
• Supported Upgrade Paths
• Pre-requisites
• Upgrade Methods & When to consider
– DBUA
– command line
– Full Transportable Export/Import
– Transportable Tablespaces
– Data Pump Export/Import
– Original Export/Import
• Reference
• Q& A
Why Oracle 12c
• Oracle Database 12c is designed for the cloud and introduces
Multitenant Architecture with more than 500 new features.
• Multitenant architecture featuring pluggable databases, which makes
it easy to consolidate your databases on to the cloud, deliver high
density of schema based consolidation
• It enables customers to increase utilization of resources, and rapidly
provision and clone database for various purposes by lowering down
of Infrastructure & administrative costs.
Upgrade path to Oracle 12c
• Oracle 12c provides to enhanced upgrade automation, the pre-
upgrade and post-upgrade steps have been enhanced by providing fix-
up scripts to reduce the manual work.
• Oracle 12c offers two upgrade options to customers, which is
upgrading to new Multitenant architecture or current architecture.
– Customers have a direct upgrade path from Oracle Database 11g
R1/R2 and Oracle 10g R2.
– Customers who are on Oracle 10g R1 and earlier can use tools
such as Data Pump and GoldenGate to migrate data to Oracle 12c.
Supported Upgrade Paths
• Direct upgrade support at Patch set level
Pre-requisites
• Run preupgrad.sql from Oracle 12c
– sqlplus/ as sysdba
SQL> $ORACLE_HOME/rdbms/admin/preupgrad.sql
• Results of the checks are located at:
/home/oracle/cfgtoollogs/<SID>/preupgrade/preupgrade.log
• Execute in the SOURCE environment BEFORE upgrade:
/home/oracle/cfgtoollogs/<SID>/preupgrade/preupgrade_fixups.sql
• Execute in the NEW environment AFTER upgrade:
/home/oracle/cfgtoollogs/<SID>/preupgrade/postupgrade_fixups.sql
Upgrade Methods
• Available Upgrade Methods
– DBUA
– command line
– Full Transportable Export/Import
– Transportable Tablespaces
– Data Pump Export/Import
– Original Export/Import
Upgrade Method: DBUA
• The easiest way to upgrade Oracle Database
• Database Upgrade assistant (DBUA) is a graphical user interface (GUI)
• This method will perform “in place” upgrade and will not create new
copy of the database instance
• DBUA guides you through the database upgrade process and presents
a series of screen that allow you to specify database upgrade options
• Using DBUA user can significantly reduce the amount of manual effort
required
Upgrade Method: DBUA
• Plugging a database into a container using DBUA
– After upgrade to Oracle 12c, you can easily plug the database into a CDB
– source database and destination CDB must meet the following requirements:
1. The destination CDB must be created separately, as a new database.
2. The operating system and hardware must have the same endianness.
3. The compatible database options must have installed.
4. The source PDB and destination CDB must have compatible character sets
and national character sets:
o Each character in the source database character set is available in the
target CDB character set.
o Each character in the source database character set has the same code
point value in the target CDB character set.
Upgrade Method: DBUA
When to consider DBUA:
– If upgrading Oracle Database in the current hardware
– DBUA is not restartable once the upgrade phase of the process has started
– If you stops the upgrade then you can continue the upgrade using command-line
method
Upgrade Method: Command-Line
• This method also easy to upgrade database but manual effort
required
• Oracle 12c introduces new command-line utility (catctl.pl). This utility
replaces catupgrd.sql used in previous versions
• Command-line utility enables parallel processing during the database
upgrade, resulting in better upgrade performance and reduce
database downtime
• Command-Line upgrade follow the same steps and take the same
amount of time as DBUA
• Using DBUA user can significantly reduce the amount of manual effort
required
• From Oracle Database 12c, the Pre-Upgrade Tool (preupgrd.sql)
automatically generates fixup scripts to address common issues
Upgrade Method: Command-Line
• Plugging a Database into a CDB Using Command-line Upgrade
– After upgrade to Oracle 12c, you can easily plug the database into a CDB
– source database and destination CDB must meet the following requirements:
1. The operating system and hardware must have the same endianness.
2. The compatible database options must have installed.
3. The source PDB and destination CDB must have compatible character sets
and national character sets:
o Each character in the source database character set is available in the target
CDB character set.
o Each character in the source database character set has the same code point
value in the target CDB character set.
Upgrade Method: Command-Line
When to consider DBUA:
• When migrating to new hardware but staying on same operating
system
• The command-line utility has more control from typing commands
than using GIU and many DBA’s prefer this method
• If command-line upgrade is interrupted for any reason, you can rerun
or restart the parallel upgrade utility
Upgrade Method: Full Transportable
Export/Import
• Transportable tablespaces is relatively fast way to migrate and
upgrade a database in a single operation
• This method is useful when migrating database to different operating
system or running different version of oracle database
• Transportable tablespaces allows you to copy a set of tablespaces
from one database to another. In addition meta data must be moved
to new database by export/import
• This method is fairly complicated as user responsible copying
metadata
• From Oracle 12c, the new full transportable export/import is much
easier processes for transporting data and meta data from installed
database options
• This method is faster than export/import
Upgrade Method: Full Transportable
Export/Import
• Migrating to a Pluggable Database Using Full Transportable
Export/Import
– This method allows to migrate entire database to both new O/S and new Database
release in single operation. So it is useful for migrating to a PDB
– The procedure for migrating PDB is same as NON-PDB
Upgrade Method: Full Transportable
Export/Import
When to consider Full Transportable Export/Import :
• Full Transportable Export/Import can be used to migrate source
databases starting Oracle 11g Release 2 (11.2.0.3)
• This method jobs cannot be restarted. In case if the operation is
interrupted then entire job must start from the begging
• This method is subject to the limitations, please refer Oracle Database
Administrator’s Guide for detailed info.
• If O/s and hardware of your source and destination databases have
different endian characteristics, then you need to use RMAN
CONVERT command for each tablespace
Upgrade Method: Transportable
Tablespaces
• The transportable tablespaces feature is useful when copy a single
tablespace or a set of tablespaces
• This method requires manual steps and complicated
Upgrade Method: Transportable
Tablespaces
Migrating to a Pluggable Database Using Transportable Tablespaces
– Transportable tablespaces can be used to migrate to a PDB.
– The procedure for using transportable tablespaces to migrate a database to a PDB
is the same as migrating a non-PDB.
Upgrade Method: Transportable
Tablespaces
When to consider Transportable Tablespaces:
• Oracle recommends to use full transportable export/import to
migrate database from Oracle 11.2.0.3
• Transporting tablespaces between databases is subject to the
limitations, please refer Oracle Database Administrator’s Guide for
detailed info.
• This method can be used to migrate database starting with Oracle 8i
• This method cannot be restated, in case interrupted then entire job
must start from begging
• If O/s and hardware of source and destination databases have
different endian characteristics, you need to use the RMAN CONVERT
command to convert
Upgrade Method: Data Pump
Export/Import
• Oracle Data pump export/import can be used within and between
oracle databases
• This method is commonly used to migrate tables, schemas and
databases to new hardware or different O/S, and new release of
Oracle database software
• This data pump is very flexible and easy to use.
• Oracle Data Pump can write data to dump files on disk, or transfer
data from the source to the destination directly over the network
• When data imported it can be transformed to mat the characteristics
of the destination database
• This method is useful when, implementing encryption or
compression, changing BasicFiles LOBs to SecureFiles LOBs, migrating
to a new character set or changing the partitioning of tables in the
database.
Upgrade Method: Data Pump
Export/Import
• Migrating to a Pluggable Database Using Oracle Data Pump
– Oracle Data Pump export/import is an easy and flexible way to migrate a database
into a PDB
– This method is useful when source and destination databases uses a different
character set and resides on different O/S or implementing encryption…etc
Upgrade Method: Data Pump
Export/Import
When to consider Oracle Data Pump:
– Oracle Data pump method is useful when source and destination databases uses a
different character set and resides on different O/S or implementing
encryption…etc
– Oracle Data pump method available from Oracle 10g
– Data Pump network mode is subject to limitations on network links
Upgrade Method: Export/Import
• Oracle recommends to use Data Pump export/import utilities to move
data between Oracle databases.
• The original export/import may be useful when migrating or
upgrading older databases to 12c
Upgrade Method: Export/Import
Migrating to a Pluggable Database Using Original Export/Import
– The original Import utility is still fully supported for migrating older Export dump
files into newer versions of Oracle Database.
– You can export an older database using the original Export utility, and then import
that database into a PDB using the original Import utility.
– This method helps to consolidate databases from old and even obsolete platforms
into a CDB.
Upgrade Method: Export/Import
When to consider Export/Import:
– Migrating a database using original export/import can be quite time consuming.
– Original export is de-supported for general use from Oracle Database 11g.
– The only supported use of original Export in Oracle Database 11g is backward
migration of XMLType data to Oracle Database 10g release 2 (10.2) or earlier.
Reference
• Oracle Database Administrators Guide
https://docs.oracle.com/database/121/ADMIN/toc.htm
• Oracle Database Upgrades
http://www.oracle.com/technetwork/database/upgrade/overview/index.
html
• Oracle Database upgrade guide
https://docs.oracle.com/database/121/UPGRD/toc.htm
Summary
• Oracle 12c offers many new features and upgrading
database can bring many advantages to organization.
There are various upgrade and migration methods
available and the best method to use for your
upgrade/migration scenario depends on the source
database version, the source and destination operating
systems, your downtime requirements, and the personal
preference of the DBA. Based upon factors there is a
method available to best fit your organization needs.
Questions & Answers

More Related Content

What's hot

Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONMarkus Michalewicz
 
Oracle architecture with details-yogiji creations
Oracle architecture with details-yogiji creationsOracle architecture with details-yogiji creations
Oracle architecture with details-yogiji creationsYogiji Creations
 
MAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19cMAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19cMarkus Michalewicz
 
Oracle data guard for beginners
Oracle data guard for beginnersOracle data guard for beginners
Oracle data guard for beginnersPini Dibask
 
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
 
Smart monitoring how does oracle rac manage resource, state ukoug19
Smart monitoring how does oracle rac manage resource, state ukoug19Smart monitoring how does oracle rac manage resource, state ukoug19
Smart monitoring how does oracle rac manage resource, state ukoug19Anil Nair
 
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best PracticesOracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best PracticesMarkus Michalewicz
 
Oracle Architecture
Oracle ArchitectureOracle Architecture
Oracle ArchitectureNeeraj Singh
 
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RACAIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RACSandesh Rao
 
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - OverviewHA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - OverviewMarkus Michalewicz
 
Backup & recovery with rman
Backup & recovery with rmanBackup & recovery with rman
Backup & recovery with rmanitsabidhussain
 
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
 
The Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationThe Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationMarkus Michalewicz
 
Oracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsAnil Nair
 
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsOracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsZohar Elkayam
 
Oracle Golden Gate Bidirectional Replication
Oracle Golden Gate Bidirectional ReplicationOracle Golden Gate Bidirectional Replication
Oracle Golden Gate Bidirectional ReplicationArun Sharma
 
Oracle Database Performance Tuning Basics
Oracle Database Performance Tuning BasicsOracle Database Performance Tuning Basics
Oracle Database Performance Tuning Basicsnitin anjankar
 
Oracle RAC - New Generation
Oracle RAC - New GenerationOracle RAC - New Generation
Oracle RAC - New GenerationAnil Nair
 
Best Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c FeaturesBest Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c FeaturesMarkus Michalewicz
 

What's hot (20)

Data Guard Architecture & Setup
Data Guard Architecture & SetupData Guard Architecture & Setup
Data Guard Architecture & Setup
 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLON
 
Oracle architecture with details-yogiji creations
Oracle architecture with details-yogiji creationsOracle architecture with details-yogiji creations
Oracle architecture with details-yogiji creations
 
MAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19cMAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19c
 
Oracle data guard for beginners
Oracle data guard for beginnersOracle data guard for beginners
Oracle data guard for beginners
 
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
 
Smart monitoring how does oracle rac manage resource, state ukoug19
Smart monitoring how does oracle rac manage resource, state ukoug19Smart monitoring how does oracle rac manage resource, state ukoug19
Smart monitoring how does oracle rac manage resource, state ukoug19
 
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best PracticesOracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
Oracle Real Application Clusters (RAC) 12c Rel. 2 - Operational Best Practices
 
Oracle Architecture
Oracle ArchitectureOracle Architecture
Oracle Architecture
 
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RACAIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
 
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - OverviewHA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
 
Backup & recovery with rman
Backup & recovery with rmanBackup & recovery with rman
Backup & recovery with rman
 
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
 
The Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationThe Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - Presentation
 
Oracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret Internals
 
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsOracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
 
Oracle Golden Gate Bidirectional Replication
Oracle Golden Gate Bidirectional ReplicationOracle Golden Gate Bidirectional Replication
Oracle Golden Gate Bidirectional Replication
 
Oracle Database Performance Tuning Basics
Oracle Database Performance Tuning BasicsOracle Database Performance Tuning Basics
Oracle Database Performance Tuning Basics
 
Oracle RAC - New Generation
Oracle RAC - New GenerationOracle RAC - New Generation
Oracle RAC - New Generation
 
Best Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c FeaturesBest Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c Features
 

Similar to Oracle database upgrade to 12c and available methods

Optimizing your Database Import!
Optimizing your Database Import! Optimizing your Database Import!
Optimizing your Database Import! Nabil Nawaz
 
COUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_FeaturesCOUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_FeaturesAlfredo Abate
 
Are You Ready for 12c? Data Migration and Upgrade Best Practices
Are You Ready for 12c? Data Migration and Upgrade Best PracticesAre You Ready for 12c? Data Migration and Upgrade Best Practices
Are You Ready for 12c? Data Migration and Upgrade Best PracticesPerformance Tuning Corporation
 
Oracle migrations and upgrades
Oracle migrations and upgradesOracle migrations and upgrades
Oracle migrations and upgradesDurga Gadiraju
 
MIgrating to RAC using Dataguard
MIgrating to RAC  using Dataguard MIgrating to RAC  using Dataguard
MIgrating to RAC using Dataguard Fuad Arshad
 
Evolutionary database design
Evolutionary database designEvolutionary database design
Evolutionary database designSalehein Syed
 
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 database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intropasalapudi
 
Checklist for Upgrades and Migrations
Checklist for Upgrades and MigrationsChecklist for Upgrades and Migrations
Checklist for Upgrades and MigrationsMarkus Flechtner
 
Sql 2012 Upgrade Readiness Guide
Sql 2012 Upgrade Readiness GuideSql 2012 Upgrade Readiness Guide
Sql 2012 Upgrade Readiness GuidePARIKSHIT SAVJANI
 
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?Performance Tuning Corporation
 
MIgrating from Single Instance to RAC via Dataguard
MIgrating from Single Instance to RAC via DataguardMIgrating from Single Instance to RAC via Dataguard
MIgrating from Single Instance to RAC via DataguardFuad Arshad
 
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 technologyKirill Loifman
 
Dynamics of Leading Legacy Databases
Dynamics of Leading Legacy DatabasesDynamics of Leading Legacy Databases
Dynamics of Leading Legacy DatabasesCognizant
 
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)Marco Gralike
 
Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2Connor McDonald
 

Similar to Oracle database upgrade to 12c and available methods (20)

Optimizing your Database Import!
Optimizing your Database Import! Optimizing your Database Import!
Optimizing your Database Import!
 
COUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_FeaturesCOUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_Features
 
Are You Ready for 12c? Data Migration and Upgrade Best Practices
Are You Ready for 12c? Data Migration and Upgrade Best PracticesAre You Ready for 12c? Data Migration and Upgrade Best Practices
Are You Ready for 12c? Data Migration and Upgrade Best Practices
 
Oracle migrations and upgrades
Oracle migrations and upgradesOracle migrations and upgrades
Oracle migrations and upgrades
 
MIgrating to RAC using Dataguard
MIgrating to RAC  using Dataguard MIgrating to RAC  using Dataguard
MIgrating to RAC using Dataguard
 
Evolutionary database design
Evolutionary database designEvolutionary database design
Evolutionary database design
 
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
 
Data migration
Data migrationData migration
Data migration
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intro
 
Checklist for Upgrades and Migrations
Checklist for Upgrades and MigrationsChecklist for Upgrades and Migrations
Checklist for Upgrades and Migrations
 
Sql 2012 Upgrade Readiness Guide
Sql 2012 Upgrade Readiness GuideSql 2012 Upgrade Readiness Guide
Sql 2012 Upgrade Readiness Guide
 
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?
 
MIgrating from Single Instance to RAC via Dataguard
MIgrating from Single Instance to RAC via DataguardMIgrating from Single Instance to RAC via Dataguard
MIgrating from Single Instance to RAC via Dataguard
 
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
 
SAP Post Copy Automation
SAP Post Copy AutomationSAP Post Copy Automation
SAP Post Copy Automation
 
SAP Post Copy Automation
SAP Post Copy AutomationSAP Post Copy Automation
SAP Post Copy Automation
 
Dynamics of Leading Legacy Databases
Dynamics of Leading Legacy DatabasesDynamics of Leading Legacy Databases
Dynamics of Leading Legacy Databases
 
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
 
Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2Whats new in Oracle Database 12c release 12.1.0.2
Whats new in Oracle Database 12c release 12.1.0.2
 

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 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
 
What’s new in oracle 12c recovery manager (rman)
What’s new in oracle 12c recovery manager (rman)What’s new in oracle 12c recovery manager (rman)
What’s new in oracle 12c recovery manager (rman)Satishbabu Gunukula
 
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 homeSatishbabu 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 (13)

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 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)
 
What’s new in oracle 12c recovery manager (rman)
What’s new in oracle 12c recovery manager (rman)What’s new in oracle 12c recovery manager (rman)
What’s new in oracle 12c recovery manager (rman)
 
Why virtual private catalog?
Why virtual private catalog?Why virtual private catalog?
Why virtual private catalog?
 
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
 
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
 
Ioug tip book11_gunukula
Ioug tip book11_gunukulaIoug tip book11_gunukula
Ioug tip book11_gunukula
 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application cluster
 

Recently uploaded

Work Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxWork Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxmavinoikein
 
RACHEL-ANN M. TENIBRO PRODUCT RESEARCH PRESENTATION
RACHEL-ANN M. TENIBRO PRODUCT RESEARCH PRESENTATIONRACHEL-ANN M. TENIBRO PRODUCT RESEARCH PRESENTATION
RACHEL-ANN M. TENIBRO PRODUCT RESEARCH PRESENTATIONRachelAnnTenibroAmaz
 
Dutch Power - 26 maart 2024 - Henk Kras - Circular Plastics
Dutch Power - 26 maart 2024 - Henk Kras - Circular PlasticsDutch Power - 26 maart 2024 - Henk Kras - Circular Plastics
Dutch Power - 26 maart 2024 - Henk Kras - Circular PlasticsDutch Power
 
miladyskindiseases-200705210221 2.!!pptx
miladyskindiseases-200705210221 2.!!pptxmiladyskindiseases-200705210221 2.!!pptx
miladyskindiseases-200705210221 2.!!pptxCarrieButtitta
 
PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.
PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.
PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.KathleenAnnCordero2
 
Chizaram's Women Tech Makers Deck. .pptx
Chizaram's Women Tech Makers Deck.  .pptxChizaram's Women Tech Makers Deck.  .pptx
Chizaram's Women Tech Makers Deck. .pptxogubuikealex
 
The 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software EngineeringThe 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software EngineeringSebastiano Panichella
 
Anne Frank A Beacon of Hope amidst darkness ppt.pptx
Anne Frank A Beacon of Hope amidst darkness ppt.pptxAnne Frank A Beacon of Hope amidst darkness ppt.pptx
Anne Frank A Beacon of Hope amidst darkness ppt.pptxnoorehahmad
 
Genshin Impact PPT Template by EaTemp.pptx
Genshin Impact PPT Template by EaTemp.pptxGenshin Impact PPT Template by EaTemp.pptx
Genshin Impact PPT Template by EaTemp.pptxJohnree4
 
Event 4 Introduction to Open Source.pptx
Event 4 Introduction to Open Source.pptxEvent 4 Introduction to Open Source.pptx
Event 4 Introduction to Open Source.pptxaryanv1753
 
THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...
THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...
THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...漢銘 謝
 
Call Girls In Aerocity 🤳 Call Us +919599264170
Call Girls In Aerocity 🤳 Call Us +919599264170Call Girls In Aerocity 🤳 Call Us +919599264170
Call Girls In Aerocity 🤳 Call Us +919599264170Escort Service
 
The Ten Facts About People With Autism Presentation
The Ten Facts About People With Autism PresentationThe Ten Facts About People With Autism Presentation
The Ten Facts About People With Autism PresentationNathan Young
 
Mathan flower ppt.pptx slide orchids ✨🌸
Mathan flower ppt.pptx slide orchids ✨🌸Mathan flower ppt.pptx slide orchids ✨🌸
Mathan flower ppt.pptx slide orchids ✨🌸mathanramanathan2005
 
Simulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with AerialistSimulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with AerialistSebastiano Panichella
 
INDIAN GCP GUIDELINE. for Regulatory affair 1st sem CRR
INDIAN GCP GUIDELINE. for Regulatory  affair 1st sem CRRINDIAN GCP GUIDELINE. for Regulatory  affair 1st sem CRR
INDIAN GCP GUIDELINE. for Regulatory affair 1st sem CRRsarwankumar4524
 
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Krijn Poppe
 
DGT @ CTAC 2024 Valencia: Most crucial invest to digitalisation_Sven Zoelle_v...
DGT @ CTAC 2024 Valencia: Most crucial invest to digitalisation_Sven Zoelle_v...DGT @ CTAC 2024 Valencia: Most crucial invest to digitalisation_Sven Zoelle_v...
DGT @ CTAC 2024 Valencia: Most crucial invest to digitalisation_Sven Zoelle_v...Henrik Hanke
 
Quality by design.. ppt for RA (1ST SEM
Quality by design.. ppt for  RA (1ST SEMQuality by design.. ppt for  RA (1ST SEM
Quality by design.. ppt for RA (1ST SEMCharmi13
 
SBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation TrackSBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation TrackSebastiano Panichella
 

Recently uploaded (20)

Work Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxWork Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptx
 
RACHEL-ANN M. TENIBRO PRODUCT RESEARCH PRESENTATION
RACHEL-ANN M. TENIBRO PRODUCT RESEARCH PRESENTATIONRACHEL-ANN M. TENIBRO PRODUCT RESEARCH PRESENTATION
RACHEL-ANN M. TENIBRO PRODUCT RESEARCH PRESENTATION
 
Dutch Power - 26 maart 2024 - Henk Kras - Circular Plastics
Dutch Power - 26 maart 2024 - Henk Kras - Circular PlasticsDutch Power - 26 maart 2024 - Henk Kras - Circular Plastics
Dutch Power - 26 maart 2024 - Henk Kras - Circular Plastics
 
miladyskindiseases-200705210221 2.!!pptx
miladyskindiseases-200705210221 2.!!pptxmiladyskindiseases-200705210221 2.!!pptx
miladyskindiseases-200705210221 2.!!pptx
 
PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.
PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.
PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.
 
Chizaram's Women Tech Makers Deck. .pptx
Chizaram's Women Tech Makers Deck.  .pptxChizaram's Women Tech Makers Deck.  .pptx
Chizaram's Women Tech Makers Deck. .pptx
 
The 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software EngineeringThe 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software Engineering
 
Anne Frank A Beacon of Hope amidst darkness ppt.pptx
Anne Frank A Beacon of Hope amidst darkness ppt.pptxAnne Frank A Beacon of Hope amidst darkness ppt.pptx
Anne Frank A Beacon of Hope amidst darkness ppt.pptx
 
Genshin Impact PPT Template by EaTemp.pptx
Genshin Impact PPT Template by EaTemp.pptxGenshin Impact PPT Template by EaTemp.pptx
Genshin Impact PPT Template by EaTemp.pptx
 
Event 4 Introduction to Open Source.pptx
Event 4 Introduction to Open Source.pptxEvent 4 Introduction to Open Source.pptx
Event 4 Introduction to Open Source.pptx
 
THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...
THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...
THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...
 
Call Girls In Aerocity 🤳 Call Us +919599264170
Call Girls In Aerocity 🤳 Call Us +919599264170Call Girls In Aerocity 🤳 Call Us +919599264170
Call Girls In Aerocity 🤳 Call Us +919599264170
 
The Ten Facts About People With Autism Presentation
The Ten Facts About People With Autism PresentationThe Ten Facts About People With Autism Presentation
The Ten Facts About People With Autism Presentation
 
Mathan flower ppt.pptx slide orchids ✨🌸
Mathan flower ppt.pptx slide orchids ✨🌸Mathan flower ppt.pptx slide orchids ✨🌸
Mathan flower ppt.pptx slide orchids ✨🌸
 
Simulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with AerialistSimulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with Aerialist
 
INDIAN GCP GUIDELINE. for Regulatory affair 1st sem CRR
INDIAN GCP GUIDELINE. for Regulatory  affair 1st sem CRRINDIAN GCP GUIDELINE. for Regulatory  affair 1st sem CRR
INDIAN GCP GUIDELINE. for Regulatory affair 1st sem CRR
 
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
 
DGT @ CTAC 2024 Valencia: Most crucial invest to digitalisation_Sven Zoelle_v...
DGT @ CTAC 2024 Valencia: Most crucial invest to digitalisation_Sven Zoelle_v...DGT @ CTAC 2024 Valencia: Most crucial invest to digitalisation_Sven Zoelle_v...
DGT @ CTAC 2024 Valencia: Most crucial invest to digitalisation_Sven Zoelle_v...
 
Quality by design.. ppt for RA (1ST SEM
Quality by design.. ppt for  RA (1ST SEMQuality by design.. ppt for  RA (1ST SEM
Quality by design.. ppt for RA (1ST SEM
 
SBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation TrackSBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation Track
 

Oracle database upgrade to 12c and available methods

  • 1. Oracle Database Upgrade to 12c and Available Methods 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. Program Agenda • Why Oracle 12c? • Upgrade path to Oracle 12c • Supported Upgrade Paths • Pre-requisites • Upgrade Methods & When to consider – DBUA – command line – Full Transportable Export/Import – Transportable Tablespaces – Data Pump Export/Import – Original Export/Import • Reference • Q& A
  • 3. Why Oracle 12c • Oracle Database 12c is designed for the cloud and introduces Multitenant Architecture with more than 500 new features. • Multitenant architecture featuring pluggable databases, which makes it easy to consolidate your databases on to the cloud, deliver high density of schema based consolidation • It enables customers to increase utilization of resources, and rapidly provision and clone database for various purposes by lowering down of Infrastructure & administrative costs.
  • 4. Upgrade path to Oracle 12c • Oracle 12c provides to enhanced upgrade automation, the pre- upgrade and post-upgrade steps have been enhanced by providing fix- up scripts to reduce the manual work. • Oracle 12c offers two upgrade options to customers, which is upgrading to new Multitenant architecture or current architecture. – Customers have a direct upgrade path from Oracle Database 11g R1/R2 and Oracle 10g R2. – Customers who are on Oracle 10g R1 and earlier can use tools such as Data Pump and GoldenGate to migrate data to Oracle 12c.
  • 5. Supported Upgrade Paths • Direct upgrade support at Patch set level
  • 6. Pre-requisites • Run preupgrad.sql from Oracle 12c – sqlplus/ as sysdba SQL> $ORACLE_HOME/rdbms/admin/preupgrad.sql • Results of the checks are located at: /home/oracle/cfgtoollogs/<SID>/preupgrade/preupgrade.log • Execute in the SOURCE environment BEFORE upgrade: /home/oracle/cfgtoollogs/<SID>/preupgrade/preupgrade_fixups.sql • Execute in the NEW environment AFTER upgrade: /home/oracle/cfgtoollogs/<SID>/preupgrade/postupgrade_fixups.sql
  • 7. Upgrade Methods • Available Upgrade Methods – DBUA – command line – Full Transportable Export/Import – Transportable Tablespaces – Data Pump Export/Import – Original Export/Import
  • 8. Upgrade Method: DBUA • The easiest way to upgrade Oracle Database • Database Upgrade assistant (DBUA) is a graphical user interface (GUI) • This method will perform “in place” upgrade and will not create new copy of the database instance • DBUA guides you through the database upgrade process and presents a series of screen that allow you to specify database upgrade options • Using DBUA user can significantly reduce the amount of manual effort required
  • 9. Upgrade Method: DBUA • Plugging a database into a container using DBUA – After upgrade to Oracle 12c, you can easily plug the database into a CDB – source database and destination CDB must meet the following requirements: 1. The destination CDB must be created separately, as a new database. 2. The operating system and hardware must have the same endianness. 3. The compatible database options must have installed. 4. The source PDB and destination CDB must have compatible character sets and national character sets: o Each character in the source database character set is available in the target CDB character set. o Each character in the source database character set has the same code point value in the target CDB character set.
  • 10. Upgrade Method: DBUA When to consider DBUA: – If upgrading Oracle Database in the current hardware – DBUA is not restartable once the upgrade phase of the process has started – If you stops the upgrade then you can continue the upgrade using command-line method
  • 11. Upgrade Method: Command-Line • This method also easy to upgrade database but manual effort required • Oracle 12c introduces new command-line utility (catctl.pl). This utility replaces catupgrd.sql used in previous versions • Command-line utility enables parallel processing during the database upgrade, resulting in better upgrade performance and reduce database downtime • Command-Line upgrade follow the same steps and take the same amount of time as DBUA • Using DBUA user can significantly reduce the amount of manual effort required • From Oracle Database 12c, the Pre-Upgrade Tool (preupgrd.sql) automatically generates fixup scripts to address common issues
  • 12. Upgrade Method: Command-Line • Plugging a Database into a CDB Using Command-line Upgrade – After upgrade to Oracle 12c, you can easily plug the database into a CDB – source database and destination CDB must meet the following requirements: 1. The operating system and hardware must have the same endianness. 2. The compatible database options must have installed. 3. The source PDB and destination CDB must have compatible character sets and national character sets: o Each character in the source database character set is available in the target CDB character set. o Each character in the source database character set has the same code point value in the target CDB character set.
  • 13. Upgrade Method: Command-Line When to consider DBUA: • When migrating to new hardware but staying on same operating system • The command-line utility has more control from typing commands than using GIU and many DBA’s prefer this method • If command-line upgrade is interrupted for any reason, you can rerun or restart the parallel upgrade utility
  • 14. Upgrade Method: Full Transportable Export/Import • Transportable tablespaces is relatively fast way to migrate and upgrade a database in a single operation • This method is useful when migrating database to different operating system or running different version of oracle database • Transportable tablespaces allows you to copy a set of tablespaces from one database to another. In addition meta data must be moved to new database by export/import • This method is fairly complicated as user responsible copying metadata • From Oracle 12c, the new full transportable export/import is much easier processes for transporting data and meta data from installed database options • This method is faster than export/import
  • 15. Upgrade Method: Full Transportable Export/Import • Migrating to a Pluggable Database Using Full Transportable Export/Import – This method allows to migrate entire database to both new O/S and new Database release in single operation. So it is useful for migrating to a PDB – The procedure for migrating PDB is same as NON-PDB
  • 16. Upgrade Method: Full Transportable Export/Import When to consider Full Transportable Export/Import : • Full Transportable Export/Import can be used to migrate source databases starting Oracle 11g Release 2 (11.2.0.3) • This method jobs cannot be restarted. In case if the operation is interrupted then entire job must start from the begging • This method is subject to the limitations, please refer Oracle Database Administrator’s Guide for detailed info. • If O/s and hardware of your source and destination databases have different endian characteristics, then you need to use RMAN CONVERT command for each tablespace
  • 17. Upgrade Method: Transportable Tablespaces • The transportable tablespaces feature is useful when copy a single tablespace or a set of tablespaces • This method requires manual steps and complicated
  • 18. Upgrade Method: Transportable Tablespaces Migrating to a Pluggable Database Using Transportable Tablespaces – Transportable tablespaces can be used to migrate to a PDB. – The procedure for using transportable tablespaces to migrate a database to a PDB is the same as migrating a non-PDB.
  • 19. Upgrade Method: Transportable Tablespaces When to consider Transportable Tablespaces: • Oracle recommends to use full transportable export/import to migrate database from Oracle 11.2.0.3 • Transporting tablespaces between databases is subject to the limitations, please refer Oracle Database Administrator’s Guide for detailed info. • This method can be used to migrate database starting with Oracle 8i • This method cannot be restated, in case interrupted then entire job must start from begging • If O/s and hardware of source and destination databases have different endian characteristics, you need to use the RMAN CONVERT command to convert
  • 20. Upgrade Method: Data Pump Export/Import • Oracle Data pump export/import can be used within and between oracle databases • This method is commonly used to migrate tables, schemas and databases to new hardware or different O/S, and new release of Oracle database software • This data pump is very flexible and easy to use. • Oracle Data Pump can write data to dump files on disk, or transfer data from the source to the destination directly over the network • When data imported it can be transformed to mat the characteristics of the destination database • This method is useful when, implementing encryption or compression, changing BasicFiles LOBs to SecureFiles LOBs, migrating to a new character set or changing the partitioning of tables in the database.
  • 21. Upgrade Method: Data Pump Export/Import • Migrating to a Pluggable Database Using Oracle Data Pump – Oracle Data Pump export/import is an easy and flexible way to migrate a database into a PDB – This method is useful when source and destination databases uses a different character set and resides on different O/S or implementing encryption…etc
  • 22. Upgrade Method: Data Pump Export/Import When to consider Oracle Data Pump: – Oracle Data pump method is useful when source and destination databases uses a different character set and resides on different O/S or implementing encryption…etc – Oracle Data pump method available from Oracle 10g – Data Pump network mode is subject to limitations on network links
  • 23. Upgrade Method: Export/Import • Oracle recommends to use Data Pump export/import utilities to move data between Oracle databases. • The original export/import may be useful when migrating or upgrading older databases to 12c
  • 24. Upgrade Method: Export/Import Migrating to a Pluggable Database Using Original Export/Import – The original Import utility is still fully supported for migrating older Export dump files into newer versions of Oracle Database. – You can export an older database using the original Export utility, and then import that database into a PDB using the original Import utility. – This method helps to consolidate databases from old and even obsolete platforms into a CDB.
  • 25. Upgrade Method: Export/Import When to consider Export/Import: – Migrating a database using original export/import can be quite time consuming. – Original export is de-supported for general use from Oracle Database 11g. – The only supported use of original Export in Oracle Database 11g is backward migration of XMLType data to Oracle Database 10g release 2 (10.2) or earlier.
  • 26. Reference • Oracle Database Administrators Guide https://docs.oracle.com/database/121/ADMIN/toc.htm • Oracle Database Upgrades http://www.oracle.com/technetwork/database/upgrade/overview/index. html • Oracle Database upgrade guide https://docs.oracle.com/database/121/UPGRD/toc.htm
  • 27. Summary • Oracle 12c offers many new features and upgrading database can bring many advantages to organization. There are various upgrade and migration methods available and the best method to use for your upgrade/migration scenario depends on the source database version, the source and destination operating systems, your downtime requirements, and the personal preference of the DBA. Based upon factors there is a method available to best fit your organization needs.

Editor's Notes

  1. 1