Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id ACA819FB5DF for ; Mon, 14 May 2007 08:13:27 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 18975-10 for ; Mon, 14 May 2007 08:13:23 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from gmp-ea-fw-1.sun.com (gmp-ea-fw-1.sun.com [192.18.1.36]) by postgresql.org (Postfix) with ESMTP id C39B69FB594 for ; Mon, 14 May 2007 08:13:22 -0300 (ADT) Received: from d1-emea-09.sun.com ([192.18.2.119]) by gmp-ea-fw-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l4EBDIt5005089 for ; Mon, 14 May 2007 11:13:21 GMT Received: from conversion-daemon.d1-emea-09.sun.com by d1-emea-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <0JI10090135KP700@d1-emea-09.sun.com> (original mail from Zdenek.Kotala@Sun.COM) for pgsql-hackers@postgresql.org; Mon, 14 May 2007 12:13:18 +0100 (BST) Received: from [129.157.18.76] by d1-emea-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <0JI1005UR365WKN7@d1-emea-09.sun.com>; Mon, 14 May 2007 12:13:17 +0100 (BST) Date: Mon, 14 May 2007 13:12:49 +0200 From: Zdenek Kotala Subject: Re: Performance monitoring In-reply-to: <4646B61C.1010103@enterprisedb.com> To: Heikki Linnakangas Cc: "Jim C. Nasby" , Greg Smith , pgsql-hackers@postgresql.org Message-id: <46484431.1070307@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: <200704030814.33999.peter_e@gmx.net> <46443F02.6060300@enterprisedb.com> <46448DC8.4050102@enterprisedb.com> <20070512211948.GA58786@nasby.net> <4646B61C.1010103@enterprisedb.com> User-Agent: Thunderbird 2.0b2 (X11/20070227) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/516 X-Sequence-Number: 103118 Heikki Linnakangas napsal(a): > Jim C. Nasby wrote: > > There is two counters for checkpoints in pgstats, the number of timed > (triggered by checkpoint_timeout) and requested (triggered by > checkpoint_segments) checkpoints. > > 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.. Whats about add some DTrace probes? Zdenek