X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 752B69DCB81 for ; Sat, 11 Feb 2006 12:23:46 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 51407-01 for ; Sat, 11 Feb 2006 12:23:44 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 871759DCB63 for ; Sat, 11 Feb 2006 12:23:43 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id k1BGNd95008268; Sat, 11 Feb 2006 11:23:41 -0500 (EST) To: "Erik G. Burrows" cc: pgsql-admin@postgresql.org Subject: Re: Statement duration reporting In-reply-to: <1139497996.15057.11.camel@localhost> References: <1139497996.15057.11.camel@localhost> Comments: In-reply-to "Erik G. Burrows" message dated "Thu, 09 Feb 2006 07:13:16 -0800" Date: Sat, 11 Feb 2006 11:23:39 -0500 Message-ID: <8267.1139675019@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.109 required=5 tests=[AWL=0.109] X-Spam-Score: 0.109 X-Spam-Level: X-Archive-Number: 200602/147 X-Sequence-Number: 20568 "Erik G. Burrows" writes: > So, my question is: What does the duration time in the serverlog > reflect? Is it just the time the server took to execute the statement, > or does it reflect also query receive and response transmit time? The former. The server has no way to measure transit times. > Any other ideas as to why I'm seeing these odd and contradictory times? There's a current thread in the pgsql-odbc list about similar issues seen with ODBC. I doubt its the same problem, because it's different client software on a different OS, but maybe it'd be worth comparing notes. regards, tom lane