pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: pg@fastcrypt.com
To: pgsql-jdbc@postgresql.org
Subject: Re: instrumenting the driver
Date: Fri, 17 Jun 2005 08:53:35 -0500
Message-ID: <s2b28f97.059@gwmta.wicourts.gov> (raw)

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 <pg@fastcrypt.com> 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




view thread (3+ messages)  latest in thread

Message-ID: <s2b28f97.059@gwmta.wicourts.gov>
Permalink:  ../s2b28f97.059@gwmta.wicourts.gov/
Also on:    postgresql.org/message-id/s2b28f97.059@gwmta.wicourts.gov

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, pg@fastcrypt.com
  Subject: Re: instrumenting the driver
  In-Reply-To: <s2b28f97.059@gwmta.wicourts.gov>
  References: <s2b28f97.059@gwmta.wicourts.gov>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox