Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 999BC9FA618 for ; Thu, 9 Nov 2006 03:21:53 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 39997-07 for ; Thu, 9 Nov 2006 07:21:50 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id B26539F9424 for ; Thu, 9 Nov 2006 03:21:50 -0400 (AST) Received: by noel.decibel.org (Postfix, from userid 1001) id 780A056468; Thu, 9 Nov 2006 01:21:49 -0600 (CST) Received: (hashcash-sendmail, from uid 1001); Thu, 9 Nov 2006 01:21:46 -0600 Date: Thu, 9 Nov 2006 01:21:46 -0600 From: "Jim C. Nasby" To: Jeff Frost Cc: "Joshua D. Drake" , pgsql-admin@postgresql.org Subject: Re: statistics buffer is full Message-ID: <20061109072145.GI90133@nasby.net> References: <1163042869.28784.55.camel@localhost.localdomain> <1163043819.28784.57.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 6.1-RELEASE-p10 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.13 (2006-08-11) X-Hashcash: 1:20:061109:jeff@frostconsultingllc.com::gf7MNa4Y9a3p3N3b:0000000000 0000000000000000000000000yOW X-Hashcash: 1:20:061109:jd@commandprompt.com::wyyySMUyB03vo/CE:00000000000000000 000000000000000000000000315i X-Hashcash: 1:20:061109:pgsql-admin@postgresql.org::r2xEDKXs9BxkCdMJ:00000000000 0000000000000000000000004Z+3 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/89 X-Sequence-Number: 23616 On Wed, Nov 08, 2006 at 09:46:48PM -0800, Jeff Frost wrote: > On Wed, 8 Nov 2006, Joshua D. Drake wrote: > > >>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. > > > > So, then the next question: is that error because the command string was > too long or because there were too many command strings in the buffer at > once (i.e. it got backed up a bit and filled)? IIRC, (in 8.1) the same amount of data is shuffled through the stats system for every command, so it'd be an issue of too many messages. > It would be a drag to be without pg_stat_activity on this system. The > performance detriment is lessened in 8.2, correct? Correct. Performance of updating the info for ps was also improved, iirc. -- Jim Nasby jim@nasby.net EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)