X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id DF0169FA159 for ; Tue, 5 Sep 2006 17:38:42 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 22401-08 for ; Tue, 5 Sep 2006 20:38:39 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by postgresql.org (Postfix) with SMTP id 034CC9FB1FB for ; Tue, 5 Sep 2006 17:38:24 -0300 (ADT) Received: (qmail invoked by alias); 05 Sep 2006 20:38:23 -0000 Received: from xdsl-213-196-255-73.netcologne.de (EHLO [192.168.3.10]) [213.196.255.73] by mail.gmx.net (mp023) with SMTP; 05 Sep 2006 22:38:23 +0200 X-Authenticated: #2870507 Message-ID: <44FDE03F.1000804@gmx.net> Date: Tue, 05 Sep 2006 22:38:23 +0200 From: Roland Walter User-Agent: Thunderbird 1.5.0.5 (X11/20060725) MIME-Version: 1.0 To: andreas.reichel@sachsenlb.de CC: pgsql-jdbc@postgresql.org Subject: Re: compress a resultset References: <1157447805.5472.5.camel@berater4.slbs> In-Reply-To: <1157447805.5472.5.camel@berater4.slbs> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200609/12 X-Sequence-Number: 15730 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andreas Reichel schrieb: > good morning, Hello Andreas! > > from a database with stock related data i query large resultsets. The > database performes well, but the transfer over the dial-up connection is > very slow. > > Now i'd like to ask, if there is any solution to compress the resultset > on the server and decompress it after the transfer then. Perhaps there > is something like > > props.setProperty("data compression","true"); > > or > > props.setProperty("compress","true"); > I do not know of such an extension to the server. You may try to tunnel the connection via SSH. SSH has a switch for compressing the data stream. Regards, Roland. - -- Dipl.-Phys. Roland Walter phone: +49 2238 462163 Römerfeldstr. 8 mobile: +49 177 2373036 50259 Pulheim mailto: roland.walter.rwa@gmx.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFE/eA/xoOEAkary1ERAjqYAJ0WCofKgzR1ctfN8OyXlc0zJHH93QCfeeGP 9aA+0ULTqBzCkgeLzKmmdx0= =8gCJ -----END PGP SIGNATURE-----