Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 551F79FB352 for ; Sat, 12 May 2007 20:24:55 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 38743-10 for ; Sat, 12 May 2007 20:24:47 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from westnet.com (westnet.com [216.187.52.2]) by postgresql.org (Postfix) with ESMTP id E81DA9FB2FF for ; Sat, 12 May 2007 20:24:51 -0300 (ADT) Received: from westnet.com (localhost [127.0.0.1]) by westnet.com (8.14.0/8.14.0) with ESMTP id l4CNOqVB013609 for ; Sat, 12 May 2007 19:24:52 -0400 (EDT) Received: from localhost (gsmith@localhost) by westnet.com (8.14.0/8.13.2/Submit) with ESMTP id l4CNOpe7013606 for ; Sat, 12 May 2007 19:24:51 -0400 (EDT) X-Authentication-Warning: westnet.com: gsmith owned process doing -bs Date: Sat, 12 May 2007 19:24:51 -0400 (EDT) From: Greg Smith X-X-Sender: gsmith@westnet.com To: pgsql-hackers@postgresql.org Subject: Re: Performance monitoring In-Reply-To: <464630EA.5000701@commandprompt.com> Message-ID: References: <200704030814.33999.peter_e@gmx.net> <46443F02.6060300@enterprisedb.com> <46448DC8.4050102@enterprisedb.com> <20070512211948.GA58786@nasby.net> <464630EA.5000701@commandprompt.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/485 X-Sequence-Number: 103087 On Sat, 12 May 2007, Joshua D. Drake wrote: > One thing that doesn't seemed to be being looked at it is the cost of > logging. If any of this executed at something like the query level, sure, that would be real important. The majority of the logging I suggested here is of things that happen at checkpoint time. The presumption is that the overhead of that is considerably greater than writing a log line or even five. The least intensive event I would like to be loggable is when a new WAL segment is created and cleared, which is again a pretty small bit of log compared to the 16MB write. I wouldn't mind seeing that exposed under pg_stats instead, just had more interesting things to statify first. -- * Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD