Re: Bloated pg_catalog.pg_largeobjects

2024-07-22 Thread Priancka Chatz
Vacuum Full will not help here if you have large objects present in the pg_largeobjects table but not being referred to by any table. Vacuumlo doesn't require downtime but based on the data it needs to remove can run long and use resources and hence schedule it in off peak hours. You can do a dry r

Re: Bloated pg_catalog.pg_largeobjects

2024-07-22 Thread khan Affan
Hi I would suggest to backup your DB before doing such a thing. Run Vaccum Full, (VACUUM FULL pg_catalog.pg_largeobject) Running this on the system table might be risky Make sure you backup the database. & if you are using PG version above 9.1 use Pg_repack to reclaim the space. Note: It can b

Re: Bloated pg_catalog.pg_largeobjects

2024-07-21 Thread Priancka Chatz
You have to run vacuumlo to remove orphaned large objects. https://www.postgresql.org/docs/current/vacuumlo.html Regards, Priyanka On Sun, 21 Jul 2024 at 12:46 AM, wrote: > Hello All, > > I've got a cluster that's having issues with pg_catalog.pg_largeobject > getting massively bloated. Vacuum