X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 2F20E9DC89D for ; Wed, 8 Mar 2006 10:50:50 -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 19099-01 for ; Wed, 8 Mar 2006 10:50:54 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by postgresql.org (Postfix) with SMTP id 769549DC887 for ; Wed, 8 Mar 2006 10:50:47 -0400 (AST) Received: (qmail invoked by alias); 08 Mar 2006 14:50:51 -0000 Received: from office01.emerion.com (EHLO zaphod) [83.64.50.26] by mail.gmx.net (mp027) with SMTP; 08 Mar 2006 15:50:51 +0100 X-Authenticated: #1946847 Message-ID: <060a01c642bf$b3060220$9001a8c0@zaphod> From: "Michael Paesold" To: "Thomas Dudziak" , References: <224f32340603080537ld424d49l2eea9440594104d3@mail.gmail.com> Subject: Re: Performance problem with timestamps in result sets Date: Wed, 8 Mar 2006 15:50:52 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-Y-GMX-Trusted: 0 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.797 required=5 tests=[AWL=0.797] X-Spam-Score: 0.797 X-Spam-Level: X-Archive-Number: 200603/34 X-Sequence-Number: 14815 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