Re: VacuumDB generating huge WAL filed - Mailing list pgsql-admin

From Laurenz Albe
Subject Re: VacuumDB generating huge WAL filed
Date
Msg-id 4c4820935c4be3f3df4a9b18258b459b12145b94.camel@cybertec.at
Whole thread Raw
In response to Re: VacuumDB generating huge WAL filed  (SASIKUMAR Devaraj <sashikumard@yahoo.com>)
List pgsql-admin
On Fri, 2024-12-13 at 10:03 +0000, SASIKUMAR Devaraj wrote:
> > When we are running vacuumdb for our database of 1.5TB it is
> > generating approximately 60GB of WAL files? Any way we can
> > reduce this WAL file generation?
>
> We were able to identify the table generating around 40GB in
> few mins by vaccum process. It is partition table with dead
> tuple less than 0.5 percent. What may be next steps?

I think I told you: increase "max_wal_size" and enable "wal_compression".
That should reduce the amount of WAL.

Yours,
Laurenz Albe



pgsql-admin by date:

Previous
From: SASIKUMAR Devaraj
Date:
Subject: Re: VacuumDB generating huge WAL filed
Next
From: kamal deen
Date:
Subject: Postgres DB crashing in OpenSSL 3.2 Version