Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 3ECA19FB291 for ; Sun, 13 May 2007 17:46:52 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 75630-04 for ; Sun, 13 May 2007 17:46:48 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id 32E0C9FB28D for ; Sun, 13 May 2007 17:46:48 -0300 (ADT) Received: by noel.decibel.org (Postfix, from userid 1001) id 396EC56443; Sun, 13 May 2007 15:46:44 -0500 (CDT) Received: (hashcash-sendmail, from uid 1001); Sun, 13 May 2007 15:46:41 -0500 Date: Sun, 13 May 2007 15:46:41 -0500 From: "Jim C. Nasby" To: Heikki Linnakangas Cc: Greg Smith , pgsql-hackers@postgresql.org Subject: Re: Performance monitoring Message-ID: <20070513204640.GL60707@nasby.net> References: <200704030814.33999.peter_e@gmx.net> <46443F02.6060300@enterprisedb.com> <46448DC8.4050102@enterprisedb.com> <20070512211948.GA58786@nasby.net> <4646B61C.1010103@enterprisedb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4646B61C.1010103@enterprisedb.com> 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:070513:heikki@enterprisedb.com::xlCg3QRxjIWHHZg4:00000000000000 0000000000000000000000000XF0 X-Hashcash: 1:20:070513:gsmith@gregsmith.com::pDAwI2JmwrYSm5dl:00000000000000000 00000000000000000000000047U6 X-Hashcash: 1:20:070513:pgsql-hackers@postgresql.org::MlDF2On63q/kv103:000000000 0000000000000000000000001tu8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/502 X-Sequence-Number: 103104 On Sun, May 13, 2007 at 07:54:20AM +0100, Heikki Linnakangas wrote: > Maybe we should improve the stats system so that we can collect events > with timestamps and durations, but in my experience log files actually > are the most reliable and universal way to collect real-time performance > information. Any serious tool has a generic log parser. The other > alternative is SNMP. I welcome the efforts on pgsnmpd.. Having timing information in the stats system would be useful, but I'm not sure how it could actually be done. But at least if the information is in the stats system it's easy to programatically collect and process. SNMP is just one example of that (fwiw I agree with Magnus that it probably doesn't make sense to turn pgsnmpd into a log parser...) -- Jim Nasby decibel@decibel.org EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)