X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id CC91552836 for ; Fri, 17 Jun 2005 16:41:33 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 06399-03 for ; Fri, 17 Jun 2005 19:41:28 +0000 (GMT) Received: from gwmta.wicourts.gov (gwmta.wicourts.gov [165.219.244.91]) by svr1.postgresql.org (Postfix) with ESMTP id 4E72352828 for ; Fri, 17 Jun 2005 16:41:27 -0300 (ADT) Received: from Courts-MTA by gwmta.wicourts.gov with Novell_GroupWise; Fri, 17 Jun 2005 14:41:28 -0500 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.2 Date: Fri, 17 Jun 2005 14:41:24 -0500 From: "Kevin Grittner" To: , Subject: Re: JDBC compressed stream Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.023 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/97 X-Sequence-Number: 13059 Since you specifically asked about other solutions than the JDBC driver itself -- we use a middle tier which makes the JDBC requests. Clients communicate with the middle tier through non-persistent queue-based JMS (developed in-house) which can compress the message body. This works well for us. If you run this middle tier on the database server, the non-compressed data doesn't go "over the wire". Alternatively, it would probably be less than a week's work to write a JDBC driver which just forwarded the requests to a process which used the postgres JDBC driver to hit the database. You would essentially forward the requests and responses, with compression around those portions which would benefit. Just a couple quick ideas. Maybe it'll get you thinking in a direction that will work even better for you. -Kevin >>> Javier 06/17/05 11:26 AM >>> . . . Last question --> Anyone knows any other way to achieve compression with other kind of solution??? . . .