Oracle Database patching is an essential activity for maintaining database stability, security, and reliability. Oracle regularly releases Database Monthly Recommended Patches (MRPs) to deliver cumulative fixes and improvements to supported database environments.
In this article, we explore Oracle Database Patch 40196156 – DATABASE MRP 19.33.0.0.261117, including its prerequisites, installation procedure, OPatch commands, Datapatch execution, and practical observations from an Oracle Database 19c patching activity performed on 23 November 2026.
The article also walks through the actual patching commands and validation output from a Linux x86-64 Oracle Database environment.
1. Understanding Oracle Database MRP 19.33.0.0.261117
Patch Number: 40196156
Patch Description: DATABASE MRP 19.33.0.0.261117
Database Version: Oracle Database 19c
Platform: Linux x86-64
Patch Type: Database Monthly Recommended Patch
The Database Monthly Recommended Patch (MRP) is cumulative. This means that the latest MRP includes the contents of previous MRPs.
According to the patch README, this MRP is intended for an Oracle Database home with Release Update 19.32.0.0.260721.
The patch is also documented as:
- Applicable to Oracle Database Home.
- Oracle RAC Rolling Installable.
- Data Guard Standby-First Installable.
- Supporting online installation for eligible patch components.
Important: Always verify the supported base RU and the patch README before applying an MRP. Do not assume that a newer RU is automatically a supported installation base.
2. Environment and Existing Patch Inventory
Before starting the installation, the existing Oracle environment was checked to understand the currently installed patches.
Check OPatch version
$ORACLE_HOME/OPatch/opatch version
Output:
OPatch Version: 12.2.0.1.52
OPatch succeeded.
The installed OPatch version was 12.2.0.1.52, which meets the MRP prerequisite of OPatch 12.2.0.1.52 or later.
Check currently installed patches
$ORACLE_HOME/OPatch/opatch lspatches
Existing patch inventory:
| Patch ID | Description |
|---|---|
| 39922783 | OCW RELEASE UPDATE 19.33.0.0.0 |
| 39915792 | Database Release Update 19.33.0.0.261020 |
| 39222882 | OJVM Release Update 19.32.0.0.260721 |
This inventory provides an important baseline for identifying existing database patches and potential conflicts.
Check detailed inventory
$ORACLE_HOME/OPatch/opatch lsinventory -detail
This command provides detailed information about the Oracle Home, installed components, patch history, and Oracle inventory.
3. Pre-Patching Preparation
Before applying the MRP, the following activities should be completed.
- Verify the Oracle Database version and installed Release Update.
- Confirm the OPatch version is 12.2.0.1.52 or later.
- Review the patch README and supported installation base.
- Check available filesystem space.
- Take a valid RMAN backup and ensure recovery procedures are available.
- Check database, listener, and application dependencies.
- Review existing interim patches and potential conflicts.
- Plan the maintenance window and application downtime.
- Confirm the database and PDB states.
- Prepare a rollback and recovery plan.
Check patch conflicts
Before installation, execute the OPatch conflict prerequisite check.
$ORACLE_HOME/OPatch/opatch prereq \
CheckConflictAgainstOHWithDetail \
-ph /u01/patch/40196156
In this implementation, the prerequisite check completed successfully:
Invoking prereq "checkconflictagainstohwithdetail"
Prereq "checkConflictAgainstOHWithDetail" passed.
OPatch succeeded.
This confirms that the tested conflict prerequisite passed against the selected Oracle Home. It does not replace the remaining installation prerequisites.
4. Applying Oracle Database MRP 40196156
The recommended installation approach documented by Oracle is to apply the complete MRP offline.
The high-level process is:
- Stop database instances, listeners, and other software running from the Oracle Home.
- Apply the MRP using OPatch napply.
- Restart database instances and listeners.
- Execute Datapatch against each database.
- Validate the patch inventory and SQL patch registry.
Step 1: Set Oracle environment
export ORACLE_HOME=/u01/app/oracle/product/19.0.0
export PATH=$ORACLE_HOME/OPatch:$ORACLE_HOME/bin:$PATH
Step 2: Navigate to the patch directory
cd /u01/patch/40196156
Step 3: Apply the MRP
$ORACLE_HOME/OPatch/opatch napply /u01/patch/40196156
During the installation, OPatch identified the following patch components:
33566299
40096495
40127726
40130806
40180925
The installation proceeded after the prerequisite checks passed and the Oracle Home was confirmed ready for patching.
Step 4: Review patch installation output
The following messages were observed:
Applying interim patch '33566299'
to OH '/u01/app/oracle/product/19.0.0'
Applying interim patch '40096495'
to OH '/u01/app/oracle/product/19.0.0'
Applying interim patch '40127726'
to OH '/u01/app/oracle/product/19.0.0'
Applying interim patch '40130806'
to OH '/u01/app/oracle/product/19.0.0'
Applying interim patch '40180925'
to OH '/u01/app/oracle/product/19.0.0'
Final installation output:
Patches 33566299,40096495,40127726,
40130806,40180925 successfully applied.
OPatch succeeded.
This confirms that the five reported interim patch components were successfully applied to the Oracle Home.
5. SQL Patching Sanity Checks
After applying the binary patches, the next important activity is to validate the database before executing Datapatch.
Oracle provides the Datapatch sanity-check functionality.
Execute:
$ORACLE_HOME/OPatch/datapatch -sanity_checks
The command performs several checks to identify potential issues before SQL patching.
Observed sanity-check results
| Validation | Result |
|---|---|
| Database component status | OK |
| PDB violations | OK |
| Invalid system objects | OK |
| Tablespace status | OK |
| Backup jobs | OK |
| Temp file exists | OK |
| Temp file online | OK |
| Data Pump running | OK |
| Container status | WARNING |
| Oracle Database Keystore | OK |
| Dictionary statistics | WARNING |
| Scheduled jobs | OK |
| GoldenGate triggers | OK |
| LogMiner DDL triggers | OK |
| Central inventory | OK |
| Java Virtual Machine | OK |
Understanding the warnings
Two warnings were reported during the sanity checks.
Warning 1: Container status
The sanity-check output identified a PDB that was not open:
NAME OPEN_MODE
PDB MOUNTED
Datapatch only processes containers in supported open states, including READ WRITE, MIGRATE, or READ ONLY.
Therefore, a mounted PDB will not participate in the SQL patching operation.
Before executing Datapatch, verify that all intended containers are in the appropriate state.
Warning 2: Dictionary statistics
The sanity checks also identified outdated data dictionary statistics.
The recommended commands were:
EXEC DBMS_STATS.GATHER_DICTIONARY_STATS;
EXEC DBMS_STATS.GATHER_FIXED_OBJECTS_STATS;
Gathering these statistics is an important database maintenance consideration, particularly when dictionary statistics have not been refreshed recently.
6. Execute Datapatch
Once the binary patching activity is complete and the database is available, execute Datapatch to process the SQL changes associated with the installed patches.
$ORACLE_HOME/OPatch/datapatch -verbose
In this implementation, Datapatch started successfully on 23 November 2026.
Initial output:
SQL Patching tool version 19.33.0.0.0
Connecting to database...OK
Gathering database info...done
Bootstrapping registry and package
to current versions...done
Determining current state...done
Review the existing SQL patch registry
Datapatch identified the existing OJVM patch:
Interim patch 39222882
OJVM RELEASE UPDATE:
19.32.0.0.260721
Binary registry: Installed
The existing 19.33 Release Update was also identified:
19.33.0.0.0 Release_Update
261009085306
The SQL patch registry reported that the Release Update had already been successfully applied to:
- CDB$ROOT
- PDB
- PDB$SEED
Datapatch installation queue
The final installation queue reported:
For the following PDBs:
CDB$ROOT PDB$SEED PDB
No interim patches need to be rolled back
No release update patches need to be installed
No interim patches need to be applied
Final output:
SQL Patching tool complete
Mon Nov 23 10:01:34 2026

This indicates that Datapatch completed successfully and did not identify any additional SQL patch operations for the containers included in that execution.
It is important to distinguish successful binary patch application from SQL patch registration. Both stages should be validated independently.
7. Post-Patching Validation
After patching, verify the Oracle Home inventory.
Check installed patches
$ORACLE_HOME/OPatch/opatch lspatches
Review the inventory for the newly applied patch IDs.
Check SQL patch registry
Connect to the database as SYSDBA:
SELECT
PATCH_ID,
PATCH_TYPE,
ACTION,
STATUS,
DESCRIPTION,
ACTION_TIME
FROM DBA_REGISTRY_SQLPATCH
ORDER BY ACTION_TIME DESC;
Review the output for the expected SQL patch records and their status.
Check database components
SELECT
COMP_ID,
COMP_NAME,
VERSION,
STATUS
FROM DBA_REGISTRY
ORDER BY COMP_ID;
Check invalid objects
SELECT
OWNER,
OBJECT_TYPE,
COUNT(*) AS INVALID_COUNT
FROM DBA_OBJECTS
WHERE STATUS = 'INVALID'
GROUP BY OWNER, OBJECT_TYPE
ORDER BY OWNER, OBJECT_TYPE;
Check PDB status
SELECT
NAME,
OPEN_MODE
FROM V$PDBS;
Ensure that all intended PDBs are open in the appropriate mode and have participated in the required SQL patching activity.
8. Important Considerations for RAC and Data Guard Environments
Oracle’s patch documentation identifies this MRP as RAC Rolling Installable and Data Guard Standby-First Installable.
Oracle RAC
For RAC environments, the documented offline installation approach can be performed one node at a time in a rolling manner, following the patch instructions and validating cluster availability.
Oracle Data Guard
The Standby-First approach provides an opportunity to apply the patch to the standby environment before applying it to the primary environment.
Refer to Oracle’s Patch Assurance documentation, MOS Doc ID 1265700.1, for the applicable Data Guard Standby-First procedure.
Always review the specific patch instructions and validate the compatibility of the primary and standby environments before proceeding.
9. Troubleshooting and Lessons Learned
The following observations were identified during this implementation:
| Observation | Explanation |
|---|---|
| OPatch conflict check passed | No conflict was reported by the executed prerequisite check |
| Binary patches applied successfully | Five interim patch components were successfully installed |
| PDB mounted warning | A PDB was not open for SQL patching during the sanity check |
| Dictionary statistics warning | Statistics were older than seven days |
| Datapatch completed | No additional SQL patch operations were queued for the participating containers |
One important operational lesson is that completing OPatch does not automatically mean that all database SQL patching activities have been completed.
DBAs should always validate the binary inventory, container states, and SQL patch registry separately.
10. Conclusion
Oracle Database MRP 19.33.0.0.261117 (Patch 40196156) provides a cumulative monthly recommended patching package for the supported Oracle Database 19c environment.
In this practical implementation, the OPatch conflict prerequisite check passed, five interim patch components were successfully applied, and Datapatch completed its execution.
The sanity checks also highlighted two important items requiring attention: a mounted PDB and outdated dictionary statistics.
A successful Oracle patching exercise should always include proper preparation, prerequisite validation, binary patch installation, SQL patch execution, and post-patching verification.
Remember: A successful OPatch execution is only one part of the database patching process. Always verify the final database state and SQL patch registry before declaring the maintenance activity complete.




