Re: Pg_repack - Mailing list pgsql-admin

From hubert depesz lubaczewski
Subject Re: Pg_repack
Date
Msg-id ZrIHbeg5TwL9etUn@depesz.com
Whole thread Raw
In response to Re: Pg_repack  (Sathish Reddy <sathishreddy.postgresql@gmail.com>)
List pgsql-admin
On Tue, Aug 06, 2024 at 04:50:33PM +0530, Sathish Reddy wrote:
> Thanks for the information.please provide me solution on clearing bloating
> on table or index bloating with out blocking any user and we are not run
> any vaccum full .freeze, and reindex and also analized ...with out these
> provide me perfect solution to run and remove bloat instance level with in
> postgres..

1. Configure autovacuum properly, so the problem doesn't happen.
2. If need is - run manual vacuum
3. If you really have to, run pg_repack - but this is not a thing that
   one calls *from within pg* - you run it on some
   server/computer/whatever, and pg_repack connects to database, and
   does its magic.

Best regards,

depesz




pgsql-admin by date:

Previous
From: Sathish Reddy
Date:
Subject: Re: Pg_repack
Next
From: Kashif Zeeshan
Date:
Subject: Re: Pg_repack