Re: statistics buffer is full

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Jeff Frost <jeff(at)frostconsultingllc(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: statistics buffer is full
Date: 2006-11-09 03:27:49
Message-ID: 1163042869.28784.55.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, 2006-11-08 at 18:46 -0800, Jeff Frost wrote:
> What does the message 'statistics buffer is full' mean? And if I saw lots of
> these in my logs what sort of bad things would happen? Presumably this is
> related to the planner statistics? Would I expect to have bad plans if this
> happens and how would I resolve it? This is what I found in the source, but
> I'm not really sure what's going on here:

Usually it means that you have stats_command_string turned on :)

>
> Part of:
>
> pgstat_recvbuffer(void)
> <snip>
> /*
> * As long as we have buffer space we add the socket to the read
> * descriptor set.
> */
> if (msg_have <= (int) (PGSTAT_RECVBUFFERSZ - sizeof(PgStat_Msg))
> )
> {
> FD_SET(pgStatSock, &rfds);
> maxfd = pgStatSock;
> overflow = false;
> }
> else
> {
> if (!overflow)
> {
> ereport(LOG,
> (errmsg("statistics buffer is full")));
> overflow = true;
> }
> }
>
>
--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Jeff Frost 2006-11-09 03:29:29 Re: statistics buffer is full
Previous Message Jeff Frost 2006-11-09 02:46:40 statistics buffer is full