Re: Pg_repack - Mailing list pgsql-admin

From Sathish Reddy
Subject Re: Pg_repack
Date
Msg-id CA+M9Y+Ahwd89c3K_6UoK2tZ6ezcup7xiMBdW0E20VyOu9=5M9Q@mail.gmail.com
Whole thread Raw
In response to Re: Pg_repack  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: Pg_repack
List pgsql-admin

Provide me example how can we use pg_squeeze from RDS environment

On Tue, Jul 23, 2024, 12:31 PM Laurenz Albe <laurenz.albe@cybertec.at> wrote:
On Tue, 2024-07-23 at 10:52 +0530, Sathish Reddy wrote:
> I am trying to schedule pg_repack from pg_cron in RDS postgres environment on avoid
> the bash on host EC2 to run run directly with in postgres instance.it getting successful
> but not clearing bloat by using repack fuction in pg_repack extension.please help on
> these to sort out .

If you have the need to do this regularly, use pg_squeeze, which avoids the need
for pg_cron.  It can automatically trigger a rebuild of the table according to
conditions you specify.

Yours,
Laurenz Albe

pgsql-admin by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Pg_repack
Next
From: Sathish Reddy
Date:
Subject: Pg_repack