Re: when is useful min_wal_size? - Mailing list pgsql-general

From Laurenz Albe
Subject Re: when is useful min_wal_size?
Date
Msg-id b2f73ce7c52ee6ceb63073823c22d0803fc6c0b4.camel@cybertec.at
Whole thread Raw
In response to when is useful min_wal_size?  (Luca Ferrari <fluca1978@gmail.com>)
List pgsql-general
On Thu, 2021-02-04 at 12:41 +0100, Luca Ferrari wrote:
> this may sound trivial, but in my opinion min_wal_size is useful only
> when the cluster is initialized or the wals are reset.
> Am I wrong?

The amount of WAL that PostgreSQL pre-creates for future use
depends on the database activity but has a lower limit of "min_wal_size".

If your workload is subject to long lulls followed by activity spikes,
raising "min_wal_size" can improve the performance at the beginning
of an activity spike.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com




pgsql-general by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: curious vacuum full behavior
Next
From: Joao Miguel Ferreira
Date:
Subject: cant connect to localhost:5432 (but unix socket ok)