SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

ODA Backup Restore Utility & ODA Rescue Live Disk
ODA Backup Restore Utility & ODA Rescue Live DiskODA Backup Restore Utility & ODA Rescue Live Disk
ODA Backup Restore Utility & ODA Rescue Live DiskRuggero Citton
 
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfOracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfSrirakshaSrinivasan2
 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Markus Michalewicz
 
Understanding oracle rac internals part 2 - slides
Understanding oracle rac internals   part 2 - slidesUnderstanding oracle rac internals   part 2 - slides
Understanding oracle rac internals part 2 - slidesMohamed Farouk
 
Oracle RAC on Extended Distance Clusters - Customer Examples
Oracle RAC on Extended Distance Clusters - Customer ExamplesOracle RAC on Extended Distance Clusters - Customer Examples
Oracle RAC on Extended Distance Clusters - Customer ExamplesMarkus Michalewicz
 
Oracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACOracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACMarkus Michalewicz
 
GoldenGateテクニカルセミナー2「Oracle GoldenGate 新機能情報」(2016/5/11)
GoldenGateテクニカルセミナー2「Oracle GoldenGate 新機能情報」(2016/5/11)GoldenGateテクニカルセミナー2「Oracle GoldenGate 新機能情報」(2016/5/11)
GoldenGateテクニカルセミナー2「Oracle GoldenGate 新機能情報」(2016/5/11)オラクルエンジニア通信
 
Oracle RAC features on Exadata
Oracle RAC features on ExadataOracle RAC features on Exadata
Oracle RAC features on ExadataAnil Nair
 
Presentation upgrade, migrate &amp; consolidate to oracle database 12c &amp...
Presentation   upgrade, migrate &amp; consolidate to oracle database 12c &amp...Presentation   upgrade, migrate &amp; consolidate to oracle database 12c &amp...
Presentation upgrade, migrate &amp; consolidate to oracle database 12c &amp...solarisyougood
 
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RACAIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RACSandesh Rao
 
Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insightsKirill Loifman
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle MultitenantJitendra Singh
 
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
 
Fast Start Failover DataGuard
Fast Start Failover DataGuardFast Start Failover DataGuard
Fast Start Failover DataGuardBorsaniya Vaibhav
 
Oracle Database Appliance 12.1.2.3.0 アップデート及びパッチ管理について
Oracle Database Appliance 12.1.2.3.0 アップデート及びパッチ管理についてOracle Database Appliance 12.1.2.3.0 アップデート及びパッチ管理について
Oracle Database Appliance 12.1.2.3.0 アップデート及びパッチ管理についてオラクルエンジニア通信
 
All of the Performance Tuning Features in Oracle SQL Developer
All of the Performance Tuning Features in Oracle SQL DeveloperAll of the Performance Tuning Features in Oracle SQL Developer
All of the Performance Tuning Features in Oracle SQL DeveloperJeff Smith
 
Oracle data pump
Oracle data pumpOracle data pump
Oracle data pumpmarcxav72
 
GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)
GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)
GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)オラクルエンジニア通信
 
[Oracle DBA & Developer Day 2016] しばちょう先生の特別講義!!ストレージ管理のベストプラクティス ~ASMからExada...
[Oracle DBA & Developer Day 2016] しばちょう先生の特別講義!!ストレージ管理のベストプラクティス ~ASMからExada...[Oracle DBA & Developer Day 2016] しばちょう先生の特別講義!!ストレージ管理のベストプラクティス ~ASMからExada...
[Oracle DBA & Developer Day 2016] しばちょう先生の特別講義!!ストレージ管理のベストプラクティス ~ASMからExada...オラクルエンジニア通信
 

Was ist angesagt? (20)

Oracle GoldenGate導入Tips
Oracle GoldenGate導入TipsOracle GoldenGate導入Tips
Oracle GoldenGate導入Tips
 
ODA Backup Restore Utility & ODA Rescue Live Disk
ODA Backup Restore Utility & ODA Rescue Live DiskODA Backup Restore Utility & ODA Rescue Live Disk
ODA Backup Restore Utility & ODA Rescue Live Disk
 
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfOracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
 
Understanding oracle rac internals part 2 - slides
Understanding oracle rac internals   part 2 - slidesUnderstanding oracle rac internals   part 2 - slides
Understanding oracle rac internals part 2 - slides
 
Oracle RAC on Extended Distance Clusters - Customer Examples
Oracle RAC on Extended Distance Clusters - Customer ExamplesOracle RAC on Extended Distance Clusters - Customer Examples
Oracle RAC on Extended Distance Clusters - Customer Examples
 
Oracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RACOracle Extended Clusters for Oracle RAC
Oracle Extended Clusters for Oracle RAC
 
GoldenGateテクニカルセミナー2「Oracle GoldenGate 新機能情報」(2016/5/11)
GoldenGateテクニカルセミナー2「Oracle GoldenGate 新機能情報」(2016/5/11)GoldenGateテクニカルセミナー2「Oracle GoldenGate 新機能情報」(2016/5/11)
GoldenGateテクニカルセミナー2「Oracle GoldenGate 新機能情報」(2016/5/11)
 
Oracle RAC features on Exadata
Oracle RAC features on ExadataOracle RAC features on Exadata
Oracle RAC features on Exadata
 
Presentation upgrade, migrate &amp; consolidate to oracle database 12c &amp...
Presentation   upgrade, migrate &amp; consolidate to oracle database 12c &amp...Presentation   upgrade, migrate &amp; consolidate to oracle database 12c &amp...
Presentation upgrade, migrate &amp; consolidate to oracle database 12c &amp...
 
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RACAIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
 
Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insights
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle Multitenant
 
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
 
Fast Start Failover DataGuard
Fast Start Failover DataGuardFast Start Failover DataGuard
Fast Start Failover DataGuard
 
Oracle Database Appliance 12.1.2.3.0 アップデート及びパッチ管理について
Oracle Database Appliance 12.1.2.3.0 アップデート及びパッチ管理についてOracle Database Appliance 12.1.2.3.0 アップデート及びパッチ管理について
Oracle Database Appliance 12.1.2.3.0 アップデート及びパッチ管理について
 
All of the Performance Tuning Features in Oracle SQL Developer
All of the Performance Tuning Features in Oracle SQL DeveloperAll of the Performance Tuning Features in Oracle SQL Developer
All of the Performance Tuning Features in Oracle SQL Developer
 
Oracle data pump
Oracle data pumpOracle data pump
Oracle data pump
 
GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)
GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)
GoldenGateテクニカルセミナー3「Oracle GoldenGate Technical Deep Dive」(2016/5/11)
 
[Oracle DBA & Developer Day 2016] しばちょう先生の特別講義!!ストレージ管理のベストプラクティス ~ASMからExada...
[Oracle DBA & Developer Day 2016] しばちょう先生の特別講義!!ストレージ管理のベストプラクティス ~ASMからExada...[Oracle DBA & Developer Day 2016] しばちょう先生の特別講義!!ストレージ管理のベストプラクティス ~ASMからExada...
[Oracle DBA & Developer Day 2016] しばちょう先生の特別講義!!ストレージ管理のベストプラクティス ~ASMからExada...
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Mehr von 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
 
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
 
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
 
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
 

Mehr von Satishbabu Gunukula (16)

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
 
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)
 
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
 
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
 
Data Guard Architecture & Setup
Data Guard Architecture & SetupData Guard Architecture & Setup
Data Guard Architecture & Setup
 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application cluster
 

Kürzlich hochgeladen

Zone Chairperson Role and Responsibilities New updated.pptx
Zone Chairperson Role and Responsibilities New updated.pptxZone Chairperson Role and Responsibilities New updated.pptx
Zone Chairperson Role and Responsibilities New updated.pptxlionnarsimharajumjf
 
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...ZurliaSoop
 
SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdf
SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdfSOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdf
SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdfMahamudul Hasan
 
lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.lodhisaajjda
 
Dreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio IIIDreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio IIINhPhngng3
 
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...amilabibi1
 
My Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle BaileyMy Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle Baileyhlharris
 
Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar TrainingKylaCullinane
 
Dreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video TreatmentDreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video Treatmentnswingard
 
Digital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of DrupalDigital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of DrupalFabian de Rijk
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoKayode Fayemi
 
Introduction to Artificial intelligence.
Introduction to Artificial intelligence.Introduction to Artificial intelligence.
Introduction to Artificial intelligence.thamaeteboho94
 
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven CuriosityUnlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven CuriosityHung Le
 
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdfAWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdfSkillCertProExams
 
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...David Celestin
 

Kürzlich hochgeladen (17)

Zone Chairperson Role and Responsibilities New updated.pptx
Zone Chairperson Role and Responsibilities New updated.pptxZone Chairperson Role and Responsibilities New updated.pptx
Zone Chairperson Role and Responsibilities New updated.pptx
 
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
Jual obat aborsi Jakarta 085657271886 Cytote pil telat bulan penggugur kandun...
 
SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdf
SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdfSOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdf
SOLID WASTE MANAGEMENT SYSTEM OF FENI PAURASHAVA, BANGLADESH.pdf
 
lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.lONG QUESTION ANSWER PAKISTAN STUDIES10.
lONG QUESTION ANSWER PAKISTAN STUDIES10.
 
Dreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio IIIDreaming Music Video Treatment _ Project & Portfolio III
Dreaming Music Video Treatment _ Project & Portfolio III
 
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
Bring back lost lover in USA, Canada ,Uk ,Australia ,London Lost Love Spell C...
 
My Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle BaileyMy Presentation "In Your Hands" by Halle Bailey
My Presentation "In Your Hands" by Halle Bailey
 
Report Writing Webinar Training
Report Writing Webinar TrainingReport Writing Webinar Training
Report Writing Webinar Training
 
Dreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video TreatmentDreaming Marissa Sánchez Music Video Treatment
Dreaming Marissa Sánchez Music Video Treatment
 
ICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdfICT role in 21st century education and it's challenges.pdf
ICT role in 21st century education and it's challenges.pdf
 
Digital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of DrupalDigital collaboration with Microsoft 365 as extension of Drupal
Digital collaboration with Microsoft 365 as extension of Drupal
 
Uncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac FolorunsoUncommon Grace The Autobiography of Isaac Folorunso
Uncommon Grace The Autobiography of Isaac Folorunso
 
Introduction to Artificial intelligence.
Introduction to Artificial intelligence.Introduction to Artificial intelligence.
Introduction to Artificial intelligence.
 
in kuwait௹+918133066128....) @abortion pills for sale in Kuwait City
in kuwait௹+918133066128....) @abortion pills for sale in Kuwait Cityin kuwait௹+918133066128....) @abortion pills for sale in Kuwait City
in kuwait௹+918133066128....) @abortion pills for sale in Kuwait City
 
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven CuriosityUnlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
Unlocking Exploration: Self-Motivated Agents Thrive on Memory-Driven Curiosity
 
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdfAWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
AWS Data Engineer Associate (DEA-C01) Exam Dumps 2024.pdf
 
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
Proofreading- Basics to Artificial Intelligence Integration - Presentation:Sl...
 

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.

Hinweis der Redaktion

  1. 1