pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedCompression
6+ messages / 3 participants
[nested] [flat]
* Compression
@ 2009-09-28 23:51 Eric Jain <eric.jain@gmail.com>
0 siblings, 1 reply; 6+ messages in thread
From: Eric Jain @ 2009-09-28 23:51 UTC (permalink / raw)
To: pgsql-jdbc
Came across an old announcement for a product called "Mammoth S/JDBC"
that claimed to have "support for compressed connection streams"
[http://archives.postgresql.org/pgsql-announce/2003-04/msg00010.php].
Looking for the product page, I found that "S/JDBC was discontinued as
the Open Source version reached the same capability level "
[http://www.commandprompt.com/products/tips].
That's good news -- but I couldn't find any mention of such a feature
in the documentation [http://jdbc.postgresql.org/documentation/head/]?
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Compression
@ 2009-09-29 00:00 Oliver Jowett <oliver@opencloud.com>
parent: Eric Jain <eric.jain@gmail.com>
0 siblings, 1 reply; 6+ messages in thread
From: Oliver Jowett @ 2009-09-29 00:00 UTC (permalink / raw)
To: Eric Jain <eric.jain@gmail.com>; +Cc: pgsql-jdbc
Eric Jain wrote:
> Came across an old announcement for a product called "Mammoth S/JDBC"
> that claimed to have "support for compressed connection streams"
> [http://archives.postgresql.org/pgsql-announce/2003-04/msg00010.php].
>
> Looking for the product page, I found that "S/JDBC was discontinued as
> the Open Source version reached the same capability level "
> [http://www.commandprompt.com/products/tips].
>
> That's good news -- but I couldn't find any mention of such a feature
> in the documentation [http://jdbc.postgresql.org/documentation/head/]?
Can you explain what a "compressed connection stream" is? AFAIK, there
is no such thing supported by the standard server. (And there's been a
wire protocol version change since that release announcement, fwiw)
Possibly, you could convince the underlying SSL/TLS provider to
negotiate SSL compression. I don't know the details of how to do that
offhand.
-O
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Compression
@ 2009-09-29 00:29 Eric Jain <eric.jain@gmail.com>
parent: Oliver Jowett <oliver@opencloud.com>
0 siblings, 1 reply; 6+ messages in thread
From: Eric Jain @ 2009-09-29 00:29 UTC (permalink / raw)
To: pgsql-jdbc
On 2009-09-28, Oliver Jowett <oliver@opencloud.com> wrote:
> Can you explain what a "compressed connection stream" is? AFAIK, there
> is no such thing supported by the standard server. (And there's been a
> wire protocol version change since that release announcement, fwiw)
>
> Possibly, you could convince the underlying SSL/TLS provider to
> negotiate SSL compression. I don't know the details of how to do that
> offhand.
I assume that what they were referring to is the ability to have all
data that is sent between the client and the server compressed (e.g.
with zlib; MySQL: useCompression=true). I'll email them to ask for a
clarification...
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Compression
@ 2009-10-02 18:41 Eric Jain <eric.jain@gmail.com>
parent: Eric Jain <eric.jain@gmail.com>
0 siblings, 1 reply; 6+ messages in thread
From: Eric Jain @ 2009-10-02 18:41 UTC (permalink / raw)
To: pgsql-jdbc
On Mon, Sep 28, 2009 at 17:29, Eric Jain <eric.jain@gmail.com> wrote:
> I assume that what they were referring to is the ability to have all
> data that is sent between the client and the server compressed (e.g.
> with zlib; MySQL: useCompression=true). I'll email them to ask for a
> clarification...
So it looks like compression was supported in their commercial version
of PostgreSQL. When it was discontinued, the people working on the
open source version of PostgreSQL apparently didn't see any point in
incorporating the code to support compression, so now there is none
:-(
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Compression
@ 2009-10-02 19:26 Tom Lane <tgl@sss.pgh.pa.us>
parent: Eric Jain <eric.jain@gmail.com>
0 siblings, 1 reply; 6+ messages in thread
From: Tom Lane @ 2009-10-02 19:26 UTC (permalink / raw)
To: Eric Jain <eric.jain@gmail.com>; +Cc: pgsql-jdbc
Eric Jain <eric.jain@gmail.com> writes:
> So it looks like compression was supported in their commercial version
> of PostgreSQL. When it was discontinued, the people working on the
> open source version of PostgreSQL apparently didn't see any point in
> incorporating the code to support compression, so now there is none
> :-(
I seem to remember that that was discussed and the conclusion was that
it was reinventing the wheel --- you could perfectly well use ssl/ssh
compression if you needed it, and you'd want encryption too anyway
in most plausible scenarios where compression makes sense. (If the
network trip is long enough to justify compression, it's likely not
all secure.)
regards, tom lane
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Compression
@ 2009-10-26 23:45 Eric Jain <eric.jain@gmail.com>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 6+ messages in thread
From: Eric Jain @ 2009-10-26 23:45 UTC (permalink / raw)
To: pgsql-jdbc
On Fri, Oct 2, 2009 at 12:26, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I seem to remember that that was discussed and the conclusion was that
> it was reinventing the wheel --- you could perfectly well use ssl/ssh
> compression if you needed it, and you'd want encryption too anyway
> in most plausible scenarios where compression makes sense. (If the
> network trip is long enough to justify compression, it's likely not
> all secure.)
VPN?
In any case: Is setting ssl=true alone enough to ensure that
compression is used? Is there a simple way to test whether or not
compression is used?
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2009-10-26 23:45 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-09-28 23:51 Compression Eric Jain <eric.jain@gmail.com>
2009-09-29 00:00 ` Oliver Jowett <oliver@opencloud.com>
2009-09-29 00:29 ` Eric Jain <eric.jain@gmail.com>
2009-10-02 18:41 ` Eric Jain <eric.jain@gmail.com>
2009-10-02 19:26 ` Tom Lane <tgl@sss.pgh.pa.us>
2009-10-26 23:45 ` Eric Jain <eric.jain@gmail.com>
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