Professional Documents
Culture Documents
UKRAINE2021 Upgrade Consolidate 19c
UKRAINE2021 Upgrade Consolidate 19c
2020
2026
2024
2025
2022
2023
2027
2010
2014
2016
2018
2019
2015
2017
2013
2021
2012
2011
MARKET
Oracle 11.2 Waived EXTENDED EXTENDED DRIVEN
Oracle 18
(12.2.0.2)
Oracle 19 EXTENDED
(12.2.0.3)
Oracle 21
Premier Support Waived Extended Support Paid Extended Support Market Driven Support Limited Error Correction
Release Types | Long Term Support vs Innovation Releases
Innovation
Innovation
Includes:
• Oracle 12.2.0.1, Oracle 18c (12.2.0.2), Oracle 19c (12.2.0.3)
2020
2026
2024
2023
2025
2027
2022
2016
2018
2019
2017
2021
Oracle 12.2.0.1 LIMITED
Oracle 18
(12.2.0.2)
Oracle 19 EXTENDED
(12.2.0.3)
Oracle 21
Simple overview
Read it, try it
Download from oracle.com
Database Upgrade | Supported Releases
Older 19c
11.2.0.4 19c
12.1.0.2 19c
12.2.0.1 19c
18c 19c
Database Upgrade | Supported Releases
One command
$ java -jar autoupgrade.jar -config cdb1.cfg -mode deploy
ENTERPRISE
JAVA JAR FILE AGENTS DBUA EXTRA LICENSE
MANAGER
• Java 8 required
• Part of Oracle Home since 12.1.0.2
• 3 MB jar file
AutoUpgrade | Need And Don't Need
ENTERPRISE
JAVA JAR FILE AGENTS DBUA EXTRA LICENSE
MANAGER
• No agents to install
• No extra license
AutoUpgrade | Blog Post Series
https://mikedietrichde.com/2019/04/29/the-new-autoupgrade-utility-in-oracle-19c/
AutoUpgrade
Essentials
Upgrade
Download
Configure
Analyze
Check
Upgrade
Download Upgrade
Configure $ java -jar autoupgrade.jar -config CDB1.cfg -mode deploy
Analyze
Check
Upgrade
Download Monitor
Configure upg> lsj
Analyze
+----+-------+---------+---------+-------+--------------+--------+---------------+
Check |Job#|DB_NAME| STAGE|OPERATION| STATUS| START_TIME| UPDATED| MESSAGE|
+----+-------+---------+---------+-------+--------------+--------+---------------+
Upgrade | 101| CDB1|PREFIXUPS|EXECUTING|RUNNING|20/11/24 13:38|13:39:26|Remaining 12/13|
+----+-------+---------+---------+-------+--------------+--------+---------------+
Download Success
Configure upg> Job 101 completed
------------------- Final Summary --------------------
Analyze Number of databases [ 1 ]
---- Drop GRP at your convenience once you consider it is no longer needed ----
Drop GRP from CDB1: drop restore point AUTOUPGRADE_9212_CDB1122010
And it includes:
• Recompilation (utlrp.sql)
• Time zone file upgrade
• Postupgrade fixups
• ... and so much more
Download
Configure
Analyze
Check
Upgrade
Watch on YouTube
3. Upload it to MOS
Chapter 3
Multitenant Migration
"
Desupport of Non-CDB Oracle Databases
12.1.0.2
12.2.0.1 Single tenant
Max. 1 PDB
18c
MIGRATE
to multitenant architecture
1. 2. 3. 4.
Create Upgrade Plug In Convert
Recommendation
• Use AL32UTF8
National character set AL16UTF6
MIGRATE
to multitenant architecture
1. 2. 3. 4.
Create Upgrade Plug In Convert
Recommendation
2. Convert to PDB
MIGRATE
to multitenant architecture
1. 2. 3. 4.
Create Upgrade Plug In Convert
BEGIN
IF dbms_pdb.check_plug_compatibility('/tmp/DB19.xml') THEN
dbms_output.put_line('PDB compatible? ==> Yes');
ELSE
dbms_output.put_line('PDB compatible? ==> No');
END IF;
Pro tip: You can generate a manifest file
END; of a remote database via a database link
/
MIGRATE
to multitenant architecture
1. 2. 3. 4.
Create Upgrade Plug In Convert
1. Open PDB
SQL> alter pluggable database DB19 open;
SQL> alter session set container=DB19;
3. Restart PDB
SQL> alter pluggable database DB19 close;
SQL> alter pluggable database DB19 open;
Pro tip: As of 12.2 the script
noncdb_to_pdb.sql is re-runnable
Watch on YouTube
https://mikedietrichde.com/videos/
YouTube Channel:
https://www.youtube.com/c/Oracle
DatabaseUpgradesandMigrations
53 Copyright © 2021, Oracle and/or its affiliates
Thank you!