Bjoern Metzdorf <bm(at)turtle-entertainment(dot)de> writes:
> 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