ss0r019 Document 218985¢.1
Copyright (¢) 2019, Oracle, Al rights reserved, Oracle Confident
Complete Checklist for Upgra
2189854,1)
1g to Oracle Database 12c Release 2 (12.2) using DBUA (Doc ID
In this Document
Purpose,
Scope.
Details
Database Upgrade Assistant (DBUA)
Upgrade Path / Compatibility Matrix for 12.2 Oracle Database.
Requirements and Recommendation for source database,
Requirements and Recommendations for Target database
Recommendation for Oracle Spatial Component:
Prerequisites for Preparing Oracle Home on Windows.
Check for Invalid Objects / Components:
Gathering Optimizer Statistics to Decrease Oracle 0: Downtim
Verifying Materialzed View Refreshes are Complete Before Uparade
(Check of TIMESTAMP WITH TIMEZONE Datatype
Ensuring That No Files Are in Backup Mode and no files need media recovery Before Ungrading
Purging Recycle Bin before upgrade
‘Starting with Oracle Database 12c release 2 (12,2), you can upgrade the database without disabling Oracle Database
Vaul
Requirements for Upgrading Databases That Use Oracle Label Security and Oracle Database Vault (For Oracle
Database releases earlier than 12.1)
Audit Table Preupgrade
Running olspreupgrade.sql on Oracle Database Release 11.2
‘Save OEM DB Control Configuration (For Oracle Database releases earlier than 12.1)
‘Single-instance databases:
Oracle Real Analication Clusters (Oracle RAC) databases:
Removing DB Control with emremove.sal (For Oracle Database releases earlier than 12.1)
Desupport of OLAP Catalog (OLAP AMD) (For Oracle Database releases earlier than 12.1)
Drop ISON-Enabled Context search Indexes (Only for the ungrade of 12.1 DB to 12,2)
Copying Transparent Encryption Oracle Wallets
Check the accounts use Case-Insensive
About Passwor. stv
Requirement for Upgrading Databases that Use Oracle Warehouse Bulder (WB)
Invoke DBUA
DBUA (Step 1 of 9)
DBUA (step 2of 9)
DBUA (Step 3 of 9)
DBUA (Step 4 of 9)
DBUA (Step 5 of 9)
DBUA (Sten 6 of 9)
hitpssisuppor oracle. comlepmosfaces/DocumentDisplay?_adf ctt-sate=vyzx?I7|_S488id=2189854.1 set
sssword versionss0r019 Document 218985¢.1
BUA (step 7 of 9)
DBUA (Step 8 of 9)
DBUA Step 9 of 9)
Post-Uparade
Known Issues
References
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Schema Service - Version N/A and later
Information in this document applies to any platform.
‘The purpose of this article is to perform the upgrade of the pre-12c database using DBUA to 12.2.0.1
DBA, Support
Database Upgrade Assistant (DBUA)
+ Database Upgrade Assistant (DBUA) interactively steps you through the upgrade process. configures the database
for the new Oracle Database 12c release 2. Its the recommended method for performing a major release upgrade
or patchset release upgrade.
‘+ DBUA automates the upgrade process by performing all ofthe tasks. DBUA makes appropriate recommendations
for configuration options and then you can act on these recommendations.
+ DBUA provides support for Oracle Real Application Clusters (Oracle RAC) databases. In an Oracle RAC environment,
BUA upgrade all the database and configuration files on all nodes in the cluster.
‘+ DBUA, graphical user interface must be Invoked within the new Oracle home where the Oracle Database 12c R2
software has been installed
For windows, Only an Administrator or Installed owner should invoke DBUA for Windows systems.
+ DBUA starts the Pre-Uparade Tool, which automatically fixes some configuration settings to the values required for
the upgrade. For example, the Pre-Upgrade Tool can change initialization parameters to values required for the
parade. The Pre-Upgrade Tool also provides you with alist of items that you need to fix manually before you can
continue with the upgrade.
+ Italso gives certain recommendations on certain areas belonging to the database, The recommendations can then
be acted on making the upgrade process user friendly and easy.
+ Once, you address / fix the pre-upgrade recommendation / warnings /errors and continue with the upgrade, DBUYA
shows the progress of the upgrade for each component of source database
+ As with previous releases of DBUA, 12c DBUA restricts the carry over of hidden parameters since Oracle
recommends not to have hidden parameters other than those suggested via support during the upgrade.
To view existing hidden parameters execute the following command while connected AS SYSDBA:
SELECT name,description from SYS. VSPARAMETER WHERE name LIKE "\_96' ESCAPE";
‘+ DBUA performs some of the checks before actually starting the database upgrade. Some of the checks can be done
manually to reduce downtime for the upgrade
+ DBUA provides below options:
~ Upgrade timezone. The default timezone vetrsion In 12.2.0.1 is 26.
hitps1/support oracle. comlepmosfaces/DocumentDisplay?_adf ctf-sate=vyzx?H7|_$488id=2189854.1 224sws0n019
Document 218985¢.1
~ Gather dictionary statistics before upgrade.
~ Make user tablespaces read only.
~ Take RMAN backup before upgrade.
- Restore database backup to rollback upgrade
= Option to execute Custom scripts before and after upgrade
~ show the location of DBUA logs and Alert log files.
= Option to upgrade existing listener to 12c home or create a new listener in 12.2 target home.
Starting with Oracle Database 12c release 2 (12.2), you can upgrade the database without disabling Oracle
Database Vault. However, if you disabled Oracle Database Vault, then you must enable it manually after an
upgrade,
Upgrade Path / Compatibility Matrix for 12.2 Oracle Database.
DBUA can upgrade only supported versions of direct upgrade,
Direct Upgrade to 12.2:
‘Source Database [Target Database]
11,2.0.3 and higher 12.2.0.x
12.1.0.x (12.1.0.1 - 12.1.0.2))[12.2.0%
Indirect Upgrade to 12.2:
(Source Database __|[Upgrade Path [Target Database|
7.3.3 (lower) [7.3.4 > 9.2.0.8 ~> 11.2.0.3 or higher_][12.2.0.«
88.0.5 (or lower) _|[8.0.6 --> 9.2.0.8 --> 1.2.0.3 or higher _|[12.2.0.x
8.17 (orlower) [8.1.7 > 92.08 -
11.2.0.3 or higher_][12.2.0x
9.0.1.3 (or lower ) |[9.0.1.3 -> 9.2.0.8
=> 11.2.0.3 or higher][12.2.0.x
9.2.0.7 ( or lower ) |]9.2.0.7 > 11.2.0.3 or higher 2.2.0.
10,2.0.4 ( or lower )|[10.2.0.4 --> 11.2.0.3 or higher fi2.2.0.x
111.06 [1.1.0.6 > 11.2.0.3 or higher 2.2.0.x
112.01 fii.2.0.1
11,2.0.3 or higher fi2.2.0.x
Requirements and Recommendation for source database,
Ensure that all database components/objects provided by Oracle are VALID in the source database prior to starting
the upgrade.
Before you start an upgrade or downgrade process, Oracle strongly recommends that you update both your earlier
release and your new release (12.2) Oracle Database to the latest Oracle bundle patch or patch set update (BP or
hitps1/support oracle. comlepmosfaces/DocumentDisplay?_adf ctf-sate=vyzx?H7|_$488id=2189854.1 sat