Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 9864E2E003D for ; Fri, 6 Jun 2008 16:41:41 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 06305-04 for ; Fri, 6 Jun 2008 16:41:36 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from vms173003pub.verizon.net (vms173003pub.verizon.net [206.46.173.3]) by developer.postgresql.org (Postfix) with ESMTP id 8B6CB2E003A for ; Fri, 6 Jun 2008 16:41:38 -0300 (ADT) Received: from ridley.home ([71.179.5.175]) by vms173003.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0K220080641DUQOO@vms173003.mailsrvcs.net> for pgsql-hackers@postgresql.org; Fri, 06 Jun 2008 14:41:37 -0500 (CDT) Date: Fri, 06 Jun 2008 15:41:36 -0400 From: Robert Treat Subject: Re: Overhauling GUCS In-reply-to: To: pgsql-hackers@postgresql.org Cc: Greg Smith , Aidan Van Dyk Message-id: <200806061541.36984.xzilla@users.sourceforge.net> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Content-disposition: inline References: <48409D1E.3070208@agliodbs.com> <20080605011455.GF14498@yugib.highrise.ca> User-Agent: KMail/1.9.9 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/313 X-Sequence-Number: 119426 On Wednesday 04 June 2008 22:04:54 Greg Smith wrote: > On Wed, 4 Jun 2008, Aidan Van Dyk wrote: > > * Are we always spilling small amounts of data to disk for sorting? A > > a small work_mem increase might help... > > I was just talking to someone today about building a monitoring tool for > this. Not having a clear way to recommend people monitor use of work_mem > and its brother spilled to disk sorts is an issue right now, I'll whack > that one myself if someone doesn't beat me to it before I get time. > I remember *years* ago, someone wrote a perl script to poll pgsql_tmp and print out anytime something showed up... you could probably find that in the archives if you look around. of course to me this sounds like an excellent idea for a dtrace probe ;-) -- Robert Treat Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL