DB Patching 19.x.x.x to 19.x.x.x
DB Patching 19.x.x.x to 19.x.x.x
x Current
Requirements and Assumptions
Backup Oracle Home
Upgrade Path
Download / Extract Patches
Pre Patching Tasks
Rollback Previous Applied OJVM, JDK & Perl
Upgrade 19.x Binary to latest Critical Patch
Patch Database
Verify & Test DB Connectivity
DO NOT ATTEMPT THIS UPGRADE WITHOUT A FULL LEVEL 0 BACKUP - Make sure to have a VALID BACKUP in place.
Backup is beyond the scope of the document. It is assumed the Level 0 backups have been done and is successful.
This document DOES NOT cover the installation of 19.x software or any other unspecified non standard patches.
Even if you DO NOT backup the full ORACLE_HOME folder - make sure the backup the .patch_storage folders BEFORE patching.
AND use 7-zip to Backup (Windows Zip will NOT work) D Drive may differ
%ORACLE_HOME%\.patch_storage
C:\Program Files\Oracle\Inventory
Upgrade Path
Latest PreUpgrade.jar file can be downloaded here.
How to Download and Run Oracle's Database Pre-Upgrade Utility (Doc ID 884522.1)
Image Legends
Did not test or check any vulnerabilities or do any regression/performance or stability testing
19.x Applies to OPERA 5.6.11 and Above ONLY
Source CPU Alerts Released Oct 2024
Critical Patch Update (CPU) Program Oct 2024 Patch Availability Document (DB-only) (Doc ID 3036945.1)
JDK and PERL Patches for Oracle Database Home and Grid Home (Doc ID 2584628.1)
Oracle Critical Patch Update (CPU) Oct 2024 for Oracle Java SE (Doc ID 3047853.1)
Primary Note DST FAQ : Updated DST Transitions and New Time Zones in Oracle RDBMS and OJVM Time Zone File Patches
(Doc ID 412160.1)
Validation Oracle Hospitality OPERA 5 - Technology Components - Critical Patch Update (CPU) 2773929.1 - Search for DOC DOC2735 in
ICCP
Oracle Security Releases for Oracle Hospitality OPERA - R&D Based Testing Results Only (Doc ID 2189898.1) - Search for DOC
DOC8165 in ICCP
Miscellaneous When extracting - please use 7zip - Windows internal Zip has issued with long file names
6880880 x64 Bit OPatch 12.2.0.1.44 for DB 19.0.0.0.0 (Oct 2024) New
36866578 x64 Bit JDK 8u431 JDK BUNDLE PATCH 19.0.0.0.241015 New
36260493 Not x64 Bit RDBMS - DSTV43 UPDATE - TZDATA2024A NOT REQUIRED Already included in OCT 2024 DB
Required Bundle Patch
36260537 Not x64 Bit DSTV43 UPDATE - TZDATA2024A - NEED OJVM FIX NOT REQUIRED Already included in OCT 2024 OJVM
Required Bundle Patch
================
=======================================================
RDBMS Oracle Homes in this Host WFIVM10584
=======================================================
D:\ORACLE\1970 Found....
===========================
RDBMS Home : D:\ORACLE\1970
===========================
OPatch succeeded.
===========================
LSPatches Patch Listing
===========================
36866578;JDK BUNDLE PATCH 19.0.0.0.241015
36878697;OJVM RELEASE UPDATE: 19.25.0.0.241015 (36878697)
36878821;Windows Database Bundle Patch : 19.25.0.0.241015 (36878821)
===========================
LSInventory Patch Listing
===========================
Date Patch
Description
---- -----
-----------
Thu Oct 31 00:52:31 GMT 2024 36878821 "Windows Database Bundle Patch : 19.25.0.0.241015
(36878821)"
Thu Oct 31 01:00:50 GMT 2024 36878697 "OJVM RELEASE UPDATE: 19.25.0.0.241015
(36878697)"
Thu Oct 31 01:07:20 GMT 2024 36866578 "JDK BUNDLE PATCH
19.0.0.0.241015"
===================================================
Latest Timezone Files : D:\ORACLE\1970\oracore\zoneinfo
===================================================
Timezone timezone_43.dat Found in DB Home
Timezone timezlrg_43.dat Found in DB Home
==============================================
RDBMS/JDK Home : D:\ORACLE\1970\JDK\bin
==============================================
java version "1.8.0_431"
Java(TM) SE Runtime Environment (build 1.8.0_431-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.431-b10, mixed mode)
==============================================
RDBMS/JDK/JRE Home : D:\ORACLE\1970\JDK\JRE\bin
==============================================
java version "1.8.0_431"
Java(TM) SE Runtime Environment (build 1.8.0_431-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.431-b10, mixed mode)
==============================================
RDBMS/Perl Home : D:\ORACLE\1970\perl\bin
==============================================
This is perl 5, version 38, subversion 2 (v5.38.2) built for MSWin32-x64-multi-thread
==================================
Check Response / Message / Prompt
Confirm : Patch Listing Report of RDBMS Environment Completed
Default Reponse recorded : OK
** 31/10/2024 2:01:49.67 **
==================================
==================================================
Validate Applied Patch vs List of Patches Provided
RDBMS Home : D:\ORACLE\1970
==================================================
======================================
Verify Applied Patch 36878821
======================================
36878821;Windows Database Bundle Patch : 19.25.0.0.241015 (36878821)
Patch 36878821 Found / Applied in Oracle Home D:\ORACLE\1970 - Confirmed Applied OK
======================================
Verify Applied Patch 36878697
======================================
36878697;OJVM RELEASE UPDATE: 19.25.0.0.241015 (36878697)
Patch 36878697 Found / Applied in Oracle Home D:\ORACLE\1970 - Confirmed Applied OK
======================================
Verify Applied Patch 36866578
======================================
36866578;JDK BUNDLE PATCH 19.0.0.0.241015
Patch 36866578 Found / Applied in Oracle Home D:\ORACLE\1970 - Confirmed Applied OK
========================================
Verify Applied Patch 36260493 to D:\ORACLE\1970
========================================
36260493 Patch Picked from LSInventory
Patch 36260493 Found / Applied in Oracle Home D:\ORACLE\1970 - Confirmed Applied OK
========================================
Verify Applied Patch 36260537 to D:\ORACLE\1970
========================================
36260537 Patch Picked from LSInventory
Patch 36260537 Found / Applied in Oracle Home D:\ORACLE\1970 - Confirmed Applied OK
============================================================================================
Verify Patch 36260493 / File timezlrg_43.dat to D:\ORACLE\1970\oracore\zoneinfo
============================================================================================
Timezone Patch 36260493 / File timezlrg_43.dat found / Applied in Oracle Home D:\ORACLE\1970
- Confirmed Applied OK
================================
Check TNSPING for DB Connections
** 31/10/2024 2:03:11.85 **
================================
TNSPING Check / Connect completed sucessfully
==========================
Check OS Authentication
** 31/10/2024 2:03:12.11 **
==========================
Check OS Authentication completed sucessfully
==========================================================
Verify Bundle Patch 36878821 Applied to DB SQL/Registry
==========================================================
Bundle Patch 36878821 Found / Applied to DB Registry - Confirmed Applied OK
==========================================================
Verify OJVM Patch 36878697 Applied to DB SQL/Registry
==========================================================
OJVM Patch 36878697 Found / Applied to DB Registry - Confirmed Applied OK
==========================================================================================
Verify DB Timezone Patch 36260493 / File timezlrg_43.dat Applied to DB SQL/Registry
===========================================================================================
TZ Patch 36260493 / File timezlrg_43.dat / Applied to DB Registry - Confirmed Applied
OK
==========================================================================================
Verify Timezone Patch 36260493 / Version 43 Applied to DB SQL/Registry
==========================================================================================
TZ Patch 36260493 / Version 43 / Applied to DB Registry - Confirmed Applied OK
Image Legends
Deployment Status
Below conditions also apply
The patches have been internally tested ONLY for documentation purposes.
Did not test or check any vulnerabilities or do any regression/performance or stability testing
19.x Applies to OPERA 5.6.11 and Above ONLY
Critical Patch Update (CPU) Program Jul 2024 Patch Availability Document (DB-only) (Doc ID 3027813.1)
JDK and PERL Patches for Oracle Database Home and Grid Home (Doc ID 2584628.1)
Oracle Critical Patch Update (CPU) Jul 2024 for Oracle Java SE (Doc ID 3031998.1)
Primary Note DST FAQ : Updated DST Transitions and New Time Zones in Oracle RDBMS and OJVM Time Zone File Patches
(Doc ID 412160.1)
Validation Oracle Hospitality OPERA 5 - Technology Components - Critical Patch Update (CPU) 2773929.1 - Search for DOC DOC2735 in
ICCP
Oracle Security Releases for Oracle Hospitality OPERA - R&D Based Testing Results Only (Doc ID 2189898.1) - Search for DOC
DOC8165 in ICCP
Miscellaneous When extracting - please use 7zip - Windows internal Zip has issued with long file names
6880880 x64 Bit OPatch 12.2.0.1.43 for DB 19.0.0.0.0 (Jul 2024) New
36538667 x64 Bit JDK 8u421 JDK BUNDLE PATCH 19.0.0.0.240716 New
36260493 Not x64 Bit RDBMS - DSTV43 UPDATE - TZDATA2024A NOT REQUIRED Already included in JULY 2024 DB
Required Bundle Patch
36260537 Not x64 Bit DSTV43 UPDATE - TZDATA2024A - NEED OJVM FIX NOT REQUIRED Already included in JULY 2024 OJVM
Required Bundle Patch
================
OPATCH Version
RDBMS Home : D:\ORACLE\1970
================
OPatch Version: 12.2.0.1.43
OPatch succeeded.
===========================
OPATCH Listing - Full List
RDBMS Home : D:\ORACLE\1970
===========================
36538667;JDK BUNDLE PATCH 19.0.0.0.240716
36414915;OJVM RELEASE UPDATE: 19.24.0.0.240716 (36414915)
36521936;Windows Database Bundle Patch : 19.24.0.0.240716 (36521936)
===================
Check Perl version
RDBMS Home : D:\ORACLE\1970
Perl Home : D:\ORACLE\1970\perl\bin
===================
===================
Check D:\ORACLE\1970\jdk JDK version
RDBMS Home : D:\ORACLE\1970
JDK HOME : D:\ORACLE\1970\JDK
JAVA Home : D:\ORACLE\1970\JDK\bin
JAVA LOCATION : D:\ORACLE\1970\JDK\BIN
===================
java version "1.8.0_421"
Java(TM) SE Runtime Environment (build 1.8.0_421-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.421-b09, mixed mode)
===================
Check D:\ORACLE\1970\jdk\jre JDK/JRE version
RDBMS Home : D:\ORACLE\1970
JDK/JRE HOME : D:\ORACLE\1970\JDK\JRE
JAVA Home : D:\ORACLE\1970\JDK\JRE\bin
JAVA LOCATION : D:\ORACLE\1970\JDK\JRE\BIN
===================
java version "1.8.0_421"
Java(TM) SE Runtime Environment (build 1.8.0_421-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.421-b09, mixed mode)
=======================
Check Rollback Patches
RDBMS Home : D:\ORACLE\1970
=======================
======================================
Verify Rollback Patch 30805684
======================================
Patch 30805684 NOT found in Oracle Home D:\ORACLE\1970 - Rollback Sucessfull
=======================
Check Applied Patches
RDBMS Home : D:\ORACLE\1970
=======================
Jan 2023 and above Bundle Patches also included TZ Patches
Due to this the TZ Patch Number may not be visible
in opatch listing
======================================
Verify Applied Patch 36521936
======================================
36521936;Windows Database Bundle Patch : 19.24.0.0.240716 (36521936)
Patch 36521936 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
======================================
Verify Applied Patch 36414915
======================================
36414915;OJVM RELEASE UPDATE: 19.24.0.0.240716 (36414915)
Patch 36414915 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
======================================
Verify Applied Patch 36538667
======================================
36538667;JDK BUNDLE PATCH 19.0.0.0.240716
Patch 36538667 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
========================================
Verify Applied Patch 36260493 to D:\ORACLE\1970
========================================
36260493;Timezone Patch Picked from LSInventory
Patch 36260493 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
========================================
Verify Applied Patch 36260537 to D:\ORACLE\1970
========================================
36260537;Timezone Patch Picked from LSInventory
Patch 36260537 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
============================
Verify Timezone Patch applied to DB Home
36260493 / timezlrg_43.dat
============================
Timezone Patch 36260493 timezlrg_43.dat Found / Applied to DB Home - Confirmed Applied
OK
==========================================================
Verify Applied Bundle Patch 36521936 to DB Registry
==========================================================
Bundle Patch 36521936 Found / Applied to DB Registry - Confirmed Applied OK
==========================================================
Verify Applied OJVM Patch 36414915 to DB Registry
==========================================================
OJVM Patch 36414915 Found / Applied to DB Registry - Confirmed Applied OK
============================
Verify Timezone Patch applied to DB Registry
36260493 / timezlrg_43.dat
============================
Timezone Patch 36260493 timezlrg_43.dat Found / Applied to DB Registry - Confirmed Applied
OK
============================
Verify Timezone version applied to DB Registry
36260493 / 43
============================
Timezone Patch 36260493 43 Found / Applied to DB Registry - Confirmed Applied OK
Image Legends
Patch Patches have been Released in MOS and approved for On Premise use
Release Status
Deployment
Status These patches have been superseded and no longer applicable.
These patches are certified for use in Prod/Live environments
The patches have been released in MOS and internally tested ONLY for documentation purposes.
Did not test or check any vulnerabilities or do any regression/performance or stability testing
Below conditions also ALSO apply
19.x Applies to OPERA 5.6.11 and Above ONLY
Critical Patch Update (CPU) Program Apr 2024 Patch Availability Document (DB-only) (Doc ID 3000005.1)
JDK and PERL Patches for Oracle Database Home and Grid Home (Doc ID 2584628.1)
Oracle Critical Patch Update (CPU) Apr 2024 for Oracle Java SE (Doc ID 3012587.1)
Primary Note DST FAQ : Updated DST Transitions and New Time Zones in Oracle RDBMS and OJVM Time Zone File Patches (Doc
ID 412160.1)
Applying the DSTv42 update for the Oracle Database (Doc ID 2941491.1) (Doc ID 2941491.1)
Validation Oracle Hospitality OPERA 5 - Technology Components - Critical Patch Update (CPU) 2773929.1 - No Update After April 2023 -
Search for DOC DOC2735 in ICCP
Oracle Security Releases for Oracle Hospitality OPERA - R&D Based Testing Results Only (Doc ID 2189898.1) - No Update After
April 2023 - Search for DOC DOC8165 in ICCP
Miscellaneous When extracting - please use 7zip - Windows internal Zip has issued with long file names
6880880 x64 Bit OPatch 12.2.0.1.42 for DB 19.0.0.0.0 (Apr 2024) New
36219938 x64 Bit WINDOWS DATABASE BUNDLE PATCH 19.23.0.0.240416 WIN BP New
36195566 x64 Bit JDK 8u411 JDK BUNDLE PATCH 19.0.0.0.240416 New
36260493 x64 Bit RDBMS - DSTV43 UPDATE - TZDATA2024A Already included in APR 2024 DB Bundle Patch
36260537 DSTV43 UPDATE - TZDATA2024A - NEED OJVM FIX NOT included in APR 2024 DB Bundle Patch
================
OPATCH Version
RDBMS Home : D:\ORACLE\1970
================
OPatch Version: 12.2.0.1.42
OPatch succeeded.
===========================
OPATCH Listing (Full List)
RDBMS Home : D:\ORACLE\1970
===========================
36260537;DSTV43 UPDATE - TZDATA2024A - NEED OJVM FIX
36195566;JDK BUNDLE PATCH 19.0.0.0.240416
36199232;OJVM RELEASE UPDATE: 19.23.0.0.240416 (36199232)
36219938;Windows Database Bundle Patch : 19.23.0.0.240416 (36219938)
36260493;Timezone Patch Picked from LSInventory
===================
Check Perl version
RDBMS Home : D:\ORACLE\1970
Perl Home : D:\ORACLE\1970\perl\bin
===================
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
===================
Check D:\ORACLE\1970\jdk JDK version
RDBMS Home : D:\ORACLE\1970
JDK HOME : D:\ORACLE\1970\JDK
JAVA Home : D:\ORACLE\1970\JDK\bin
JAVA LOCATION : D:\ORACLE\1970\JDK\BIN
===================
java version "1.8.0_411"
Java(TM) SE Runtime Environment (build 1.8.0_411-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.411-b09, mixed mode)
===================
Check D:\ORACLE\1970\jdk\jre JDK/JRE version
RDBMS Home : D:\ORACLE\1970
JDK/JRE HOME : D:\ORACLE\1970\JDK\JRE
JAVA Home : D:\ORACLE\1970\JDK\JRE\bin
JAVA LOCATION : D:\ORACLE\1970\JDK\JRE\BIN
===================
java version "1.8.0_411"
Java(TM) SE Runtime Environment (build 1.8.0_411-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.411-b09, mixed mode)
=======================
Check Rollback Patches
RDBMS Home : D:\ORACLE\1970
=======================
======================================
Verify Rollback Patch 30805684
======================================
Patch 30805684 NOT found in Oracle Home D:\ORACLE\1970 - Rollback Sucessfull
=======================
Check Applied Patches
RDBMS Home : D:\ORACLE\1970
=======================
Jan 2023 and above Bundle Patches also included TZ Patches
Due to this the TZ Patch Number may not be visible
in opatch listing
======================================
Verify Applied Patch 36219938
======================================
36219938;Windows Database Bundle Patch : 19.23.0.0.240416 (36219938)
Patch 36219938 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
======================================
Verify Applied Patch 36199232
======================================
36199232;OJVM RELEASE UPDATE: 19.23.0.0.240416 (36199232)
Patch 36199232 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
======================================
Verify Applied Patch 36195566
======================================
36195566;JDK BUNDLE PATCH 19.0.0.0.240416
Patch 36195566 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
========================================
Verify Applied Patch 36260493 to D:\ORACLE\1970
========================================
36260493;Timezone Patch Picked from LSInventory
Patch 36260493 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
======================================
Verify Applied Patch 36260537
======================================
36260537;DSTV43 UPDATE - TZDATA2024A - NEED OJVM FIX
Patch 36260537 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
============================
Verify Timezone Patch applied to DB Home
36260493 / timezlrg_43.dat
============================
Timezone Patch 36260493 timezlrg_43.dat Found / Applied to DB Home - Confirmed Applied OK
==========================================================
Verify Applied Bundle Patch 36219938 to DB Registry
==========================================================
Bundle Patch 36219938 Found / Applied to DB Registry - Confirmed Applied OK
==========================================================
Verify Applied OJVM Patch 36199232 to DB Registry
==========================================================
OJVM Patch 36199232 Found / Applied to DB Registry - Confirmed Applied OK
============================
Verify Timezone Patch applied to DB Registry
36260493 / timezlrg_43.dat
============================
Timezone Patch 36260493 timezlrg_43.dat Found / Applied to DB Registry - Confirmed Applied
OK
============================
Verify Timezone version applied to DB Registry
36260493 / 43
============================
Timezone Patch 36260493 43 Found / Applied to DB Registry - Confirmed Applied OK
==================================
Check Response / Message / Prompt
** 26/04/2024 13:29:39.87 **
==================================
==================================
User Reponse recorded as : OK
** 26/04/2024 13:29:39.87 **
==================================
Image Legends
Patch Patches have been Released in MOS and approved for On Premise use
Release Status
Deployment
Status These patches have been superseded and no longer applicable.
Did not test or check any vulnerabilities or do any regression/performance or stability testing
Below conditions also apply
Critical Patch Update (CPU) Program Jan 2024 Patch Availability Document (DB-only) (Doc ID 2986269.1)
JDK and PERL Patches for Oracle Database Home and Grid Home (Doc ID 2584628.1)
Oracle Critical Patch Update (CPU) Jan 2024 for Oracle Java SE (Doc ID 2992318.1)
Primary Note DST FAQ : Updated DST Transitions and New Time Zones in Oracle RDBMS and OJVM Time Zone File Patches (Doc
ID 412160.1)
Applying the DSTv42 update for the Oracle Database (Doc ID 2941491.1) (Doc ID 2941491.1)
Validation Oracle Hospitality OPERA 5 - Technology Components - Critical Patch Update (CPU) 2773929.1 - No Update After April 2023 -
Search for DOC DOC2735 in ICCP
Oracle Security Releases for Oracle Hospitality OPERA - R&D Based Testing Results Only (Doc ID 2189898.1) - No Update After
April 2023 - Search for DOC DOC8165 in ICCP
Miscellaneous When extracting - please use 7zip - Windows internal Zip has issued with long file names
Update History 17-Jan-24 - Initial Draft
26-Feb-24 - Approval for On Premise use based on DOC DOC8165 in ICCP on ICCP
6880880 x64 Bit OPatch 12.2.0.1.41 for DB 19.0.0.0.0 (Jan 2024 or later) New
35962832 x64 Bit WINDOWS DATABASE BUNDLE PATCH 19.22.0.0.240116 WIN BP New
35220732 RDBMS - DSTV42 UPDATE - TZDATA2023C Already included in JAN 2024 DB Bundle Patch
35239280 DSTV42 UPDATE - TZDATA2023C - NEED OJVM FIX NOT included in JAN 2024 DB Bundle Patch
Beginning from Jan 2023, TIMEZONE updates are included within the quarterly patches
Beginning from Jan2023, Perl updates are included within the quarterly patches
Beginning with the October 2022 patching cycle, 19c RURs will no longer be provided for 19.17.0 and above.
No additional RURs will be delivered on any platform after the delivery of Oracle Database 19c RUR 19.16.2 in January, 2023.
Refer to Sunsetting of 19c RURs and FAQ (Note 2898381.1) for further details.
To provide customers more frequent access to recommended and well-tested collections of patches,
Oracle is pleased to introduce Monthly Recommended Patches (MRPs) starting in Nov 2022.
MRPs are supported only on the Linux x86-64 platform. Refer to Introducing Monthly Recommended Patches (MRPs)
and FAQ (Note 2898740.1) for further details.
Beginning with OJVM Release Update 18.4 and later (including 19c and beyond) the OJVM Release Updates are now Oracle RAC
Rolling installable.
However, the rollback to older versions such as 18.2 and 18.1 will be Non-Rolling.
To use the RAC Rolling approach, out-of-place patching of the Oracle Home is mandatory, as is the use of database services and
SRVCTL to
control instance and service operations. For further information, please refer to MOS NOTE 2217053.1,
RAC Rolling Install Process for the "Oracle JavaVM Component Database PSU/RU"(OJVM PSU/RU) Patches.
================
OPATCH Version
RDBMS Home : D:\ORACLE\1970
================
OPatch Version: 12.2.0.1.41
OPatch succeeded.
===========================
OPATCH Listing (Full List)
RDBMS Home : D:\ORACLE\1970
===========================
35949090;JDK BUNDLE PATCH 19.0.0.0.240116
35926646;OJVM RELEASE UPDATE: 19.22.0.0.240116 (35926646)
35962832;Windows Database Bundle Patch : 19.22.0.0.240116 (35962832)
35239280;DSTV42 UPDATE - TZDATA2023C - NEED OJVM FIX
35220732;Timezone Patch Picked from LSInventory
===================
Check Perl version
RDBMS Home : D:\ORACLE\1970
Perl Home : D:\ORACLE\1970\perl\bin
===================
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
===================
Check D:\ORACLE\1970\jdk JDK version
RDBMS Home : D:\ORACLE\1970
JDK HOME : D:\ORACLE\1970\JDK
JAVA Home : D:\ORACLE\1970\JDK\bin
JAVA LOCATION : D:\ORACLE\1970\JDK\BIN
===================
java version "1.8.0_401"
Java(TM) SE Runtime Environment (build 1.8.0_401-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.401-b10, mixed mode)
===================
Check D:\ORACLE\1970\jdk\jre JDK/JRE version
RDBMS Home : D:\ORACLE\1970
JDK/JRE HOME : D:\ORACLE\1970\JDK\JRE
JAVA Home : D:\ORACLE\1970\JDK\JRE\bin
JAVA LOCATION : D:\ORACLE\1970\JDK\JRE\BIN
===================
java version "1.8.0_401"
Java(TM) SE Runtime Environment (build 1.8.0_401-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.401-b10, mixed mode)
=======================
Check Rollback Patches
RDBMS Home : D:\ORACLE\1970
=======================
======================================
Verify Rollback Patch 35648110
======================================
Patch 35648110 NOT found in Oracle Home D:\ORACLE\1970 - Rollback Sucessfull
======================================
Verify Rollback Patch 35638318
======================================
Patch 35638318 NOT found in Oracle Home D:\ORACLE\1970 - Rollback Sucessfull
=======================
Check Applied Patches
RDBMS Home : D:\ORACLE\1970
=======================
Jan 2023 and above Bundle Patches also included TZ Patches
Due to this the TZ Patch Number may not be visible
in opatch listing
======================================
Verify Applied Patch 35962832
======================================
35962832;Windows Database Bundle Patch : 19.22.0.0.240116 (35962832)
Patch 35962832 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
======================================
Verify Applied Patch 35926646
======================================
35926646;OJVM RELEASE UPDATE: 19.22.0.0.240116 (35926646)
Patch 35926646 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
======================================
Verify Applied Patch 35949090
======================================
35949090;JDK BUNDLE PATCH 19.0.0.0.240116
Patch 35949090 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
========================================
Verify Applied Patch 35220732 to D:\ORACLE\1970
========================================
35220732;Timezone Patch Picked from LSInventory
Patch 35220732 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
======================================
Verify Applied Patch 35239280
======================================
35239280;DSTV42 UPDATE - TZDATA2023C - NEED OJVM FIX
Patch 35239280 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
============================
Verify Timezone Patch applied to DB Home
35220732 / timezlrg_42.dat
============================
Timezone Patch 35220732 timezlrg_42.dat Found / Applied to DB Home - Confirmed Applied OK
==========================================================
Verify Applied Bundle Patch 35962832 to DB Registry
==========================================================
Bundle Patch 35962832 Found / Applied to DB Registry - Confirmed Applied OK
==========================================================
Verify Applied OJVM Patch 35926646 to DB Registry
==========================================================
OJVM Patch 35926646 Found / Applied to DB Registry - Confirmed Applied OK
============================
Verify Timezone Patch applied to DB Registry
35220732 / timezlrg_42.dat
============================
Timezone Patch 35220732 timezlrg_42.dat Found / Applied to DB Registry - Confirmed Applied
OK
============================
Verify Timezone version applied to DB Registry
35220732 / 42
============================
Timezone Patch 35220732 42 Found / Applied to DB Registry - Confirmed Applied OK
October 2023 (DB Layer)
Document
Status
Image Legends
Deployment
Status These patches have been superseded and no longer applicable.
The Patches have been released in MOS and internally tested only for documentation pruposes
Below conditions also apply
Did not test or check any vulnerabilities or do any regression/performance or stability testing
19.x Applies to OPERA 5.6.11 and Above ONLY
Critical Patch Update (CPU) Program Oct 2023 Patch Availability Document (DB-only) (Doc ID 2966413.1)
JDK and PERL Patches for Oracle Database Home and Grid Home (Doc ID 2584628.1)
Oracle Critical Patch Update (CPU) Oct 2023 for Oracle Java SE (Doc ID 2978178.1)
Primary Note DST FAQ : Updated DST Transitions and New Time Zones in Oracle RDBMS and OJVM Time Zone File Patches (Doc
ID 412160.1)
Applying the DSTv42 update for the Oracle Database (Doc ID 2941491.1) (Doc ID 2941491.1)
Validation Oracle Security Releases for Oracle Hospitality OPERA - R&D Based Testing Results Only (Doc ID 2189898.1) - No Update After
April 2023 - Search for DOC DOC8165 in ICCP
Miscellaneous When extracting - please use 7zip - Windows internal Zip has issued with long file names
Timezone DSTV42 - TZ42 TZDATA2023E - The Timezone 42 Patch 35220732 is already included in the JULY 2023 Patch / TZ 42 35239280
OJVM FIX is not included
35220732 RDBMS - DSTV42 UPDATE - TZDATA2023E Already included in JULY 2023 DB Bundle Patch
35239280 DSTV42 UPDATE - TZDATA2023E - NEED OJVM FIX NOT included in JULY 2023 DB Bundle Patch
Beginning from Jan 2023, TIMEZONE updates are included within the quarterly patches
Beginning from Jan2023, Perl updates are included within the quarterly patches
Beginning with the October 2022 patching cycle, 19c RURs will no longer be provided for 19.17.0 and above.
No additional RURs will be delivered on any platform after the delivery of Oracle Database 19c RUR 19.16.2 in January, 2023.
Refer to Sunsetting of 19c RURs and FAQ (Note 2898381.1) for further details.
To provide customers more frequent access to recommended and well-tested collections of patches,
Oracle is pleased to introduce Monthly Recommended Patches (MRPs) starting in Nov 2022.
MRPs are supported only on the Linux x86-64 platform. Refer to Introducing Monthly Recommended Patches (MRPs)
and FAQ (Note 2898740.1) for further details.
Beginning with OJVM Release Update 18.4 and later (including 19c and beyond) the OJVM Release Updates are now Oracle RAC
Rolling installable.
However, the rollback to older versions such as 18.2 and 18.1 will be Non-Rolling.
To use the RAC Rolling approach, out-of-place patching of the Oracle Home is mandatory, as is the use of database services and
SRVCTL to
control instance and service operations. For further information, please refer to MOS NOTE 2217053.1,
RAC Rolling Install Process for the "Oracle JavaVM Component Database PSU/RU"(OJVM PSU/RU) Patches.
================
OPATCH Version
RDBMS Home : D:\ORACLE\1970
================
OPatch Version: 12.2.0.1.40
OPatch succeeded.
===========================
OPATCH Listing (Full List)
RDBMS Home : D:\ORACLE\1970
===========================
35239280;DSTV42 UPDATE - TZDATA2023C - NEED OJVM FIX
35638318;JDK BUNDLE PATCH 19.0.0.0.231017
35648110;OJVM RELEASE UPDATE: 19.21.0.0.231017 (35648110)
35681552;Windows Database Bundle Patch : 19.21.0.0.231017 (35681552)
35220732;Timezone Patch Picked from LSInventory
===================
Check Perl version
RDBMS Home : D:\ORACLE\1970
Perl Home : D:\ORACLE\1970\perl\bin
===================
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
===================
Check D:\ORACLE\1970\jdk JDK version
RDBMS Home : D:\ORACLE\1970
JDK HOME : D:\ORACLE\1970\JDK
JAVA Home : D:\ORACLE\1970\JDK\bin
JAVA LOCATION : D:\ORACLE\1970\JDK\BIN
===================
java version "1.8.0_391"
Java(TM) SE Runtime Environment (build 1.8.0_391-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.391-b13, mixed mode)
===================
Check D:\ORACLE\1970\jdk\jre JDK/JRE version
RDBMS Home : D:\ORACLE\1970
JDK/JRE HOME : D:\ORACLE\1970\JDK\JRE
JAVA Home : D:\ORACLE\1970\JDK\JRE\bin
JAVA LOCATION : D:\ORACLE\1970\JDK\JRE\BIN
===================
java version "1.8.0_391"
Java(TM) SE Runtime Environment (build 1.8.0_391-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.391-b13, mixed mode)
=======================
Check Rollback Patches
RDBMS Home : D:\ORACLE\1970
=======================
======================================
Verify Rollback Patch 30805684
======================================
Patch 30805684 NOT found in Oracle Home D:\ORACLE\1970 - Rollback Sucessfull
=======================
Check Applied Patches
RDBMS Home : D:\ORACLE\1970
=======================
Jan 2023 and above Bundle Patches also included TZ Patches
Due to this the TZ Patch Number may not be visible
in opatch listing
======================================
Verify Applied Patch 35681552
======================================
35681552;Windows Database Bundle Patch : 19.21.0.0.231017 (35681552)
Patch 35681552 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
======================================
Verify Applied Patch 35648110
======================================
35648110;OJVM RELEASE UPDATE: 19.21.0.0.231017 (35648110)
Patch 35648110 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
======================================
Verify Applied Patch 35638318
======================================
35638318;JDK BUNDLE PATCH 19.0.0.0.231017
Patch 35638318 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
========================================
Verify Applied Patch 35220732 to D:\ORACLE\1970
========================================
35220732;Timezone Patch Picked from LSInventory
Patch 35220732 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
======================================
Verify Applied Patch 35239280
======================================
35239280;DSTV42 UPDATE - TZDATA2023C - NEED OJVM FIX
Patch 35239280 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
============================
Verify Timezone Patch applied to DB Home
35220732 / timezlrg_42.dat
============================
Timezone Patch 35220732 timezlrg_42.dat Found / Applied to DB Home - Confirmed Applied OK
==========================================================
Verify Applied Bundle Patch 35681552 to DB Registry
==========================================================
Bundle Patch 35681552 Found / Applied to DB Registry - Confirmed Applied OK
==========================================================
Verify Applied OJVM Patch 35648110 to DB Registry
==========================================================
OJVM Patch 35648110 Found / Applied to DB Registry - Confirmed Applied OK
============================
Verify Timezone Patch applied to DB Registry
35220732 / timezlrg_42.dat
============================
Timezone Patch 35220732 timezlrg_42.dat Found / Applied to DB Registry - Confirmed Applied
OK
============================
Verify Timezone version applied to DB Registry
35220732 / 42
============================
Timezone Patch 35220732 42 Found / Applied to DB Registry - Confirmed Applied OK
Image Legends
Patch All Patches have been Released in MOS - These patches have been superseded and no longer applicable.
Releas
e Stat
us
Deploy
ment These patches have been superseded and no longer applicable.
Status The Patches have been released in MOS and internally tested only for documentation pruposes
Below conditions also apply
Did not test or check any vulnerabilities or do any regression/performance or stability testing
19.x Applies to OPERA 5.6.11 and Above ONLY
Critical Patch Update (CPU) Program Jul 2023 Patch Availability Document (DB-only) (Doc ID 2946185.1)
JDK and PERL Patches for Oracle Database Home and Grid Home (Doc ID 2584628.1)
Oracle Critical Patch Update (CPU) Jul 2023 for Oracle Java SE (Doc ID 2957260.1)
Validat Oracle Security Releases for Oracle Hospitality OPERA - R&D Based Testing Results Only (Doc ID 2189898.1) - !!! NOTE !!!! NO MORE
ion UPDATES AFTER APRIL 2023 !!! - Please search DOC8165 in ICCP - Oracle Security Releases for Oracle Hospitality OPERA - R&D
Based Testing Results Only (Doc ID 2189898.1) Please search DOC8165 in ICCP
Miscell When extracting - please use 7zip - Windows internal Zip has issued with long file names
aneous
Timezone DSTV42 - TZ42 TZDATA2023E - The Timezone 42 Patch 35220732 is already included in the JULY 2023 Patch / TZ 42 35239280
OJVM FIX is not included
35220732 RDBMS - DSTV42 UPDATE - TZDATA2023E Already included in JULY 2023 DB Bundle Patch
35239280 DSTV42 UPDATE - TZDATA2023E - NEED OJVM FIX NOT included in JULY 2023 DB Bundle Patch
Beginning from Jan 2023, TIMEZONE updates are included within the quarterly patches
Beginning from Jan2023, Perl updates are included within the quarterly patches
Beginning with the October 2022 patching cycle, 19c RURs will no longer be provided for 19.17.0 and above.
No additional RURs will be delivered on any platform after the delivery of Oracle Database 19c RUR 19.16.2 in January, 2023.
Refer to Sunsetting of 19c RURs and FAQ (Note 2898381.1) for further details.
To provide customers more frequent access to recommended and well-tested collections of patches,
Oracle is pleased to introduce Monthly Recommended Patches (MRPs) starting in Nov 2022.
MRPs are supported only on the Linux x86-64 platform. Refer to Introducing Monthly Recommended Patches (MRPs)
and FAQ (Note 2898740.1) for further details.
Beginning with OJVM Release Update 18.4 and later (including 19c and beyond) the OJVM Release Updates are now Oracle RAC
Rolling installable.
However, the rollback to older versions such as 18.2 and 18.1 will be Non-Rolling.
To use the RAC Rolling approach, out-of-place patching of the Oracle Home is mandatory, as is the use of database services and
SRVCTL to
control instance and service operations. For further information, please refer to MOS NOTE 2217053.1,
RAC Rolling Install Process for the "Oracle JavaVM Component Database PSU/RU"(OJVM PSU/RU) Patches.
Check OPATCH Version
=======================
OPatch Version: 12.2.0.1.39
=======================
Validate Applied Patch
=======================
======================================
Verify Rollback Patch 30805684
======================================
Patch 30805684 NOT found in Oracle Home D:\ORACLE\1970 - Rollback Sucessfull
=======================
Validate Applied Patch
=======================
======================================
Verify Applied Patch 35348034
======================================
35348034;Windows Database Bundle Patch : 19.20.0.0.230718 (35348034)
Patch 35348034 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
======================================
Verify Applied Patch 35354406
======================================
35354406;OJVM RELEASE UPDATE: 19.20.0.0.230718 (35354406)
Patch 35354406 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
======================================
Verify Applied Patch 35336174
======================================
35336174;JDK BUNDLE PATCH 19.0.0.0.230718
Patch 35336174 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
Apr 2023 (DB Layer)
Document Status
Image Legends
Deployment Status
These patches have been superseded and no longer applicable.
The Patches have been released in MOS and internally tested only for documentation pruposes
Below conditions also apply
Did not test or check any vulnerabilities or do any regression/performance or stability testing
19.x Applies to OPERA 5.6.11 and Above ONLY
Critical Patch Update (CPU) Program Apr 2023 Patch Availability Document (DB-only) (Doc ID 2923348.1)
JDK and PERL Patches for Oracle Database Home and Grid Home (Doc ID 2584628.1)
Oracle Critical Patch Update (CPU) Apr 2023 for Oracle Java SE (Doc ID 2935948.1)
Validation Oracle Security Releases for Oracle Hospitality OPERA - R&D Based Testing Results Only (Doc ID 2189898.1)
Miscellaneous When extracting - please use 7zip - Windows internal Zip has issued with long file names
Timezone DSTV42 - TZ42 TZDATA2023E - The Timezone 40 Patch is already included in the April 2023 Patch
35220732 RDBMS - DSTV42 UPDATE - TZDATA2023E Optional - Required ONLY if TZ is also upgrading to TZ42
35239280 DSTV42 UPDATE - TZDATA2023E - NEED OJVM FIX Optional - Required ONLY if TZ is also upgrading to TZ42
Doc Ref: 19.x:datapatch failed with 'ORA-13516: AWR Operation failed: CATPROC not valid ' (Doc ID 2922690.1)
Deploy Notes:
Beginning from Jan 2023, TIMEZONE updates are included within the quarterly patches
Beginning from Jan2023, Perl updates are included within the quarterly patches
Beginning with the October 2022 patching cycle, 19c RURs will no longer be provided for 19.17.0 and above.
No additional RURs will be delivered on any platform after the delivery of Oracle Database 19c RUR 19.16.2 in January, 2023.
Refer to Sunsetting of 19c RURs and FAQ (Note 2898381.1) for further details.
To provide customers more frequent access to recommended and well-tested collections of patches,
Oracle is pleased to introduce Monthly Recommended Patches (MRPs) starting in Nov 2022.
MRPs are supported only on the Linux x86-64 platform. Refer to Introducing Monthly Recommended Patches (MRPs)
and FAQ (Note 2898740.1) for further details.
Beginning with OJVM Release Update 18.4 and later (including 19c and beyond) the OJVM Release Updates are now Oracle RAC
Rolling installable.
However, the rollback to older versions such as 18.2 and 18.1 will be Non-Rolling.
To use the RAC Rolling approach, out-of-place patching of the Oracle Home is mandatory, as is the use of database services and
SRVCTL to
control instance and service operations. For further information, please refer to MOS NOTE 2217053.1,
RAC Rolling Install Process for the "Oracle JavaVM Component Database PSU/RU"(OJVM PSU/RU) Patches.
OPatch succeeded.
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
=======================
Validate Applied Patch
=======================
======================================
Verify Applied Patch 35046439
======================================
35046439;Windows Database Bundle Patch : 19.19.0.0.230418 (35046439)
Patch 35046439 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
======================================
Verify Applied Patch 35050341
======================================
35050341;OJVM RELEASE UPDATE: 19.19.0.0.230418 (35050341)
Patch 35050341 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
======================================
Verify Applied Patch 35004974
======================================
35004974;JDK BUNDLE PATCH 19.0.0.0.230418
Patch 35004974 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
======================================
Verify Applied Patch 34699616
======================================
34699616;DSTV40 UPDATE - TZDATA2022E - NEED OJVM FIX
Patch 34699616 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
============================
Verify Timezone Patch applied to DB Home
34698179 / timezlrg_40.dat
============================
==========================================================
Verify Applied Bundle Patch 35046439 to DB Registry
==========================================================
==========================================================
Verify Applied OJVM Patch 35050341 to DB Registry
==========================================================
============================
Verify Timezone Patch applied to DB Registry
34698179 / timezlrg_40.dat
============================
============================
Verify Timezone version applied to DB Registry
34698179 / 40
============================
Issue:
If you apply CPU Patches for 19c DB JAN 2023 AND TZ40 in this order - these below are the encountered issues
Jan 2023 ALREADY includes TZ 40 - See doc : Steps to update the timezone after applying 19.18 DBRU & higher (Doc ID
2940808.1)
The TZ 40 Files in ORACLE_HOME\oracore\zoneinfo is NOT copied across
If JAN 2023 is already applied then you CANNOT apply TZ 40 Patches as it causes conflicts
You CANNOT do the DB upgrade to TZ 40 as the files in oracore don’t exist
Solution:
Image Legends
Deployment Status
These patches have been superseded and no longer applicable.
The Patches have been released in MOS and internally tested only for documentation pruposes
Below conditions also apply
Did not test or check any vulnerabilities or do any regression/performance or stability testing
19.x Applies to OPERA 5.6.11 and Above ONLY
Critical Patch Update (CPU) Program Jan 2023 Patch Availability Document (DB-only) (Doc ID 2906899.1)
JDK and PERL Patches for Oracle Database Home and Grid Home (Doc ID 2584628.1)
Oracle Critical Patch Update (CPU) Jan 2023 for Oracle Java SE (Doc ID 2917310.1)
Validation Oracle Security Releases for Oracle Hospitality OPERA - R&D Based Testing Results Only (Doc ID 2189898.1)
Miscellaneous When extracting - please use 7zip - Windows internal Zip has issued with long file names
The Timezone 40 Patch is already included in the JAn 2023 Patch - but due to TZ missing file issues is being added here in the steps as a
workaround
Beginning from Jan2023, Perl updates are included within the quarterly patches Doc ID 2584628.1
Doc Ref: 19.x:datapatch failed with 'ORA-13516: AWR Operation failed: CATPROC not valid ' (Doc ID 2922690.1)
Deploy Notes:
Beginning from Jan2023, Perl updates are included within the quarterly patches
Beginning with the October 2022 patching cycle, 19c RURs will no longer be provided for 19.17.0 and above.
No additional RURs will be delivered on any platform after the delivery of Oracle Database 19c RUR 19.16.2 in January, 2023.
Refer to Sunsetting of 19c RURs and FAQ (Note 2898381.1) for further details.
To provide customers more frequent access to recommended and well-tested collections of patches,
Oracle is pleased to introduce Monthly Recommended Patches (MRPs) starting in Nov 2022.
MRPs are supported only on the Linux x86-64 platform. Refer to Introducing Monthly Recommended Patches (MRPs)
and FAQ (Note 2898740.1) for further details.
Beginning with OJVM Release Update 18.4 and later (including 19c and beyond) the OJVM Release Updates are now Oracle RAC
Rolling installable.
However, the rollback to older versions such as 18.2 and 18.1 will be Non-Rolling.
To use the RAC Rolling approach, out-of-place patching of the Oracle Home is mandatory, as is the use of database services and
SRVCTL to
control instance and service operations. For further information, please refer to MOS NOTE 2217053.1,
RAC Rolling Install Process for the "Oracle JavaVM Component Database PSU/RU"(OJVM PSU/RU) Patches.
To be added
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Image Legends
Critical Patch Update (CPU) Program Oct 2022 Patch Availability Document (DB-only) (Doc ID 2888497.1)
JDK and PERL Patches for Oracle Database Home and Grid Home (Doc ID 2584628.1)
Validation Oracle Security Releases for Oracle Hospitality OPERA - R&D Based Testing Results Only (Doc ID 2189898.1)
Miscellaneous When extracting - please use 7zip - Windows internal Zip has issued with long file names
6880880 OPatch 12.2.0.1.33 for DB 19.0.0.0.0 (Oct 2022 or later) Oct 2022 or Later
34468114 WINDOWS DATABASE BUNDLE PATCH 19.17.0.0.221018 ** New Patch released on 17-11-22
33912872 DATABASE PERL UPDATE IN 19C TO V5.32-1 (CVE-2022-23990 - LIBEXPAT UPDATE) ** New
Applied Perl Patch CONFLICT below error with Oct 2022 DB Bundle patch - Occurs ONLY if you use OLD released DB Bundle patch
Patches 34468114 - released BEFORE 17-11-22
==================================================
Apply Patch 33912872 to D:\ORACLE\1970
==================================================
PREREQ session
ZOP-40: The patch(es) has conflicts with other patches installed in the Oracle Home (or) among
themselves.
Following patches have conflicts. Please contact Oracle Support and get the merged patch of the
patches :
33912872, 34468114
Patch : 33912872
OPatch succeeded.
===================
Check Perl version
===================
ECHO is off.
cd /d D:\ORACLE\1970\perl\bin
This is perl 5, version 32, subversion 0 (v5.32.0) built for MSWin32-x64-multi-thread
===================
Check JDK Version
===================
ECHO is off.
java version "1.8.0_351"
Java(TM) SE Runtime Environment (build 1.8.0_351-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.351-b10, mixed mode)
=======================
Validate Rollback Patch
=======================
======================================
Verify Rollback Patch 33912872
======================================
Patch 33912872 NOT found in Oracle Home D:\ORACLE\1970 - Rollback Sucessfull
======================================
Verify Rollback Patch 31732095
======================================
Patch 31732095 NOT found in Oracle Home D:\ORACLE\1970 - Rollback Sucessfull
======================================
Verify Rollback Patch 30805684
======================================
Patch 30805684 NOT found in Oracle Home D:\ORACLE\1970 - Rollback Sucessfull
=======================
Check Applied Patches
=======================
==========================================================
Verify Applied Patch 34468114 to D:\ORACLE\1970
==========================================================
34468114;Windows Database Bundle Patch : 19.17.0.0.221018 (34468114)
Patch 34468114 Found / Applied in Oracle Home D:\ORACLE\1970 - Confirmed Applied OK
==========================================================
Verify Applied Patch 34411846 to D:\ORACLE\1970
==========================================================
34411846;OJVM RELEASE UPDATE: 19.17.0.0.221018 (34411846)
Patch 34411846 Found / Applied in Oracle Home D:\ORACLE\1970 - Confirmed Applied OK
==========================================================
Verify Applied Patch 34422617 to D:\ORACLE\1970
==========================================================
34422617;JDK BUNDLE PATCH 19.0.0.0.221018
Patch 34422617 Found / Applied in Oracle Home D:\ORACLE\1970 - Confirmed Applied OK
==========================================================
Verify Applied Patch 33912872 to D:\ORACLE\1970
==========================================================
33912872;DATABASE PERL UPDATE IN 19C TO V5.32-1 (CVE-2022-23990 - LIBEXPAT UPDATE)
Patch 33912872 Found / Applied in Oracle Home D:\ORACLE\1970 - Confirmed Applied OK
==========================================================
Verify Applied Bundle Patch 34468114 to DB Registry
==========================================================
==========================================================
Verify Applied OJVM Patch 34411846 to DB Registry
==========================================================
Image Legends
Deployment Status
These patches have been superseded and no longer applicable.
Below conditions also apply
id not test or check any vulnerabilities or do any regression/performance or stability testing
19.x Applies to OPERA 5.6.11 and Above ONLY
Critical Patch Update (CPU) Program Jul 2022 Patch Availability Document (DB-only) (Doc ID 2867871.1)
JDK and PERL Patches for Oracle Database Home and Grid Home (Doc ID 2584628.1)
Validation Oracle Security Releases for Oracle Hospitality OPERA - R&D Based Testing Results Only (Doc ID 2189898.1)
Miscellaneous When extracting - please use 7zip - Windows internal Zip has issued with long file names
06-Aug-22 - Testing
6880880 OPatch 12.2.0.1.32 for DB 19.0.0.0.0 (Apr 2022 or later) July 2022 or Later
33912872 DATABASE PERL UPDATE IN 19C TO V5.32-1 (CVE-2022-23990 - LIBEXPAT UPDATE) Not Tested in GRID/RAC
Applied Patches
Check OPATCH Version
=======================
OPatch Version: 12.2.0.1.32
OPatch succeeded.
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
=======================
Validate Rollback Patch
=======================
======================================
Verify Rollback Patch 30805684
======================================
Patch 30805684 NOT found in Oracle Home D:\ORACLE\1970 - Rollback Sucessfull
Done
=======================
Validate Applied Patch
=======================
======================================
Verify Applied Patch 34110685
======================================
34110685;Windows Database Bundle Patch : 19.16.0.0.220719 (34110685)
Patch 34110685 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
======================================
Verify Applied Patch 34086870
======================================
34086870;OJVM RELEASE UPDATE: 19.16.0.0.220719 (34086870)
Patch 34086870 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
======================================
Verify Applied Patch 34113634
======================================
34113634;JDK BUNDLE PATCH 19.0.0.0.220719
Patch 34113634 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
======================================
Verify Applied Patch 31732095
======================================
33912872;DATABASE PERL UPDATE IN 19C TO V5.32-1 (CVE-2022-23990 - LIBEXPAT UPDATE)
Patch 33912872 Found / Applied in Oracle Home D:\ORACLE\1970 - Patch Apply Sucessfull
==========================================================
Verify Applied Bundle Patch 34110685 to DB Registry
==========================================================
==========================================================
Verify Applied OJVM Patch 34086870 to DB Registry
==========================================================
Image Legends
Deployment Status
These patches have been superseded and no longer applicable.
The patches have been released in MOS and internally tested ONLY for documentation purposes.
Did not test or check any vulnerabilities or do any regression/performance or stability testing
19.x Applies to OPERA 5.6.11 and Above ONLY
Critical Patch Update (CPU) Program Apr 2022 Patch Availability Document (DB-only) (Doc ID 2844795.1)
JDK and PERL Patches for Oracle Database Home and Grid Home (Doc ID 2584628.1)
Validation Oracle Security Releases for Oracle Hospitality OPERA - R&D Based Testing Results Only (Doc ID 2189898.1)
Miscellaneous When extracting - please use 7zip - Windows internal Zip has issued with long file names
6880880 OPatch 12.2.0.1.30 for DB 19.0.0.0.0 (Apr 2022 or later) April 2022 or Later
33912872 DATABASE PERL UPDATE IN 19C TO V5.32-1 (CVE-2022-23990 - LIBEXPAT Need to check if it will cause conflict like Jan
UPDATE) 2022
Misc Notes and Comments
Applied
Patches ===============
DB Patch Report
===============
OPatch succeeded.
===================
Check Perl version
===================
ECHO is off.
cd /d D:\ORACLE\1970\perl\bin
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
===================
Check JDK Version
===================
ECHO is off.
java version "1.8.0_331"
Java(TM) SE Runtime Environment (build 1.8.0_331-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.331-b09, mixed mode)
OPATCH
For JAN 2022 - OPATCH must be OPATCH version x.29 (Feb 2022) or Later
OPATCH x.28 has a BUG - Causes issue with rollback of JDK and PERL Patch
Perl
Patch DO NOT Apply in GRID or DB Home for Jan 2022 Patching Cycle
Jan 2022 The Perl Patch 31732095 UPDATE PERL IN 19C DATABASE ORACLE HOME TO V5.32 - has now been removed temporarily from
Jan 2022 patching cycle till a merge patch is available. This is because the Perl Patch Perl 5, version 32, subversion 0 (v5.32.0) MOS
Patch # 31732095 issued in Jan 2021 causes conflict with DB Bundle Patch Jan 2022 33575656 WINDOWS DATABASE BUNDLE
PATCH 19.14.0.0.220118
The old condition of PERL Patch should NOT be applied in GRID Home still applies.
cd /d d:\stage\31732095
%ORACLE_HOME%\opatch\opatch apply -silent
Oracle Interim Patch Installer version 12.2.0.1.28
Copyright (c) 2022, Oracle Corporation. All rights reserved.
Patch : 31732095
Image Legends
Critical Patch Update (CPU) Program Jan 2022 Patch Availability Document (PAD) (Doc ID 2817011.1)
JDK and PERL Patches for Oracle Database Home and Grid Home (Doc ID 2584628.1)
Validation Oracle Security Releases for Oracle Hospitality OPERA - R&D Based Testing Results Only (Doc ID 2189898.1)
Miscellaneous When extracting - please use 7zip - Windows internal Zip has issued with long file names
03-Feb-22 - Opatch Issues when rolling back JDK & PERL - See comments
6880880 OPatch 12.2.0.1.29 for DB 19.0.0.0.0 (Feb 2022) Feb 2022 or Later
cd /d D:\ORACLE\1970\perl\bin
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
OPATCH
For JAN 2022 - OPATCH must be OPATCH version x.29 (Feb 2022) or Later
OPATCH x.28 has a BUG - Causes issue with rollback of JDK and PERL Patch
Perl
Patch DO NOT Apply in GRID or DB Home for Jan 2022 Patching Cycle
Jan 2022 The Perl Patch 31732095 UPDATE PERL IN 19C DATABASE ORACLE HOME TO V5.32 - has now been removed temporarily from
Jan 2022 patching cycle till a merge patch is available. This is because the Perl Patch Perl 5, version 32, subversion 0 (v5.32.0) MOS
Patch # 31732095 issued in Jan 2021 causes conflict with DB Bundle Patch Jan 2022 33575656 WINDOWS DATABASE BUNDLE
PATCH 19.14.0.0.220118
The old condition of PERL Patch should NOT be applied in GRID Home still applies.
cd /d d:\stage\31732095
%ORACLE_HOME%\opatch\opatch apply -silent
Oracle Interim Patch Installer version 12.2.0.1.28
Copyright (c) 2022, Oracle Corporation. All rights reserved.
Patch : 31732095
Image Legends
Critical Patch Update (CPU) Program Oct 2021 Patch Availability Document (PAD) (Doc ID 2796575.1)
JDK and PERL Patches for Oracle Database Home and Grid Home (Doc ID 2584628.1)
Validation Oracle Security Releases for Oracle Hospitality OPERA - R&D Based Testing Results Only (Doc ID 2189898.1)
Miscellaneous When extracting - please use 7zip - Windows internal Zip has issued with long file names
33192694 OJVM RELEASE UPDATE Issue noted when Datapatch -verbose Rollback of Default Media V1001407-01 OJVM April 2020 -
19.13.0.0.0 Patch 30805684 rollback to apply July 2021 OJVM patch - Solution Re-run the Datapatch
31732095 UPDATE PERL IN 19C Do Not Apply in GRID Home - Causes issues see readme for details
DATABASE ORACLE HOME
TO V5.32
Image Legends
Deployment Status
These patches have been superseded and no longer applicable.
Apply ONLY if required specifically for restore / recovery of environments to this level
The patches have been released in MOS and internally tested ONLY for documentation purposes.
19.x Applies to OPERA 5.6.11 and Above ONLY
Critical Patch Update (CPU) Program Jul 2021 Patch Availability Document (PAD) (Doc ID 2773670.1)
JDK and PERL Patches for Oracle Database Home and Grid Home (Doc ID 2584628.1)
Validation Oracle Security Releases for Oracle Hospitality OPERA - R&D Based Testing Results Only (Doc ID 2189898.1)
Miscellaneous When extracting - please use 7zip - Windows internal Zip has issued with long file names
Update History 03-Aug - Initial Draft
6880880 OPatch 12.2.0.1.27 for DB 12.x, 18.x, 19.x, Aug 2021 or Later
20.x and 21.x releases (Aug 2021)
32832237 WINDOWS DATABASE BUNDLE PATCH Must use OPATCH .25 or later
19.12.0.0.210720
32876380 OJVM RELEASE UPDATE Issue noted when Datapatch -verbose Rollback of Default Media V1001407-01 OJVM
19.12.0.0.210720 April 2020 - Patch 30805684 rollback to apply July 2021 OJVM patch
Solution:
31732095 UPDATE PERL IN 19C DATABASE Do Not Apply in GRID Home - Causes issues see readme for details
ORACLE HOME TO V5.32
Image Legends
Critical Patch Update (CPU) Program Apr 2021 Patch Availability Document (PAD) (Doc ID 2749094.1)
JDK and PERL Patches for Oracle Database Home and Grid Home (Doc ID 2584628.1)
Validation Oracle Security Releases for Oracle Hospitality OPERA - R&D Based Testing Results Only (Doc ID 2189898.1)
Miscellaneous When extracting - please use 7zip - Windows internal Zip has issued with long file names
6880880 OPatch 12.2.0.1.24 for Db 12.x, 18.x, 19.x and 20.x Feb 2021 or Later
releases (Windows X64)
32409154 WINDOWS DATABASE BUNDLE PATCH Encountered Issue during Patching Oct 2020 - BUG 32193918 - Issue resolved -
19.11.0.0.210420 requires INIT / SPFILE updates)
31732095 UPDATE PERL IN 19C DATABASE ORACLE HOME Do Not Apply in GRID Home - Causes issues see readme for details
TO V5.32
Image Legends
Deployment Status
These patches have been superseded and no longer applicable.
Apply ONLY if required specifically for restore / recovery of environments to this level
The patches have been released in MOS and internally tested ONLY for documentation purposes.
Did not test or check any vulnerabilities or do any regression/performance or stability testing
19.x Applies to OPERA 5.6.11 and Above ONLY
Critical Patch Update (CPU) Program Jan 2021 Patch Availability Document (PAD) (Doc ID 2694898.1)
JDK and PERL Patches for Oracle Database Home and Grid Home (Doc ID 2584628.1)
Oracle Database 19c Release Update & Release Update Revision January 2021 Critical Issues (Doc ID 2725758.1)
Validation Oracle Security Releases for Oracle Hospitality OPERA - R&D Based Testing Results Only (Doc ID 2189898.1)
Miscellaneous When extracting - please use 7zip - Windows internal Zip has issued with long file names
Update History 09-Mar - Initial Draft
6880880 OPatch 12.2.0.1.23 for DB 19.x releases (Nov ** Important - MUST use 12.2.0.1.23 or Higher
2020)
32062765 WINDOWS DATABASE BUNDLE PATCH Encountered Issue during Patching Oct 2020 - BUG 32193918 - Issue resolved -
19.10.0.0.210119 requires INIT / SPFILE updates)
31732095 UPDATE PERL IN 19C DATABASE ORACLE Do Not Apply in GRID Home - Causes issues see readme for details
HOME TO V5.32
Image Legends
Deployment Status
These patches have been superseded and no longer applicable.
Apply ONLY if required specifically for restore / recovery of environments to this level
The patches have been released in MOS and internally tested ONLY for documentation purposes.
Did not test or check any vulnerabilities or do any regression/performance or stability testing
19.x Applies to OPERA 5.6.11 and Above ONLY
April 2020 is the default patch level for 19c DB Media
Source https://www.oracle.com/security-alerts/cpuapr2020.html
Validation Oracle Security Releases for Oracle Hospitality OPERA - R&D Based Testing Results Only (Doc ID 2189898.1)
Miscellaneous When extracting - please use 7zip - Windows internal Zip has issued with long file names
Image Legends
Deployment Status
These patches have been superseded and no longer applicable.
Apply ONLY if required specifically for restore / recovery of environments to this level
The patches have been released in MOS and internally tested ONLY for documentation purposes.
Did not test or check any vulnerabilities or do any regression/performance or stability testing
19.x Applies to OPERA 5.6.11 and Above ONLY
Source https://www.oracle.com/security-alerts/cpujul2020.html
Validation Oracle Security Releases for Oracle Hospitality OPERA - R&D Based Testing Results Only (Doc ID 2189898.1)
Miscellaneous When extracting - please use 7zip - Windows internal Zip has issued with long file names
Image Legends
Deployment Status
These patches have been superseded and no longer applicable.
Apply ONLY if required specifically for restore / recovery of environments to this level
The patches have been released in MOS and internally tested ONLY for documentation purposes.
Did not test or check any vulnerabilities or do any regression/performance or stability testing
19.x Applies to OPERA 5.6.11 and Above ONLY
Critical Patch Update (CPU) Program Oct 2020 Patch Availability Document (PAD) (Doc ID 2694898.1)
JDK and PERL Patches for Oracle Database Home and Grid Home (Doc ID 2584628.1)
Oracle Database 19c Release Update & Release Update Revision October 2020 Known Issues (Doc ID 2694903.1)
Validation Oracle Security Releases for Oracle Hospitality OPERA - R&D Based Testing Results Only (Doc ID 2189898.1)
Miscellaneous When extracting - please use 7zip - Windows internal Zip has issued with long file names
6880880 OPatch 12.2.0.1.23 for DB 19.x releases (Nov ** Important - MUST use 12.2.0.1.23 or Higher
2020)
31719903 WINDOWS DB BUNDLE PATCH 19.9.0.0.201020 Encountered Issue during Patching Oct 2020 - BUG 32193918 - Issue resolved -
requires INIT / SPFILE updates)
29511711 UPDATE PERL 5.28.1 IN 19.3.0.0.0 DATABASE Not required as it is included in default media since 19.3.0.0.
ORACLE HOME
Open initXXXX.ora file with notepad and change the following values - Edit the values below and save the document – make sure to choose and enable
correct memory parameters.
if MEDIA Defalt INIT/SPFILE is in use ensure the following if Custom INIT / SPFILE is in use ensure the following parameters are NOT Set
parameters are NOT Set
Remove the below parameters BEFORE Upgrade
Remove the below parameters BEFORE Upgrade
deferred_segment_creation=false # for using exp/imp
*._optim_peek_user_binds=FALSE plsql_optimize_level=1 # fix for plsql table to return
*.utl_file_dir='*' ### This Parameter correct results, pending Oracle bug fix
is no longer applicable in 19c _optim_peek_user_binds=FALSE
*.plsql_optimize_level=1
*.deferred_segment_creation=FALSE _kill_enqueue_blocker=1
_optimizer_complex_pred_selectivity=false
_enable_shared_pool_durations=FALSE
utl_file_dir='*'
Validate Values
job_queue_processes=0
aq_tm_processes=0
Compatible=19.0.0
shared_pool_reserved_size = 6553600
Download and install the Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017, 2019 and 2022 from below and install
Microsoft website
Direct Download
Warning
When Patching Make sure to use the correct ORACLE_HOME and ORACLE_SID wherever and whenever required.
Set Environment
set ORACLE_HOME=D:\ORACLE\1970
set ORACLE_SID=opera
set PERL5LIB=
set perlpath=
set PATH=D:\ORACLE\1970\bin;D:\ORACLE\1970\perl\bin;%PATH%
Make sure the WINDOWS PATH also includes the ORACLE_HOME - AS FIRST ENTRY
Also ensure the perl paths variables are NOT Set in WINDOWS Environment variables
echo %ORACLE_HOME%
echo %ORACLE_SID%
echo %path%
echo %PERL5LIB%
echo %perlpath%
Enable SQLNET / OS Authentication
Connect to the database and validate OS Authentication
SQLNET.AUTHENTICATION_SERVICES = (NTS)
sqlplus / as sysdba
Services / Environment
Stop all Database and APPS (If they exist) related Services
cd /d %ORACLE_HOME%\.patch_storage
del newdirs.txt_tmp /q
Example:
OJVM Patch 35648110 has been identified for rollback based on above screenshot (It may differ on site)
%ORACLE_HOME%\opatch\opatch lspatches
Once the JDK patch number has been identified ROLL it back
Example:
JDK Patch 35638318 has been identified for rollback based on above screenshot (It may differ on site)
%ORACLE_HOME%\opatch\opatch lspatches | findstr "35638318"
%ORACLE_HOME%\opatch\opatch lspatches
(If Rollback JDK Causes Issues with missing file error - normally seen with Oct 2021 - 33197296)
Remove/Rename the temp newdirs.txt_tmp file
Normally this is seen with Oct 2021 JDK Patch
Go and verify %ORACLE_HOME%\.patch_storage\newdirs.txt_tmp file exists
cd /d %ORACLE_HOME%\.patch_storage
del newdirs.txt_tmp /q
cd /d %ORACLE_HOME%\.patch_storage\33197296_Oct_12_2021_10_04_34\files
unzip jdk.zip
cd /d %ORACLE_HOME%\opatch
del newdirs.txt_tmp /q
cd /d %ORACLE_HOME%\opatch
Once the Perl Patch 33912872 31732095 has been identified that it exists ROLL it back
%ORACLE_HOME%\opatch\opatch lspatches
(If Rollback Perl Causes Issues with missing file error - normally seen with 31732095)
Remove/Rename the temp newdirs.txt_tmp file (If it exists)
Go and verify %ORACLE_HOME%\.patch_storage\newdirs.txt_tmp file exists
cd /d %ORACLE_HOME%\.patch_storage
del newdirs.txt_tmp /q
unzip perl.zip
cd /d %ORACLE_HOME%\opatch
cd /d %ORACLE_HOME%\.patch_storage
del newdirs.txt_tmp /q
cd /d %ORACLE_HOME%\opatch
Verify OJVM, JDK and PERL - DOES NOT Exist in RDBMS Oracle Home
%ORACLE_HOME%\opatch\opatch lspatches
Warning
When Patching Make sure to use the correct ORACLE_HOME and ORACLE_SID wherever and whenever required.
Set Environment
set ORACLE_HOME=D:\ORACLE\1970
set ORACLE_SID=opera
set PERL5LIB=
set perlpath=
set PATH=D:\ORACLE\1970\bin;D:\ORACLE\1970\perl\bin;%PATH%
Make sure the WINDOWS PATH also includes the ORACLE_HOME - AS FIRST ENTRY
Also ensure the perl paths variables are NOT Set in WINDOWS Environment variables
echo %ORACLE_HOME%
echo %ORACLE_SID%
echo %path%
echo %PERL5LIB%
echo %perlpath%
Stop Services
Stop all Database and APPS (If they exist) related Services
net stop msdtc
net stop winmgmt /y
Important - MUST use Latest OPATCH as recommended in Patches - else will fail.
CD /D %ORACLE_HOME%\bin
%ORACLE_HOME%\opatch\opatch version
%ORACLE_HOME%\opatch\opatch version
%ORACLE_HOME%\opatch\Opatch version
%ORACLE_HOME%\opatch\Opatch lspatches
It will display the OPATCH Version and Patches applied (Screenshots Numbers may differ)
%ORACLE_HOME%\opatch\Opatch lsinventory | findstr “36260493”
%ORACLE_HOME%\perl\bin\perl -version
cd /d %ORACLE_HOME%\jdk\bin
java -version
%ORACLE_HOME%\opatch\Opatch version
%ORACLE_HOME%\opatch\Opatch lspatches
cd /d %ORACLE_HOME%\jdk\bin
java -version
Beginning from Jan 2023, Perl updates are included within the quarterly DB Bundle patches Doc ID 2584628.1)
%ORACLE_HOME%\opatch\Opatch lspatches
%ORACLE_HOME%\perl\bin\perl -version
cd /d %ORACLE_HOME%\jdk\bin
java -version
Beginning from Jan 2023, Perl updates are included within the quarterly DB Bundle patches Doc ID 2584628.1)
%ORACLE_HOME%\opatch\Opatch lspatches
%ORACLE_HOME%\perl\bin\perl -version
cd /d %ORACLE_HOME%\jdk\bin
java -version
CD /D D:\stage\35648110
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
CD /D D:\stage\35638318
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
%ORACLE_HOME%\opatch\Opatch lspatches
%ORACLE_HOME%\perl\bin\perl -version
%ORACLE_HOME%\jdk\bin\java -version
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
CD /D D:\stage\35336174
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
%ORACLE_HOME%\opatch\Opatch lspatches
%ORACLE_HOME%\perl\bin\perl -version
%ORACLE_HOME%\jdk\bin\java -version
to be added
CD /D D:\stage\35050341
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
%ORACLE_HOME%\opatch\Opatch lspatches
%ORACLE_HOME%\perl\bin\perl -version
%ORACLE_HOME%\jdk\bin\java -version
to be added
CD /D D:\stage\34786990
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
CD /D D:\stage\34777391
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
%ORACLE_HOME%\opatch\Opatch lspatches
%ORACLE_HOME%\perl\bin\perl -version
%ORACLE_HOME%\jdk\bin\java -version
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
CD /D D:\stage\34411846
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
CD /D D:\stage\34422617
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
We are rolling back and then re-apply same patch Perl Patch was re-released with SAME patch number
CD /D D:\stage\33912872
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
If the below command to validate Perl causes issues - the correct Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019 is missing
from OS - check in control Panel.
%ORACLE_HOME%\perl\bin\perl -version
Solution: Install - Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019 in next section
%ORACLE_HOME%\opatch\Opatch lspatches
%ORACLE_HOME%\perl\bin\perl -version
%ORACLE_HOME%\jdk\bin\java -version
CD /D D:\stage\34086870
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
CD /D D:\stage\34113634
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
We are rolling back and then re-apply same patch Perl Patch was re-released with SAME patch number
CD /D D:\stage\33912872
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
%ORACLE_HOME%\perl\bin\perl -version
Solution: Install - Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019 in next section
%ORACLE_HOME%\opatch\Opatch lspatches
%ORACLE_HOME%\perl\bin\perl -version
%ORACLE_HOME%\jdk\bin\java -version
Apply Apr 2022 - Patch 33829175 WINDOWS DATABASE BUNDLE PATCH 19.15.0.0.220419
CD /D D:\stage\33829175
CD /D D:\stage\33808367
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
Apply Apr 2022 - Patch 33810130 : JDK 1.8.0_331 JDK BUNDLE PATCH 19.0.0.0.220419
Apply Apr 2022 - Patch 33810130 : JDK 1.8.0_331 JDK BUNDLE PATCH 19.0.0.0.220419
CD /D D:\stage\33810130
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
%oracle_home%\opatch\Opatch lspatches
%ORACLE_HOME%\perl\bin\perl -version
%ORACLE_HOME%\jdk\bin\java -version
Apply Jan 2022 - Patch 33575656 WINDOWS DATABASE BUNDLE PATCH 19.14.0.0.220118
CD /D D:\stage\33575656
CD /D D:\stage\33561310
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
Apply Jan 2022 - Patch 33497160 : JDK 1.8.0_311 JDK BUNDLE PATCH 19.0.0.0.220118
Apply Jan 2022 - Patch 33497160 : JDK 1.8.0_311 JDK BUNDLE PATCH 19.0.0.0.220118
CD /D D:\stage\33497160
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
%ORACLE_HOME%\perl\bin\perl -version
%ORACLE_HOME%\jdk\bin\java -version
Apply Oct 2021 - Patch 33155330 WINDOWS DATABASE BUNDLE PATCH 19.13.0.0.211019
CD /D D:\stage\33155330
%ORACLE_HOME%\opatch\opatch lspatches | findstr "33155330"
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
Apply Oct 2021 - Patch 33197296 : JDK 1.8.0_311 BUNDLE PATCH 19.0.0.0.211019
CD /D D:\stage\33197296
%oracle_home%\opatch\Opatch lspatches | findstr "33197296"
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
Apply Jan 2021 - Patch 31732095: UPDATE PERL IN 19C DATABASE ORACLE HOME TO V5.
32
We are rolling back and then re-apply same patch as JAN 2021 Perl Patch was re-released with SAME patch number
CD /D D:\stage\31732095
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
%ORACLE_HOME%\perl\bin\perl -version
Solution: Install - Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019 in next section
%ORACLE_HOME%\perl\bin\perl -version
cd /d %ORACLE_HOME%\jdk\bin
java -version
Apply Jul 20201 - Patch 32832237: WINDOWS DATABASE BUNDLE PATCH 19.12.0.0.210720
CD /D D:\stage\32832237
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
Apply Jul 2021 - Patch 32918394 : JDK 1.8.0_301 BUNDLE PATCH 19.0.0.0.210720
CD /D D:\stage\32918394
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
Apply Jan 2021 - Patch 31732095: UPDATE PERL IN 19C DATABASE ORACLE HOME TO V5.
32
Why Rollback First?
We are rolling back and then re-apply same patch as JAN 2021 Perl Patch was re-released with SAME patch number
CD /D D:\stage\31732095
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
If the below command to validate Perl causes issues - the correct Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019 is missing
from OS - check in control Panel.
%ORACLE_HOME%\perl\bin\perl -version
Solution: Install - Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019 in next section
%ORACLE_HOME%\perl\bin\perl -version
cd /d %ORACLE_HOME%\jdk\bin
java -version
Apply Apr 20201 - Patch 32409154: WINDOWS DATABASE BUNDLE PATCH 19.11.0.0.210420
CD /D D:\stage\32409154
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
Apply Apr 2021 - Patch 32490416 : JDK 1.8.0_281 BUNDLE PATCH 19.0.0.0.210420
CD /D D:\stage\32490416
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
Apply Jan 2021 - Patch 31732095: UPDATE PERL IN 19C DATABASE ORACLE HOME TO V5.
32
We are rolling back and then re-apply same patch as JAN 2021 Perl Patch was re-released with SAME patch number
CD /D D:\stage\31732095
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
%ORACLE_HOME%\perl\bin\perl -version
Solution: Install - Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019 in next section
%ORACLE_HOME%\perl\bin\perl -version
cd /d %ORACLE_HOME%\jdk\bin
java -version
Apply Jan 20201 - Patch 32062765: WINDOWS DATABASE BUNDLE PATCH 19.10.0.0.210119
CD /D D:\stage\32062765
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
Apply Jan 2021 - Patch 32162391: JDK 1.8.0_281 BUNDLE PATCH 19.0.0.0.210119
CD /D D:\stage\32162391
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
Apply Jan 2021 - Patch 31732095: UPDATE PERL IN 19C DATABASE ORACLE HOME TO V5.
32
Why Rollback First?
We are rolling back and then re-apply same patch as JAN 2021 Perl Patch was re-released with SAME patch number
CD /D D:\stage\31732095
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
If the below command to validate Perl causes issues - the correct Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019 is missing
from OS - check in control Panel.
%ORACLE_HOME%\perl\bin\perl -version
Solution: Install - Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019 in next section
%ORACLE_HOME%\perl\bin\perl -version
cd /d %ORACLE_HOME%\jdk\bin
java -version
Apply Oct 2020 - 19.9.0.0.201020 DB Patch 31719903
CD /D D:\stage\31719903
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
Apply Oct 2020 - UPDATE PERL IN 19.3.0.0.0 DATABASE ORACLE HOME Patch 29511771
Not Required as it is included in Default media since 19.3.0.0.0
set ORACLE_HOME=D:\ORACLE\1970
%ORACLE_HOME%\perl\bin\perl -version
To Check version:
set ORACLE_HOME=D:\ORACLE\1970
%ORACLE_HOME%\perl\bin\perl -version
%ORACLE_HOME%\perl\bin\perl -version
cd /d %ORACLE_HOME%\jdk\bin
java -version
Apply July 2020 - 19.8.0.0.0.200714 DB Patch 31247621
CD /D D:\stage\31247621
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
When prompted – enter Y to proceed and any other prompts as required – Allow the patch to complete without errors.
Patch Database
Set DB Home
Set Environment
Set Instance Startup Manual
Start DB Service for Listener / Instance
Check Current Patch versions
Apply Oracle 19.x Current Patch
Post Apply - Restart Database
Run UTLRP to recompile
Upgrade Timezone (Mandatory)
Re Verify patches Applied
Granting Java permission ON sun.misc classes TO OPERA AND SYNONYM schemas (OPTIONAL)
Update ANYDATASET
Resource Plan Scheduler
Modify Stats
Revert ini / spfile Changes
Instance Startup AUTO
Restart services and validate
Modify INIT / SPFILE Parameters
Other Services
If your ORACLE_HOME is different - ensure you have the correct value set
If your ORACLE_SID is different - ensure you have the correct value set
If you have a separate instance for OPERA and INFRA make sure to APPLY the patches to BOTH OPERA and INFRA
databases by setting the set ORACLE_SID=OPERA or set ORACLE_SID=INFRA
Make sure to modify INIT / SPFILE parameters BEFORE upgrade to avoid issues.
Set DB Home
Warning
When Patching Make sure to use the correct ORACLE_HOME and ORACLE_SID wherever and whenever required.
set ORACLE_HOME=D:\ORACLE\1970
set ORACLE_SID=opera
Make sure the WINDOWS PATH also includes the following AS FIRST ENTRY
D:\ORACLE\1970\bin;D:\ORACLE\1970\perl\bin
Also ensure the BELOW variables are NOT Set in WINDOWS Environment variables
PERL5LIB
perlpath
Set Environment
If opening a new command window open CMD.prompt (as admin) and use BELOW Environment variables and stick to that window
set ORACLE_BASE=d:\oracle
set ORACLE_HOME=D:\ORACLE\1970
set ORACLE_SID=opera
set PERL5LIB=
set perlpath=
set PATH=%ORACLE_HOME%;%ORACLE_HOME%\bin;%ORACLE_HOME%\perl\bin;%PATH%
cd /D %ORACLE_HOME%\rdbms\admin
Depending on Which ENV is being upgraded Make sure to set ORACLE_HOME and ORACLE_SID before connect as SYS
cd /D %ORACLE_HOME%\rdbms\admin
sqlplus / as sysdba
startup upgrade
Exit from SQLPLUS - But Keep the CMD window open as we need the Environment variables set earlier.
D:\ORACLE\1970\perl\bin
Also ensure the BELOW variables are NOT Set in Environment variables
PERL5LIB
perlpath
Depending on Which ENV is being upgraded Make sure to set ORACLE_HOME and ORACLE_SID before connect as SYS
cd /D %ORACLE_HOME%\opatch
datapatch -prereq
cd /D %ORACLE_HOME%\opatch
datapatch -verbose
As always, review the upgrade logs for any typical errors. and also ensure the patches that were applied in binaries have been applied to the
database.
Known Issue
Doc Ref: 19.x:datapatch failed with 'ORA-13516: AWR Operation failed: CATPROC not valid ' (Doc ID 2922690.1)
Issue (1)
SQL Patching tool version 19.18.0.0.0 Production on Thu Mar 9 13:12:22 2023
Copyright (c) 2012, 2023, Oracle. All rights reserved.
Installing patches...
Patch installation complete. Total patches installed: 3
Validating logfiles...done
Patch 34411846 rollback: SUCCESS
logfile: D:\Oracle\cfgtoollogs\sqlpatch\34411846\24997534/34411846_rollback_OPERA_2023Mar09_13_20_45.
log (no errors)
Patch 34750795 apply: WITH ERRORS
logfile: D:\Oracle\cfgtoollogs\sqlpatch\34750795\25040762/34750795_apply_OPERA_2023Mar09_13_24_30.log
(errors)
-> Error at line 45033: script rdbms/admin/backport_files/bug_33527739_apply.sql
- ORA-13516: AWR Operation failed: CATPROC not valid
- ORA-06512: at "SYS.DBMS_WORKLOAD_REPOSITORY", line 328
- ORA-06512: at "SYS.DBMS_WORKLOAD_REPOSITORY", line 355
- ORA-06512: at line 12
Patch 34786990 apply: WITH ERRORS (PREV PATCH)
logfile: D:\Oracle\cfgtoollogs\sqlpatch\34786990\25141362/34786990_apply_OPERA_2023Mar09_13_24_30.log
(no errors)
Installing patches...
Patch installation complete. Total patches installed: 2
Validating logfiles...done
Patch 34750795 apply: WITH ERRORS
logfile: D:\Oracle\cfgtoollogs\sqlpatch\34750795\25040762/34750795_apply_OPERA_2023Mar09_13_26_59.log
(errors)
-> Error at line 45033: script rdbms/admin/backport_files/bug_33527739_apply.sql
- ORA-13516: AWR Operation failed: CATPROC not valid
- ORA-06512: at "SYS.DBMS_WORKLOAD_REPOSITORY", line 328
- ORA-06512: at "SYS.DBMS_WORKLOAD_REPOSITORY", line 355
- ORA-06512: at line 12
Patch 34786990 apply: WITH ERRORS (PREV PATCH)
logfile: D:\Oracle\cfgtoollogs\sqlpatch\34786990\25141362/34786990_apply_OPERA_2023Mar09_13_26_58.log
(no errors)
Issue (2)
For some customers following error is observed after applying patch 35012866 ,which can be resolved by
rerun of the datapatch
Cause:
Issue is due to database started up in upgrade or restricted mode .At the moment ,issue is triaged
under unpublished Bug 35012866 - BUG_33527739_APPLY.SQL GOT ORA-13516: AWR OPERATION FAILED: CATPROC
NOT VALID
Sample AWR API script creation to check AWR is fine or not also failed with errors .
*
ERROR at line 1:
ORA-13516: AWR Operation failed: CATPROC not valid
ORA-06512: at "SYS.DBMS_WORKLOAD_REPOSITORY", line 99
ORA-06512: at "SYS.DBMS_WORKLOAD_REPOSITORY", line 145
ORA-06512: at line 1
Solution/Workaround
Solution : Patch 35012866 (Linux only for now) can be applied on oracle home to fix this issue and datapatch can be run in database
started in upgrade mode as well.
Workaround is to start the database in normal mode and re-run of datapatch .Development provided fix for the same for next CPU
shutdown immediate
startup
exec dbms_workload_repository.create_snapshot();
open CMD.exe
cd /d %ORACLE_HOME%\opatch
datapatch -verbose
exec dbms_workload_repository.create_snapshot();
Output as seen:
cd /d D:\Oracle\1970\opatch
D:\Oracle\1970\opatch>datapatch -verbose
D:\Oracle\1970\OPatch>datapatch -verbose
SQL Patching tool version 19.18.0.0.0 Production on Thu Mar 9 08:44:38 2023
Copyright (c) 2012, 2023, Oracle. All rights reserved.
Connecting to database...OK
Gathering database info...done
Bootstrapping registry and package to current versions...done
Determining current state...done
Installing patches...
Patch installation complete. Total patches installed: 2
Validating logfiles...done
Patch 34750795 apply: SUCCESS
logfile: D:\Oracle\cfgtoollogs\sqlpatch\34750795\25040762/34750795_apply_OPERA_2023Mar09_08_59_15.log
(no errors)
Patch 34786990 apply: SUCCESS
logfile: D:\Oracle\cfgtoollogs\sqlpatch\34786990\25141362/34786990_apply_OPERA_2023Mar09_08_59_13.log
(no errors)
SQL Patching tool complete on Thu Mar 9 09:03:54 2023
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.18.0.0.0
Solution / Workaround
-- connect to SYS
cd /d %ORACLE_HOME%\opatch
datapatch -verbose
Issue noted when Datapatch -verbose Rollback of Default Media V1001407-01 OJVM April 2020 - Patch 30805684 rollback to apply
July 2021 OJVM patch
cd /d %ORACLE_HOME%\opatch
datapatch -verbose
D:\Oracle\1970\opatch>datapatch -verbose
SQL Patching tool version 19.13.0.0.0 Production on Thu Nov 25 10:23:13 2021
Copyright (c) 2012, 2021, Oracle. All rights reserved.
Connecting to database...OK
Gathering database info...done
Bootstrapping registry and package to current versions...done
Determining current state...done
Installing patches...
Patch installation complete. Total patches installed: 1
Validating logfiles...done
Patch 30805684 rollback: SUCCESS
logfile: D:\Oracle\cfgtoollogs\sqlpatch\30805684\23504850/30805684_rollback_OPERA_2021Nov25_10_27_53.
log (no errors)
SQL Patching tool complete on Thu Nov 25 10:27:54 2021
cd /D %ORACLE_HOME%\opatch
datapatch -verbose
sqlplus / as sysdba
shutdown immediate
startup
@?\rdbms\admin\utlrp.sql
IMPORTANT
THE TIMEZONE PATCHES ARE INCLUDED IN DATABASE BUNDLE PATCH SINCE JANUARY 2023
YOU MUST UPGRADE THE DATABASE TIMEZONE WHEN UPGRADING THE DATABASE
References
Important Notification
Download Patches
Workaround / Solution to TZ Hanging
STARTING JAN 2024 THIS WORKAROUND SHOULD NO LONGER BE REQUIRED - BUT PROVIDED BELOW IN CASE REQUIRED
Set Environment
Check Current Time Patch Applied DB Home
Check Current Time Zone File Version In DB Home
Check Time Zone Details in Database Registry
Upgrade OPATCH (Latest)
Apply Timezone Patch 36260493 RDBMS - DSTV43 UPDATE - TZDATA2024A
Apply Timezone OJVM FIX Patch 36260537 DSTV43 UPDATE - TZDATA2024A - NEED OJVM FIX
Check Current Time Patch Applied DB Home
Check Current Time Zone Version (In DB Home)
Startup the Database in UPGRADE Mode
Validate of the Latest File version from DB registry picked up from DB Home
Validate of the Latest Filezone file version from DB Home
Check Current Time Zone Version
Upgrade Timezone in Database
Check Current Time Zone Version
Post Tasks For OJVM
Timezone Upgrade Complete
References
Updating the RDBMS DST version in 12c Release 1 (12.1.0.1 ) and above using DBMS_DST (Doc ID 1509653.1)
Updating the RDBMS DST version in 11g Release 2 (11.2.0.1 and up) using DBMS_DST (Doc ID 977512.1)
Upgrading the Time Zone File and Timestamp with Time Zone Data / Globalization Methods to Upgrade the Time Zone File and Timestamp with Time
Zone Data (18c and above)
Updated DST Transitions and New Time Zones in Oracle RDBMS and OJVM Time Zone File Patches (Doc ID 412160.1)
Oracle 19c - Complete Checklist for Manual Upgrades to Non-CDB Oracle Database 19c (Doc ID 2539778.1)
Upgrading the Time Zone File and Timestamp with Time Zone Data
A complete overview of timezone updates is found in Note 412160.1 Updated DST Transitions and New Time Zones in Oracle RDBMS and OJVM Time
Zone File Patches.
check section C.1.a) If you upgrade to 10.2.0.4, 10.2.0.5, 11.1.0.6, 11.1.0.7 , 11.2.0.1, 11.2.0.2 ,11.2.0.3 , 11.2.0.4 , 12.1.0.1 or 12.1.0.2,18.x, 19.x please
see:
If the Pre-Upgrade Information Tool instructed you to upgrade the time zone files after completing the database upgrade, then use the DBMS_DST PL
/SQL package to update the RDBMS DST (timezone) version.
Applying the DSTv43 update for the Oracle Database (Doc ID 3002390.1)
Important Notification
IMPORTANT
THE TIMEZONE PATCHES ARE INCLUDED IN DATABASE BUNDLE PATCH SINCE JANUARY 2023
YOU MUST UPGRADE THE DATABASE TIMEZONE WHEN UPGRADING THE DATABASE
Download Patches
6880880 x64 Bit OPatch 12.2.0.1.42 for DB 19.0.0.0.0 (Apr 2024 or later) Use Latest
36260493 x64 Bit RDBMS - DSTV43 UPDATE - TZDATA2024A Already included in DB Bundle Patch from APR 2024
36260537 x64 Bit DSTV43 UPDATE - TZDATA2024A - NEED OJVM FIX Already included in OJVM Bundle Patch from JUL 2024
STARTING JAN 2024 THIS WORKAROUND SHOULD NO LONGER BE REQUIRED - BUT PROVIDED
BELOW IN CASE REQUIRED
There have been issues where the CHECK or APPLY phase just hangs on 19c and seem to do Nothing
DBMST_Utltz-Media_files-CPU-APR-2024-TZ43.zip
Set Environment
set ORACLE_BASE=d:\oracle
set ORACLE_HOME=D:\ORACLE\1970
set ORACLE_SID=opera
set PERL5LIB=
set perlpath=
set PATH=D:\ORACLE\1970\bin;D:\ORACLE\1970\perl\bin;%PATH%
cd /D %ORACLE_HOME%\rdbms\admin
%ORACLE_HOME%\opatch\opatch version
%ORACLE_HOME%\opatch\Opatch lspatches
will display the OPATCH Version and List of apatches applied to DB Home (May differ)
cd /d %ORACLE_HOME%\oracore\zoneinfo
dir *43*.dat
Important : Make a note of the Last timezone***.dat and timezlrg***.dat files existing in the folder
IMPORTANT
IMPORTANT
set oracle_home=d:\oracle\1970
CD /D %ORACLE_HOME%\bin
%ORACLE_HOME%\opatch\opatch version
set oracle_home=d:\oracle\1970
CD /D %ORACLE_HOME%\bin
%ORACLE_HOME%\opatch\opatch version
Important - If the ABOVE output Shows the TIMEZONE Patch Has been applied no need to do this step
cd /d d:\stage\36260493_19
Apply Timezone OJVM FIX Patch 36260537 DSTV43 UPDATE - TZDATA2024A - NEED OJVM FIX
Important - If the ABOVE output Shows the TIMEZONE OJVMFIX Patch Has been applied no need to do this step
cd /d d:\stage\36260537
%ORACLE_HOME%\opatch\opatch version
%ORACLE_HOME%\opatch\Opatch lspatches
will display the OPATCH Version and List of apatches applied to DB Home (May differ)
will display if PATCH 36260493 and PATCH 36260537 have been applied to DB Home
cd /d %ORACLE_HOME%\oracore\zoneinfo
dir *43*.dat
Check the timezone_43.dat and timezlrg_43.dat files existing in the folder
cd /d %ORACLE_HOME%\rdbms\admin
sqlplus / as sysdba
shutdown immediate
startup upgrade
Validate of the Latest File version from DB registry picked up from DB Home
Important - The OUTPUT should show the version of the TIMEZONE Patch you are applying - in this case TIMEZONE 42 is showing
1. If above query DOES not reflect the NEW current version of the Timezone being upgraded - DO NOT PROCEED.
cd /d %ORACLE_HOME%\oracore\zoneinfo
dir *43*.dat
1. Check the latest Timezone files exist in %oracle_home%\oracore\zoneinfo
2. There WILL be two NEW files - If they don't exist in %oracle_home%\oracore\zoneinfo - DO NOT PROCEED.
a. timezlrg_43.dat
b. timezone_43.dat
IMPORTANT
IMPORTANT
sqlplus / as sysdba
purge dba_recyclebin;
exec dbms_scheduler.purge_log;
exec dbms_stats.alter_stats_history_retention(7);
@%ORACLE_HOME%\rdbms\admin\utltz_countstats.sql
@%ORACLE_HOME%\rdbms\admin\utltz_countstar.sql
@%ORACLE_HOME%\rdbms\admin\utltz_upg_check.sql
@%ORACLE_HOME%\rdbms\admin\utltz_upg_apply.sql
exec dbms_stats.alter_stats_history_retention(31);
@?/javavm/admin/fixTZa.sql
IMPORTANT
IF YOU SEE BELOW OUTPUT - NO NEED TO APPLY fixTZb IN THE NEXT STEP
########################################################
Bug is not present. Patch not needed.
########################################################
IMPORTANT
IMPORTANT
IF YOU SEE BELOW OUTPUT - YOU MUST APPLY fixTZb IN THE NEXT STEP
########################################################
Bug is in fact present, so this patch is needed
Proceed by restarting the database and running script
fixTZb
########################################################
note that the "FAILED " messages are normal and part of the patching process and not an error/problem
If the output say to run fixTZb (it almost always will) then do:
Apply fixTZb
See example below - it is important to review output and then apply the next step if required
shutdown immediate
startup migrate
@?/javavm/admin/fixTZb.sql
shutdown immediate
startup
Java created.
No errors.
Java altered.
No errors.
Package created.
No errors.
No errors.
Call completed.
########################################################
Bug is in fact present, so this patch is needed
Proceed by restarting the database and running script
fixTZb
########################################################
note that the "FAILED " messages are normal and part of the patching process and not an error/problem
If the output say to run fixTZb (it almost always will) then do:
Call completed.
References
Important Notification
Download Patches
Workaround / Solution to TZ Hanging
STARTING JAN 2024 THIS WORKAROUND SHOULD NO LONGER BE REQUIRED - BUT PROVIDED BELOW IN CASE REQUIRED
Set Environment
Check Current Time Zone File Version In DB Home
Check Time Zone Details in Database Registry
Upgrade OPATCH (Latest)
Apply Timezone Patch 35220732 RDBMS - DSTV42 UPDATE - TZDATA2023C
Apply Timezone OJVM Patch 35239280 DSTV42 UPDATE - TZDATA2023E - NEED OJVM FIX
Check Patches applied
Check Current Time Zone Version (In DB Home)
Startup the Database in UPGRADE Mode
Validate of the Latest File version from DB registry picked up from DB Home
Validate of the Latest Filezone file version from DB Home
Check Current Time Zone Version
Upgrade Timezone in Database
Check Current Time Zone Version
Post Tasks For OJVM
Timezone Upgrade Complete
References
Updating the RDBMS DST version in 12c Release 1 (12.1.0.1 ) and above using DBMS_DST (Doc ID 1509653.1)
Updating the RDBMS DST version in 11g Release 2 (11.2.0.1 and up) using DBMS_DST (Doc ID 977512.1)
Upgrading the Time Zone File and Timestamp with Time Zone Data / Globalization Methods to Upgrade the Time Zone File and Timestamp with Time
Zone Data (18c and above)
Oracle 19c - Complete Checklist for Manual Upgrades to Non-CDB Oracle Database 19c (Doc ID 2539778.1)
Upgrading the Time Zone File and Timestamp with Time Zone Data
A complete overview of timezone updates is found in Note 412160.1 Updated DST Transitions and New Time Zones in Oracle RDBMS and OJVM Time
Zone File Patches.
check section C.1.a) If you upgrade to 10.2.0.4, 10.2.0.5, 11.1.0.6, 11.1.0.7 , 11.2.0.1, 11.2.0.2 ,11.2.0.3 , 11.2.0.4 , 12.1.0.1 or 12.1.0.2,18.x, 19.x please
see:
Applying the DSTv42 update for the Oracle Database (Doc ID 2941491.1)
If the Pre-Upgrade Information Tool instructed you to upgrade the time zone files after completing the database upgrade, then use the DBMS_DST PL
/SQL package to update the RDBMS DST (timezone) version.
Applying the DSTv42 update for the Oracle Database (Doc ID 2941491.1)
Important Notification
IMPORTANT
THE TIMEZONE PATCHES ARE INCLUDED IN DATABASE BUNDLE PATCH SINCE JANUARY 2023
YOU MUST UPGRADE THE DATABASE TIMEZONE WHEN UPGRADING THE DATABASE
Download Patches
6880880 x64 Bit OPatch 12.2.0.1.42 for DB 19.0.0.0.0 (Apr 2024 or later) Use Latest
35220732 x64 Bit RDBMS - DSTV42 UPDATE - TZDATA2023C Already included in DB Bundle Patch since JAN 2023
35239280 DSTV42 UPDATE - TZDATA2023C - NEED OJVM FIX NOT included in DB Bundle Patch
STARTING JAN 2024 THIS WORKAROUND SHOULD NO LONGER BE REQUIRED - BUT PROVIDED
BELOW IN CASE REQUIRED
There have been issues where the CHECK or APPLY phase just hangs on 19c and seem to do Nothing
DBMST_Utltz-Media_files-CPU-JAN-2024-TZ42.zip
Set Environment
set ORACLE_BASE=d:\oracle
set ORACLE_HOME=D:\ORACLE\1970
set ORACLE_SID=opera
set PERL5LIB=
set perlpath=
set PATH=D:\ORACLE\1970\bin;D:\ORACLE\1970\perl\bin;%PATH%
cd /D %ORACLE_HOME%\rdbms\admin
cd /d %ORACLE_HOME%\oracore\zoneinfo
dir timezone*.dat
dir timezlrg*.dat
Important : Make a note of the Last timezone***.dat and timezlrg***.dat files existing in the folder
IMPORTANT
IMPORTANT
set oracle_home=d:\oracle\1970
CD /D %ORACLE_HOME%\bin
%ORACLE_HOME%\opatch\opatch version
set oracle_home=d:\oracle\1970
CD /D %ORACLE_HOME%\bin
%ORACLE_HOME%\opatch\opatch version
cd /d d:\stage\35220732
-- Check if applied
%oracle_home%\opatch\opatch lsinventory | findstr "35220732"
Apply Timezone OJVM Patch 35239280 DSTV42 UPDATE - TZDATA2023E - NEED OJVM FIX
Important - If the ABOVE output Shows the TIMEZONE Patch Has been applied no need to do this step
cd /d d:\stage\35239280
-- Check if applied
%oracle_home%\opatch\opatch lspatches | findstr "35239280"
cd /d %ORACLE_HOME%\opatch
%ORACLE_HOME%\opatch\Opatch version
cd /d %ORACLE_HOME%\oracore\zoneinfo
dir timezone*.dat
dir timezlrg*.dat
sqlplus / as sysdba
shutdown immediate
startup upgrade
Validate of the Latest File version from DB registry picked up from DB Home
Important - The OUTPUT should show the version of the TIMEZONE Patch you are applying - in this case TIMEZONE 42 is showing
set oracle_home=d:\oracle\1970
dir %oracle_home%\oracore\zoneinfo\*42.dat
IMPORTANT
IMPORTANT
sqlplus / as sysdba
spool d:\stage\utltz_upg_check.log
-- Purge recyclebin
purge dba_recyclebin;
-- Stop the main jobs before running this command as it may not delete all the data from the DBMS_SCHEDULER
table, if some of the main jobs in a chain of jobs are still running.
exec dbms_scheduler.purge_log;
-- Upgrade the Time Zone File Version After Upgrading Oracle Database
-- Script to gives how much TIMESTAMP WITH TIME ZONE data there is in a database using stats info. No restart
required.
@%ORACLE_HOME%\rdbms\admin\utltz_countstats.sql
-- Script to approximate how much TIMESTAMP WITH TIME ZONE data there is in a database using a COUNT(*) for
each table that has a TSTZ column.
-- This script is useful when using DBMS_DST package or the scripts of utlz_upg_check.sql and utlz_upg_apply.
sql scripts.
@%ORACLE_HOME%\rdbms\admin\utltz_countstar.sql
--Time zone apply script. Warning: This script will restart the database and adjust time zone data
@%ORACLE_HOME%\rdbms\admin\utltz_upg_apply.sql
-- You may set the data retention period back to its original value using the following command once the time
zone data upgrade is completed:
exec dbms_stats.alter_stats_history_retention(31);
spool off
@?/javavm/admin/fixTZa.sql
IMPORTANT
IF YOU SEE BELOW OUTPUT - NO NEED TO APPLY fixTZb IN THE NEXT STEP
########################################################
Bug is not present. Patch not needed.
########################################################
IMPORTANT
IMPORTANT
IF YOU SEE BELOW OUTPUT - YOU MUST APPLY fixTZb IN THE NEXT STEP
########################################################
Bug is in fact present, so this patch is needed
Proceed by restarting the database and running script
fixTZb
########################################################
note that the "FAILED " messages are normal and part of the patching process and not an error/problem
If the output say to run fixTZb (it almost always will) then do:
Apply fixTZb
See example below - it is important to review output and then apply the next step if required
shutdown immediate
startup migrate
@?/javavm/admin/fixTZb.sql
shutdown immediate
startup
Java created.
No errors.
Java altered.
No errors.
Package created.
No errors.
No errors.
Call completed.
########################################################
Bug is in fact present, so this patch is needed
Proceed by restarting the database and running script
fixTZb
########################################################
note that the "FAILED " messages are normal and part of the patching process and not an error/problem
If the output say to run fixTZb (it almost always will) then do:
Call completed.
Verify your PATCH numbers exist in below output - Shows all patches APPLIED in last 24 Hrs
Granting Java permission ON sun.misc classes TO OPERA AND SYNONYM schemas (OPTION
AL)
Applicable ONLY if OPERA Database is being Patched
BEGIN
FOR rec IN (
SELECT OWNER AS grantee
,object_type
FROM dba_objects
WHERE object_name = 'PMS_P'
AND object_type = 'PACKAGE'
ORDER BY 1
)
LOOP dbms_java.grant_permission(rec.grantee, 'SYS:java.security.SecurityPermission', 'sun.misc.
BASE64Decoder', '');
dbms_java.grant_permission(rec.grantee, 'SYS:java.security.SecurityPermission', 'sun.misc.
BASE64Encoder', '');
EXECUTE IMMEDIATE 'begin ' || rec.grantee || '.register_sql_script(''v520150107_osg_java_perm.
sql''); end;';
END LOOP;
END;
/
Update ANYDATASET
select instance_name from v$instance;
@?/rdbms/admin/utlrp.sql
Resource Plan Scheduler
select instance_name from v$instance;
execute dbms_scheduler.set_attribute('WEEKNIGHT_WINDOW','RESOURCE_PLAN','');
execute dbms_scheduler.set_attribute('WEEKEND_WINDOW','RESOURCE_PLAN','');
execute dbms_scheduler.set_attribute('MONDAY_WINDOW','RESOURCE_PLAN','');
execute dbms_scheduler.set_attribute('TUESDAY_WINDOW','RESOURCE_PLAN','');
execute dbms_scheduler.set_attribute('WEDNESDAY_WINDOW','RESOURCE_PLAN','');
execute dbms_scheduler.set_attribute('THURSDAY_WINDOW','RESOURCE_PLAN','');
execute dbms_scheduler.set_attribute('FRIDAY_WINDOW','RESOURCE_PLAN','');
execute dbms_scheduler.set_attribute('SATURDAY_WINDOW','RESOURCE_PLAN','');
execute dbms_scheduler.set_attribute('SUNDAY_WINDOW','RESOURCE_PLAN','');
COMMIT;
Modify Stats
select instance_name from v$instance;
If below parameters were disabled BEFORE If below parameters were disabled BEFORE upgrade - re enable them.
upgrade - re enable them.
deferred_segment_creation=false # for using exp/imp
*._optim_peek_user_binds=FALSE plsql_optimize_level=1 # fix for plsql table to return correct
*.plsql_optimize_level=1 results, pending Oracle bug fix
*.deferred_segment_creation=FALSE _optim_peek_user_binds=FALSE
_kill_enqueue_blocker=1
_optimizer_complex_pred_selectivity=false
_enable_shared_pool_durations=FALSE
Other Parameters
job_queue_processes=64
aq_tm_processes=1
Compatible=19.0.0
shared_pool_reserved_size = 6553600
sqlplus / as sysdba
shutdown immediate
If below parameters were disabled BEFORE If below parameters were disabled BEFORE upgrade - re enable them.
upgrade - re enable them.
deferred_segment_creation=false # for using exp/imp
*._optim_peek_user_binds=FALSE plsql_optimize_level=1 # fix for plsql table to return correct
*.plsql_optimize_level=1 results, pending Oracle bug fix
*.deferred_segment_creation=FALSE _optim_peek_user_binds=FALSE
_kill_enqueue_blocker=1
_optimizer_complex_pred_selectivity=false
_enable_shared_pool_durations=FALSE
Other Services
Start the Windows Management Instrumentation again if desired.
Open SQLPLUS and ensure you can connect to the Database successfully.