Discussion:
statistics buffer is full
(too old to reply)
Bjoern Metzdorf
2004-02-08 22:39:41 UTC
Permalink
Hi,

one of our heavy loaded postgresql servers regularly gives

LOG: statistics buffer is full

Sometimes those messages come when there is a load peak on the server,
so it comes to my mind that it may be possible to improve performance by
tweaking postgresql.conf to get rid of that full buffers.

We run 7.4.1 on Linux 2.4 (Dual Xeon 2,4, 3 GB RAM). pg_autovacuum is
running.

postgresql.conf (tweaked parameters only):

shared_buffers = 20000
sort_mem = 16384
fsync = false
wal_buffers = 256
checkpoint_segments = 6
log_timestamp = true
stats_start_collector = true
stats_row_level = true

Any hints?

Regards,
Bjoern


---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend
Tom Lane
2004-02-09 03:23:26 UTC
Permalink
Post by Bjoern Metzdorf
one of our heavy loaded postgresql servers regularly gives
LOG: statistics buffer is full
You could try increasing PGSTAT_RECVBUFFERSZ in include/pgstat.h
(this will require recompiling src/backend/postmaster/pgstat.c
to take effect). I'm not convinced it will help; it may just allow
the stats collector to fall further behind. But if your problem
is load spikes it might help.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ***@postgresql.org
Loading...