X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id A89229FA8EF for ; Tue, 23 May 2006 19:11:46 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 53632-06 for ; Tue, 23 May 2006 19:11:33 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp1.ActiveState.com (gw.activestate.com [209.17.183.249]) by postgresql.org (Postfix) with ESMTP id 312569FA611 for ; Tue, 23 May 2006 19:11:32 -0300 (ADT) Received: from smtp3.activestate.com (smtp3.activestate.com [192.168.3.19]) by smtp1.ActiveState.com (8.12.10/8.12.10) with ESMTP id k4NMBTU9020999; Tue, 23 May 2006 15:11:29 -0700 (envelope-from mischa@ca.sophos.com) Received: from [192.168.99.210] (mallet.activestate.com [192.168.99.210]) by smtp3.ActiveState.com (8.13.4/8.13.4) with ESMTP id k4NMBPsw011616; Tue, 23 May 2006 15:11:29 -0700 (envelope-from mischa@ca.sophos.com) Message-ID: <44738A49.2010504@ca.sophos.com> Date: Tue, 23 May 2006 15:18:49 -0700 From: Mischa Sandberg Reply-To: mischa@ca.sophos.com User-Agent: Thunderbird 1.5.0.2 (X11/20060420) MIME-Version: 1.0 To: Dan Gorman CC: pgsql-performance@postgresql.org Subject: Re: Selects query stats? References: <9C4E40CF-6C06-4297-AF32-A7EF2A3F3C0F@hi5.com> <4473512E.7020805@ca.sophos.com> <82252882-2A15-4823-A517-7AB3161889D1@hi5.com> <4473553C.1010804@ca.sophos.com> <127D68F6-7620-4A62-8D1A-9B475E7571CD@hi5.com> <20060523184100.GW64371@pervasive.com> <17713.1148411593@sss.pgh.pa.us> <20060523195001.GH28863@surnet.cl> In-Reply-To: <20060523195001.GH28863@surnet.cl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/443 X-Sequence-Number: 19230 Alvaro Herrera wrote: > Yeah, the problem seems underspecified. So, Dan, the question is, what are you trying to measure? This might be a statistic that management has always been given, for Oracle, and you need to produce the "same" number for PostgreSQL. If not, it's hard to figure out what a statement counter actually can measure, to the extent that you can say, "If that number does THIS, I should do THAT." -- Engineers think that equations approximate reality. Physicists think that reality approximates the equations. Mathematicians never make the connection.