pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paesold <mpaesold@gmx.at>
To: Thomas Dudziak <tomdzk@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Performance problem with timestamps in result sets
Date: Wed, 8 Mar 2006 15:50:52 +0100
Message-ID: <060a01c642bf$b3060220$9001a8c0@zaphod> (raw)
References: <224f32340603080537ld424d49l2eea9440594104d3@mail.gmail.com>

Thomas Dudziak wrote:

> -> AbstractJdbc2ResultSet.getTimestamp(int) : 7130ms | 8190 calls
>
> Now my question is, is there something to make this faster ? Nearly
> 1sec for a ResulSet.getTimestamp call is too much for us.

This should be 1 ms per getTimestamp call, shouldn't it? The time is the 
aggregate time for ~8000 calls. That is still rather slow, yeah, but it is 
so with profiling.

Best Regards,
Michael Paesold 





view thread (16+ messages)  latest in thread

Message-ID: <060a01c642bf$b3060220$9001a8c0@zaphod>
Permalink:  ../060a01c642bf$b3060220$9001a8c0@zaphod/
Also on:    postgresql.org/message-id/060a01c642bf$b3060220$9001a8c0@zaphod

 · 

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: mpaesold@gmx.at, tomdzk@gmail.com
  Subject: Re: Performance problem with timestamps in result sets
  In-Reply-To: <060a01c642bf$b3060220$9001a8c0@zaphod>
  References: <224f32340603080537ld424d49l2eea9440594104d3@mail.gmail.com> <060a01c642bf$b3060220$9001a8c0@zaphod>

* 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