wal buffer optimisation

From: Fabrice Chapuis <fabrice636861(at)gmail(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: wal buffer optimisation
Date: 2025-01-31 14:45:17
Message-ID: CAA5-nLANs+CT9820jUm+SU9xA6rZ+6T5EFrLvTtQDH_y0=FW_g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

It's hard for me to know if my Postgres 14 WALs configuration is optimal

postgres [2854804]=# select wal_buffers_full from pg_stat_wal;
+------------------+
| wal_buffers_full |
+------------------+
| 910589 |
+-----------------
(1 row)

postgres [2854804]=# show wal_writer_delay ;
+------------------+
| wal_writer_delay |
+------------------+
| 200ms |
+------------------+
(1 row)

I got some metrics from pg_stats_wal view: 15,702 buffers full in 24 hours
and 1,243,890 writes in 24 hours, are these values indicative of a
performance problem?

Regards,

Fabrice

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Wetmore, Matthew (CTR) 2025-01-31 15:43:26 Re: wal buffer optimisation
Previous Message Bo Guo 2025-01-31 09:15:25 How to increase the max query history stored