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 9CB1E9DC826 for ; Wed, 8 Mar 2006 11:12:30 -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 21652-05 for ; Wed, 8 Mar 2006 11:12:34 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from uproxy.gmail.com (uproxy.gmail.com [66.249.92.197]) by postgresql.org (Postfix) with ESMTP id 50AD79DC81C for ; Wed, 8 Mar 2006 11:12:28 -0400 (AST) Received: by uproxy.gmail.com with SMTP id m2so118598ugc for ; Wed, 08 Mar 2006 07:12:32 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DLaxJnmXv/bJ8dldpNOD5seXsYEYgwS1BTGqNhCgustPw5fhYAB6OTv9eVjAJhfrWSgByk2A755Qu9NmrpBEeMf0kdpY5V0aDe49wL/loKCUKa9KWOLLaIYgXnsuPB66/tXWRBxr1SjAAhPrOTFJjWR25O2f74eWeBmRs0cySq8= Received: by 10.67.21.12 with SMTP id y12mr34565ugi; Wed, 08 Mar 2006 07:12:32 -0800 (PST) Received: by 10.67.30.2 with HTTP; Wed, 8 Mar 2006 07:12:32 -0800 (PST) Message-ID: <224f32340603080712l51bcef4i84d5b32c7b9f12df@mail.gmail.com> Date: Wed, 8 Mar 2006 16:12:32 +0100 From: "Thomas Dudziak" To: pgsql-jdbc@postgresql.org Subject: Re: Performance problem with timestamps in result sets In-Reply-To: <006201c642c2$1f17a610$c29c143e@w128mtec> 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> <224f32340603080657m35f7c35do34a2c6dc3f1b5f0@mail.gmail.com> <006201c642c2$1f17a610$c29c143e@w128mtec> 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/39 X-Sequence-Number: 14820 On 3/8/06, mikael-aronsson wrote: > I do not think there is much more to do, the timestamp is just a 64 bit > integer and you say an int takes 570ms/10920 calls and a timestamp takes > 7130ms/8190 calls, this is about twice as much to get twice as much data. No, thats about 16x slower (and most of the time is spent in the JDBC driver, not on the wire). Tom