SlideShare a Scribd company logo
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

PDF
はじめてのOracle Cloud Infrastructure (Oracle Cloudウェビナーシリーズ: 2021年8月11日)
PDF
Oracle 12 Upgrade
PPTX
Backup and recovery in sql server database
PPTX
Presentation upgrade, migrate &amp; consolidate to oracle database 12c &amp...
PDF
AutoUpgrade and Best Practices
PDF
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
PPTX
しばちょう先生が語る!オラクルデータベースの進化の歴史と最新技術動向#3
PDF
Enterprise manager 13c
はじめてのOracle Cloud Infrastructure (Oracle Cloudウェビナーシリーズ: 2021年8月11日)
Oracle 12 Upgrade
Backup and recovery in sql server database
Presentation upgrade, migrate &amp; consolidate to oracle database 12c &amp...
AutoUpgrade and Best Practices
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
しばちょう先生が語る!オラクルデータベースの進化の歴史と最新技術動向#3
Enterprise manager 13c

What's hot (20)

PDF
Oracle db architecture
PPT
Oracle archi ppt
PDF
MySQL Database Architectures - 2022-08
PPTX
Oracle Data Guard basics and how to create manually 18c plus
PDF
Migration to Oracle Multitenant
PDF
Oracle Cloud Infrastructure セキュリティの取り組み [2021年8月版]
PDF
[Oracle Cloud Days Tokyo 2015] Oracle Database 12c最新情報 ~Maximum Availability ...
PDF
Oracle RAC 19c with Standard Edition (SE) 2 - Support Update
PDF
[Oracle DBA & Developer Day 2016] しばちょう先生の特別講義!!ストレージ管理のベストプラクティス ~ASMからExada...
PPTX
Oracle SQL Developer Tips & Tricks
PPT
Lecture2 oracle ppt
PDF
Oracle Database Appliance 12.1.2.2.0 アップデート及びパッチ管理について
PPTX
Oracle Enterprise Manager
PDF
【旧版】Oracle Gen 2 Exadata Cloud@Customer:サービス概要のご紹介 [2021年12月版]
PPTX
Understand oracle real application cluster
PDF
OOW16 - Online Patching with Oracle E-Business Suite 12.2 [CON6710]
PDF
Backup and recovery in oracle
PPTX
Convert single instance to RAC
PPT
Oracle GoldenGate
PPTX
Data Guard Architecture & Setup
Oracle db architecture
Oracle archi ppt
MySQL Database Architectures - 2022-08
Oracle Data Guard basics and how to create manually 18c plus
Migration to Oracle Multitenant
Oracle Cloud Infrastructure セキュリティの取り組み [2021年8月版]
[Oracle Cloud Days Tokyo 2015] Oracle Database 12c最新情報 ~Maximum Availability ...
Oracle RAC 19c with Standard Edition (SE) 2 - Support Update
[Oracle DBA & Developer Day 2016] しばちょう先生の特別講義!!ストレージ管理のベストプラクティス ~ASMからExada...
Oracle SQL Developer Tips & Tricks
Lecture2 oracle ppt
Oracle Database Appliance 12.1.2.2.0 アップデート及びパッチ管理について
Oracle Enterprise Manager
【旧版】Oracle Gen 2 Exadata Cloud@Customer:サービス概要のご紹介 [2021年12月版]
Understand oracle real application cluster
OOW16 - Online Patching with Oracle E-Business Suite 12.2 [CON6710]
Backup and recovery in oracle
Convert single instance to RAC
Oracle GoldenGate
Data Guard Architecture & Setup
Ad

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

PDF
Upgrade/Migrate to Oracle 12c: Live and Uncensored!
PPT
Changing platforms of Oracle database
PDF
20618782218718364253 emea12 vldb
PDF
Are You Ready for 12c? Data Migration and Upgrade Best Practices
PPTX
Checklist for Upgrades and Migrations
PDF
49785682629390197565_LRN3014_Migrating_the_Beast.pdf
PDF
12c r1 upgrade_companion_300
PDF
Oracle Database Migration to Oracle Cloud Infrastructure
PDF
What is new on 12c for Backup and Recovery? Presentation
PPTX
Migrating to Oracle Database 12c: 300 DBs in 300 days.
PDF
Cdb part i
PDF
Oracle enterprise manager 12c migrate to pluggable database
PDF
2019 odtug webinar-20190129
PDF
Database-Migration and -Upgrade with Transportable Tablespaces
PPTX
Optimizing your Database Import!
PDF
Oracle10g new features
PDF
Migrate.pdf
PDF
Ibm db2 10.5 for linux, unix, and windows data movement utilities guide and...
PDF
Moving your Oracle Databases to the Oracle Cloud
PPTX
Exploring All options to move your Oracle Databases to the Oracle Cloud
Upgrade/Migrate to Oracle 12c: Live and Uncensored!
Changing platforms of Oracle database
20618782218718364253 emea12 vldb
Are You Ready for 12c? Data Migration and Upgrade Best Practices
Checklist for Upgrades and Migrations
49785682629390197565_LRN3014_Migrating_the_Beast.pdf
12c r1 upgrade_companion_300
Oracle Database Migration to Oracle Cloud Infrastructure
What is new on 12c for Backup and Recovery? Presentation
Migrating to Oracle Database 12c: 300 DBs in 300 days.
Cdb part i
Oracle enterprise manager 12c migrate to pluggable database
2019 odtug webinar-20190129
Database-Migration and -Upgrade with Transportable Tablespaces
Optimizing your Database Import!
Oracle10g new features
Migrate.pdf
Ibm db2 10.5 for linux, unix, and windows data movement utilities guide and...
Moving your Oracle Databases to the Oracle Cloud
Exploring All options to move your Oracle Databases to the Oracle Cloud
Ad

More from Satishbabu Gunukula (14)

PPTX
Oracle Database 23c Security New Features.pptx
PPTX
Oracle Data Pump Enhancements in Oracle 21c.pptx
PPTX
Cloning an Oracle Home or Oracle Install.pptx
PPTX
What’s New in Oracle Database 19c - Part 1
PPTX
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
PPTX
Why oracle data guard new features in oracle 18c, 19c
PPTX
One database solution for your enterprise business - Oracle 12c
PPTX
What’s new in oracle 12c recovery manager (rman)
PPTX
Why virtual private catalog?
PPTX
Install oracle binaris or clonse oracle home
PPTX
Oracle golden gate 12c New Features
PDF
Sql server mission_critical_performance_tdm_white_paper
PDF
Time for Change: Migrate your Non-RAC Database to RAC
PDF
Ioug tip book11_gunukula
Oracle Database 23c Security New Features.pptx
Oracle Data Pump Enhancements in Oracle 21c.pptx
Cloning an Oracle Home or Oracle Install.pptx
What’s New in Oracle Database 19c - Part 1
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
Why oracle data guard new features in oracle 18c, 19c
One database solution for your enterprise business - Oracle 12c
What’s new in oracle 12c recovery manager (rman)
Why virtual private catalog?
Install oracle binaris or clonse oracle home
Oracle golden gate 12c New Features
Sql server mission_critical_performance_tdm_white_paper
Time for Change: Migrate your Non-RAC Database to RAC
Ioug tip book11_gunukula

Recently uploaded (20)

PDF
Parts of Speech Prepositions Presentation in Colorful Cute Style_20250724_230...
PDF
oil_refinery_presentation_v1 sllfmfls.pdf
PPTX
Introduction to Effective Communication.pptx
PPTX
Presentation for DGJV QMS (PQP)_12.03.2025.pptx
PPTX
Impressionism_PostImpressionism_Presentation.pptx
PPTX
The Effect of Human Resource Management Practice on Organizational Performanc...
PDF
Why Top Brands Trust Enuncia Global for Language Solutions.pdf
PPTX
Intro to ISO 9001 2015.pptx wareness raising
PDF
Nykaa-Strategy-Case-Fixing-Retention-UX-and-D2C-Engagement (1).pdf
PPTX
Role and Responsibilities of Bangladesh Coast Guard Base, Mongla Challenges
PPTX
BIOLOGY TISSUE PPT CLASS 9 PROJECT PUBLIC
DOCX
ENGLISH PROJECT FOR BINOD BIHARI MAHTO KOYLANCHAL UNIVERSITY
PPTX
worship songs, in any order, compilation
DOCX
"Project Management: Ultimate Guide to Tools, Techniques, and Strategies (2025)"
PPTX
Relationship Management Presentation In Banking.pptx
PPTX
nose tajweed for the arabic alphabets for the responsive
PPTX
fundraisepro pitch deck elegant and modern
PPTX
Tablets And Capsule Preformulation Of Paracetamol
PPTX
Human Mind & its character Characteristics
PPTX
AcademyNaturalLanguageProcessing-EN-ILT-M02-Introduction.pptx
Parts of Speech Prepositions Presentation in Colorful Cute Style_20250724_230...
oil_refinery_presentation_v1 sllfmfls.pdf
Introduction to Effective Communication.pptx
Presentation for DGJV QMS (PQP)_12.03.2025.pptx
Impressionism_PostImpressionism_Presentation.pptx
The Effect of Human Resource Management Practice on Organizational Performanc...
Why Top Brands Trust Enuncia Global for Language Solutions.pdf
Intro to ISO 9001 2015.pptx wareness raising
Nykaa-Strategy-Case-Fixing-Retention-UX-and-D2C-Engagement (1).pdf
Role and Responsibilities of Bangladesh Coast Guard Base, Mongla Challenges
BIOLOGY TISSUE PPT CLASS 9 PROJECT PUBLIC
ENGLISH PROJECT FOR BINOD BIHARI MAHTO KOYLANCHAL UNIVERSITY
worship songs, in any order, compilation
"Project Management: Ultimate Guide to Tools, Techniques, and Strategies (2025)"
Relationship Management Presentation In Banking.pptx
nose tajweed for the arabic alphabets for the responsive
fundraisepro pitch deck elegant and modern
Tablets And Capsule Preformulation Of Paracetamol
Human Mind & its character Characteristics
AcademyNaturalLanguageProcessing-EN-ILT-M02-Introduction.pptx

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