Re: statistics buffer is full

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: statistics buffer is full
Дата
Msg-id 1163042869.28784.55.camel@localhost.localdomain
обсуждение исходный текст
Ответ на statistics buffer is full  (Jeff Frost <jeff@frostconsultingllc.com>)
Ответы Re: statistics buffer is full
Список 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




В списке pgsql-admin по дате отправления:

Предыдущее
От: Jeff Frost
Дата:
Сообщение: statistics buffer is full
Следующее
От: Jeff Frost
Дата:
Сообщение: Re: statistics buffer is full