public inbox for [email protected]
help / color / mirror / Atom feedFrom: khan Affan <[email protected]>
To: [email protected]
Cc: [email protected] <[email protected]>
Subject: Re: Bloated pg_catalog.pg_largeobjects
Date: Mon, 22 Jul 2024 16:21:22 +0500
Message-ID: <CAF4emOmFCx33fvTqROw0u++vDoRH5w0D0YHVHSgR6VRsjq7d2w@mail.gmail.com> (raw)
In-Reply-To: <01010190d2526ef9-5d0a93fe-30ad-4d6b-9bc8-269c188bd42e-000000@us-west-2.amazonses.com>
References: <[email protected]>
<01010190d2526ef9-5d0a93fe-30ad-4d6b-9bc8-269c188bd42e-000000@us-west-2.amazonses.com>
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 be disruptive, so planning and preparing for potential
downtime is essential.
Thanks & regards
*Muhammad Affan (*아판*)*
*PostgreSQL Technical Support Engineer** / Pakistan R&D*
Interlace Plaza 4th floor Twinhub office 32 I8 Markaz, Islamabad, Pakistan
On Sun, Jul 21, 2024 at 3:46 AM <[email protected]> wrote:
> Hello All,
>
> I've got a cluster that's having issues with pg_catalog.pg_largeobject
> getting massively bloated. Vacuum is running OK and there's 700GB of free
> space in the table and only 100GB of data, but subsequent inserts seem to
> be not using space from the FSM and instead always allocating new pages.
> The table just keeps growing.
>
> Is this a known thing, maybe something special about LOs?
>
> Also, is the only way to recover space here a vacuum full on the table
> since it's a catalog table?
>
> Thanks,
> --
> Jon Erdman (aka StuckMojo on IRC)
> PostgreSQL Zealot
>
view thread (4+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: Bloated pg_catalog.pg_largeobjects
In-Reply-To: <CAF4emOmFCx33fvTqROw0u++vDoRH5w0D0YHVHSgR6VRsjq7d2w@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox