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

From Laurenz Albe
Subject Re: VacuumDB generating huge WAL filed
Date
Msg-id 52122541702b838b870bbd239008625aacc042dd.camel@cybertec.at
Whole thread Raw
In response to Re: VacuumDB generating huge WAL filed  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: VacuumDB generating huge WAL filed
List pgsql-admin
On Wed, 2024-12-11 at 23:25 -0700, David G. Johnston wrote:
> On Wednesday, December 11, 2024, SASIKUMAR Devaraj <sashikumard@yahoo.com> 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?
>
> Set a much more aggressive autovacuum so you don’t accumulate as much dead tuples between runs?

You can also activate "wal_compression" for smaller full-page images
and increase "max_wal_size" to get fewer of them.

But 60GB of WAL shouldn't be a problem.  Why are they a problem for you?

Yours,
Laurenz Albe



pgsql-admin by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: VacuumDB generating huge WAL filed
Next
From: SASIKUMAR Devaraj
Date:
Subject: Re: VacuumDB generating huge WAL filed