Received: from localhost (uranus.hub.org [200.46.204.60]) by postgresql.org (Postfix) with ESMTP id 1F9C89FB2AB for ; Wed, 8 Nov 2006 23:42:48 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.60]) (amavisd-new, port 10024) with ESMTP id 28626-08 for ; Wed, 8 Nov 2006 23:42:44 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from lists.commandprompt.com (host-130.commandprompt.net [207.173.203.130]) by postgresql.org (Postfix) with ESMTP id E599E9FB1BF for ; Wed, 8 Nov 2006 23:42:42 -0400 (AST) Received: from [192.168.1.95] (or-67-76-146-141.sta.embarqhsd.net [67.76.146.141]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id kA93gbTv004101 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Wed, 8 Nov 2006 19:42:38 -0800 Subject: Re: statistics buffer is full From: "Joshua D. Drake" To: Jeff Frost Cc: pgsql-admin@postgresql.org In-Reply-To: References: <1163042869.28784.55.camel@localhost.localdomain> Content-Type: text/plain Organization: Command Prompt, Inc. Date: Wed, 08 Nov 2006 19:43:39 -0800 Message-Id: <1163043819.28784.57.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.88.5, clamav-milter version 0.88.5 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Wed, 08 Nov 2006 19:42:39 -0800 (PST) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/81 X-Sequence-Number: 23608 On Wed, 2006-11-08 at 19:29 -0800, Jeff Frost wrote: > On Wed, 8 Nov 2006, Joshua D. Drake wrote: > > > 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 :) > > hah! Does that mean it's just the buffering for pg_stat_activity and not for > planner statistics? That doesn't make me feel too bad in this case. Yeah it is nothing to worry about, however turning it off is certainly a performance benefit. Joshua D. Drake > > -- === 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