pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
when is useful min_wal_size?
2+ messages / 2 participants
[nested] [flat]

* when is useful min_wal_size?
@ 2021-02-04 11:41  Luca Ferrari <fluca1978@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Luca Ferrari @ 2021-02-04 11:41 UTC (permalink / raw)
  To: pgsql-general <pgsql-general@lists.postgresql.org>

Hi all,
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?

Luca





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: when is useful min_wal_size?
@ 2021-02-04 11:56  Laurenz Albe <laurenz.albe@cybertec.at>
  parent: Luca Ferrari <fluca1978@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Laurenz Albe @ 2021-02-04 11:56 UTC (permalink / raw)
  To: Luca Ferrari <fluca1978@gmail.com>; pgsql-general <pgsql-general@lists.postgresql.org>

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






^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-02-04 11:56 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-02-04 11:41 when is useful min_wal_size? Luca Ferrari <fluca1978@gmail.com>
2021-02-04 11:56 ` Laurenz Albe <laurenz.albe@cybertec.at>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox