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 2B4509DC887 for ; Wed, 8 Mar 2006 10:57:20 -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 18596-04 for ; Wed, 8 Mar 2006 10:57:24 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from uproxy.gmail.com (uproxy.gmail.com [66.249.92.200]) by postgresql.org (Postfix) with ESMTP id C02B19DC89D for ; Wed, 8 Mar 2006 10:57:17 -0400 (AST) Received: by uproxy.gmail.com with SMTP id m2so96563uge for ; Wed, 08 Mar 2006 06:57:21 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Kvc0VGW0lKWBz3QVZ5Tj6mgIc8x+zjKq3OSy9DbuFiCdrMvAQo/5Y0M8xK3QyyILJ7GsS2Hseug9Vourt4keVrStM8lDTDnNzid+GxRjMfZEFutcx9K4IqZKGWCl9W/P7+fD7MM3nfH9adhYRlZZQzf3qalDU38jGZMq/OPUAtU= Received: by 10.67.20.16 with SMTP id x16mr498641ugi; Wed, 08 Mar 2006 06:57:21 -0800 (PST) Received: by 10.67.30.2 with HTTP; Wed, 8 Mar 2006 06:57:21 -0800 (PST) Message-ID: <224f32340603080657m35f7c35do34a2c6dc3f1b5f0@mail.gmail.com> Date: Wed, 8 Mar 2006 15:57:21 +0100 From: "Thomas Dudziak" To: "Michael Paesold" Subject: Re: Performance problem with timestamps in result sets Cc: pgsql-jdbc@postgresql.org In-Reply-To: <060a01c642bf$b3060220$9001a8c0@zaphod> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <224f32340603080537ld424d49l2eea9440594104d3@mail.gmail.com> <060a01c642bf$b3060220$9001a8c0@zaphod> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] X-Spam-Score: 0.12 X-Spam-Level: X-Archive-Number: 200603/35 X-Sequence-Number: 14816 On 3/8/06, Michael Paesold wrote: > 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 i= s > so with profiling. Yep, but as I said, the others are much faster. E.g. getString takes 140ms for 5460 calls, and getInt 570ms for 10920 calls, so its probably not so much the profiler. Also, I was merely asking whether there is something that could be done to bring getTimestamp at least in the same region. cheers, Tom