wal buffer optimisation - Mailing list pgsql-admin

From Fabrice Chapuis
Subject wal buffer optimisation
Date
Msg-id CAA5-nLANs+CT9820jUm+SU9xA6rZ+6T5EFrLvTtQDH_y0=FW_g@mail.gmail.com
Whole thread Raw
List 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

pgsql-admin by date:

Previous
From: Bo Guo
Date:
Subject: How to increase the max query history stored
Next
From: "Hall, Michael H. (GSFC-423.0)[RAYTHEON COMPANY]"
Date:
Subject: Assistance with documenting a failover / fallback process that maintains replication