Re: instrumenting the driver

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: instrumenting the driver
Дата
Msg-id s2b28f97.059@gwmta.wicourts.gov
обсуждение исходный текст
Ответ на instrumenting the driver  (Dave Cramer <pg@fastcrypt.com>)
Список pgsql-jdbc
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


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Dave Cramer
Дата:
Сообщение: compatibility patch status
Следующее
От: John R Pierce
Дата:
Сообщение: Re: instrumenting the driver