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 370EF9DC83B for ; Fri, 10 Mar 2006 05:58:06 -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 28290-03 for ; Fri, 10 Mar 2006 05:58:07 -0400 (AST) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id A8EB49DC86B for ; Fri, 10 Mar 2006 05:58:03 -0400 (AST) Received: from mail.logix-tt.com (unknown [212.211.145.186]) by svr4.postgresql.org (Postfix) with ESMTP id 524B25AF0AE for ; Fri, 10 Mar 2006 09:58:03 +0000 (GMT) Received: from kingfisher.intern.logix-tt.com (Ta907.t.pppool.de [89.55.169.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.logix-tt.com (Postfix) with ESMTP id 7C59765456; Fri, 10 Mar 2006 10:58:20 +0100 (CET) Received: from [127.0.0.1] (localhost [127.0.0.1]) by kingfisher.intern.logix-tt.com (Postfix) with ESMTP id 6BD1A18148C19; Fri, 10 Mar 2006 10:58:07 +0100 (CET) Message-ID: <44114DAE.7070500@logix-tt.com> Date: Fri, 10 Mar 2006 10:58:06 +0100 From: Markus Schaber Organization: Logical Tracking and Tracing International AG, Switzerland User-Agent: Debian Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: en-us, en MIME-Version: 1.0 To: mikael-aronsson Cc: pgsql-jdbc@postgresql.org Subject: Re: binary protocol was Performance problem with timestamps References: <00cc01c64376$7661ca40$c29c143e@w128mtec> In-Reply-To: <00cc01c64376$7661ca40$c29c143e@w128mtec> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.16 required=5 tests=[AWL=0.160] X-Spam-Score: 0.16 X-Spam-Level: X-Archive-Number: 200603/52 X-Sequence-Number: 14833 Hi, Mikael, mikael-aronsson wrote: > I do not think it would give much though to use the binary protocol as Java > is not very good when it comes to converting binary data back to native > values unless it is serialized or you start to mess around with nio > buffers, I think that parsing complicated text representations is not faster than multiplying fixed-length bunches of byte values together. HTH, Markus -- Markus Schaber | Logical Tracking&Tracing International AG Dipl. Inf. | Software Development GIS Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org