pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
compress a resultset
2+ messages / 2 participants
[nested] [flat]

* compress a resultset
@ 2006-09-05 09:16  Andreas Reichel <andreas.reichel@beratung-studienkredit.de>
  0 siblings, 1 reply; 2+ messages in thread

From: Andreas Reichel @ 2006-09-05 09:16 UTC (permalink / raw)
  To: pgsql-jdbc

good morning,

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");

Thank you very much in advance for any hint. Best regards
Andreas




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: compress a resultset
@ 2006-09-05 20:38  Roland Walter <roland.walter.rwa@gmx.net>
  parent: Andreas Reichel <andreas.reichel@beratung-studienkredit.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Roland Walter @ 2006-09-05 20:38 UTC (permalink / raw)
  To: andreas.reichel@sachsenlb.de; +Cc: pgsql-jdbc

-----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-----



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-09-05 20:38 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-09-05 09:16 compress a resultset Andreas Reichel <andreas.reichel@beratung-studienkredit.de>
2006-09-05 20:38 ` Roland Walter <roland.walter.rwa@gmx.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox