Re: Pg_repack

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: Sathish Reddy <sathishreddy(dot)postgresql(at)gmail(dot)com>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Pg_repack
Date: 2024-08-06 11:22:21
Message-ID: ZrIHbeg5TwL9etUn@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message abbas alizadeh 2024-08-06 11:24:28 Re: Pg_repack
Previous Message Sathish Reddy 2024-08-06 11:20:33 Re: Pg_repack