My Oracle Support Banner

Can Folders/Files under $ORACLE_HOME/sqlpatch/<DB RU Patch Number> be deleted to regain free space? (Doc ID 3031826.1)

Last updated on JULY 16, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 19.15.0.0.0 and later
Information in this document applies to any platform.

Goal

Can Folders/Files under $ORACLE_HOME/sqlpatch/<DB RU Patch Number> be deleted to regain free space?

For eg -
$ORACLE_HOME/sqlpatch/33515361/24589353/33515361_rollback.sql
$ORACLE_HOME/sqlpatch/33515361/24589353/33515361.xml
$ORACLE_HOME/sqlpatch/33515361/24589353/33515361_apply.sql
$ORACLE_HOME/sqlpatch/33515361/24589353/rollback_files/19.1.0.0.0/rdbms/admin/catappcontainer.sql
$ORACLE_HOME/sqlpatch/33515361/24589353/rollback_files/19.1.0.0.0/rdbms/admin/prvtwrr.plb
$ORACLE_HOME/sqlpatch/33515361/24589353/rollback_files/19.1.0.0.0/rdbms/admin/prvtaqxe.plb
$ORACLE_HOME/sqlpatch/33515361/24589353/rollback_files/19.1.0.0.0/rdbms/admin/prvsash.plb
$ORACLE_HOME/sqlpatch/33515361/24589353/rollback_files/19.1.0.0.0/rdbms/admin/prvtash.plb
$ORACLE_HOME/sqlpatch/33515361/24589353/rollback_files/19.1.0.0.0/rdbms/admin/prvthdm.plb
$ORACLE_HOME/sqlpatch/33515361/24589353/rollback_files/19.1.0.0.0/rdbms/admin/catadv.sql
$ORACLE_HOME/sqlpatch/33515361/24589353/rollback_files/19.1.0.0.0/rdbms/admin/dbmsrman.sql
$ORACLE_HOME/sqlpatch/33515361/24589353/rollback_files/19.1.0.0.0/rdbms/admin/prvtsqlu.plb
$ORACLE_HOME/sqlpatch/33515361/24589353/rollback_files/19.1.0.0.0/rdbms/admin/dbmssqlt.sql
$ORACLE_HOME/sqlpatch/33515361/24589353/rollback_files/19.1.0.0.0/rdbms/admin/dbmssqlu.sql
..............
$ORACLE_HOME/sqlpatch/34765931/25098466/rollback_files/19.17.0.0.0-RU-Release_Update-220924224051/rdbms/admin/prvtlmsb.plb
$ORACLE_HOME/sqlpatch/34765931/25098466/rollback_files/19.17.0.0.0-RU-Release_Update-220924224051/rdbms/admin/cdhcs.sql
$ORACLE_HOME/sqlpatch/34765931/25098466/rollback_files/19.17.0.0.0-RU-Release_Update-220924224051/rdbms/admin/dbmshier.sql
$ORACLE_HOME/sqlpatch/34765931/25098466/rollback_files/19.17.0.0.0-RU-Release_Update-220924224051/rdbms/admin/prvthier.plb
$ORACLE_HOME/sqlpatch/34765931/25098466/rollback_files/19.17.0.0.0-RU-Release_Update-220924224051/rdbms/admin/catggshard.sql
$ORACLE_HOME/sqlpatch/34765931/25098466/rollback_files/19.17.0.0.0-RU-Release_Update-220924224051/rdbms/admin/dbmsstr.sql
$ORACLE_HOME/sqlpatch/34765931/25098466/rollback_files/19.17.0.0.0-RU-Release_Update-220924224051/rdbms/admin/dbmslcr.sql
$ORACLE_HOME/sqlpatch/34765931/25098466/rollback_files/19.17.0.0.0-RU-Release_Update-220924224051/rdbms/admin/dbmssts.sql
$ORACLE_HOME/sqlpatch/34765931/25098466/rollback_files/19.17.0.0.0-RU-Release_Update-220924224051/rdbms/admin/dbmsapp.sql
$ORACLE_HOME/sqlpatch/34765931/25098466/rollback_files/19.17.0.0.0-RU-Release_Update-220924224051/rdbms/admin/dbmscap.sql
$ORACLE_HOME/sqlpatch/34765931/25098466/rollback_files/19.17.0.0.0-RU-Release_Update-220924224051/rdbms/admin/dbmsprp.sql
$ORACLE_HOME/sqlpatch/34765931/25098466/rollback_files/19.17.0.0.0-RU-Release_Update-220924224051/rdbms/admin/dbmsfgr.sql

The $ORACLE_HOME/sqlpatch Folder and it's contents occupy huge space (~4GB) over a period of time , applying RUs. 

[root@test ~]# du -sm $ORACLE_HOME/sqlpatch
4073 <ORACLE_HOME>/sqlpatch

 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.