The DBA Registry SQL Patch report tracks the history of SQL patches applied to the database. In modern Oracle versions (12c+), binary patches (applied via opatch) often require a post-install SQL step (applied via datapatch). This report confirms that the SQL portion of the patch was applied successfully.
- Patch Verification: "The binary patch is installed, but did the
datapatchutility run successfully?" - Audit Trail: "When was the 'Release Update 19.18' applied to this database?"
- Troubleshooting: "Why are we seeing errors related to a patch that was supposed to be fixed?" (Maybe the SQL step failed).
This report queries DBA_REGISTRY_SQLPATCH.
Key Features:
- Patch ID: The Oracle bug number associated with the patch.
- Action:
APPLYorROLLBACK. - Status:
SUCCESSorWITH ERRORS. - Description: A brief description of what the patch fixes.
The report queries DBA_REGISTRY_SQLPATCH.
Key Tables:
DBA_REGISTRY_SQLPATCH: The inventory of SQL patches.
- Compliance: Proves that security patches have been fully implemented (both binary and SQL).
- Stability: Prevents "half-patched" states where the binaries are new but the data dictionary is old.
- Version Control: Provides a clear timeline of database software changes.