Re: VacuumDB generating huge WAL filed

From: SASIKUMAR Devaraj <sashikumard(at)yahoo(dot)com>
To: vignesh kumar <vigneshkumar(dot)venugopal(at)outlook(dot)com>, Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: VacuumDB generating huge WAL filed
Date: 2024-12-13 10:03:51
Message-ID: 1727122332.1852194.1734084231873@mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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?

Sent from Yahoo Mail for iPhone

On Thursday, December 12, 2024, 8:37 PM, vignesh kumar <vigneshkumar(dot)venugopal(at)outlook(dot)com> wrote:

Check for the max walsize allocated in postgresql.conf and also check on checkpoint completion target default is 0.9 this says how frequent the checkpoint can be applied that adds to wal lan generation.
First do a table level vaccuum and see what's causing it to write more wal files.
Sent from Outlook for AndroidFrom: SASIKUMAR Devaraj <sashikumard(at)yahoo(dot)com>
Sent: Thursday, December 12, 2024 11:38:26 AM
To: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: VacuumDB generating huge WAL filed Hi All
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?
RegardsSasi

Sent from Yahoo Mail for iPhone

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Laurenz Albe 2024-12-13 10:12:28 Re: VacuumDB generating huge WAL filed
Previous Message vignesh kumar 2024-12-12 15:07:10 Re: VacuumDB generating huge WAL filed