X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4A67C528A9 for ; Fri, 17 Jun 2005 10:53:44 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 28491-05 for ; Fri, 17 Jun 2005 13:53:41 +0000 (GMT) Received: from gwmta.wicourts.gov (gwmta.wicourts.gov [165.219.244.91]) by svr1.postgresql.org (Postfix) with ESMTP id 2EB8A5281E for ; Fri, 17 Jun 2005 10:53:39 -0300 (ADT) Received: from Courts-MTA by gwmta.wicourts.gov with Novell_GroupWise; Fri, 17 Jun 2005 08:53:43 -0500 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.2 Date: Fri, 17 Jun 2005 08:53:35 -0500 From: "Kevin Grittner" To: , Subject: Re: instrumenting the driver Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.025 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/92 X-Sequence-Number: 13054 The first thing that comes to mind is to check the DriverManager.getLogWriter() value at key points in the code. If not null, log timing info along with other logging/tracing info. Would this satisfy the request? -Kevin >>> Dave Cramer 06/17/05 6:59 AM >>> There has been a request to instrument the driver for measuring timing. One mechanism that comes to mind is to allow one listener in execute, etc. Or to simply measure it ourselves. Any comments? Dave Cramer davec@postgresintl.com www.postgresintl.com ICQ #14675561 jabber davecramer@jabber.org ph (519 939 0336 ) ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org