The purpose of this article is to highlight that failing to remove old PostgreSQL binaries can impact storage issues and It will affect the generation of new anomalies.
When upgrading UBA system from version 5.2.0 to 5.3.0, the older version of UBA likely contained PostgreSQL version 10.23. During the upgrade to UBA 5.3.0, PostgreSQL should also be upgraded to version 15.2.
In 20-node deployments, PostgreSQL runs on node 2. In all other deployment sizes, PostgreSQL runs on node 1.
UBA version 5.3.0 upgrades Postgres from version 10 to version 15. After validating that your upgrade is successful, you can safely remove Postgres 10 and reclaim space using the steps for your operating system.
sudo yum remove postgresql10-* -y
This step only removes the data directory of the old Postgres version /var/lib/pgsql/10/data. All of this data has been migrated to Postgres 15. Backup data and archives are not affected.
sudo /var/lib/pgsql/delete_old_cluster.sh
sudo dpkg -r --force-depends postgresql-10 postgresql-client-10
This step only removes the data directory of the old Postgres version /var/lib/postgresql/10/main. All of this data has been migrated to Postgres 15. Backup data and archives are not affected.
sudo /var/lib/postgresql/delete_old_cluster.sh
Reference: Documentation Link
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |