Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 60644B5D8C5 for ; Fri, 13 May 2011 14:17:18 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 25430-10 for ; Fri, 13 May 2011 17:17:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 0B42FB5D8B2 for ; Fri, 13 May 2011 14:17:10 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p4DHHAYc001009; Fri, 13 May 2011 13:17:10 -0400 (EDT) To: "Kevin Grittner" cc: "Israel Ben Guilherme Fonseca" , pgsql-jdbc@postgresql.org Subject: Re: Incoming/Sent traffic data In-reply-to: <4DCD1BB4020000250003D6CD@gw.wicourts.gov> References: <4DCD13A7020000250003D6C6@gw.wicourts.gov> <4DCD1BB4020000250003D6CD@gw.wicourts.gov> Comments: In-reply-to "Kevin Grittner" message dated "Fri, 13 May 2011 11:53:24 -0500" Date: Fri, 13 May 2011 13:17:10 -0400 Message-ID: <1008.1305307030@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201105/40 X-Sequence-Number: 21870 "Kevin Grittner" writes: > Israel Ben Guilherme Fonseca wrote: >> But here is the question, does the SSL compress the data too? > It can, if that is negotiated properly: > http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html#comp > Apparently the JDBC driver isn't attempting to negotiate > compression. I don't know how hard that would be to change. What surprises me here is not so much that JDBC doesn't enable SSL compression as that the python case does. I remember people complaining that libpq doesn't enable SSL compression, which is unsurprising given what it says on that FAQ page. Is the python test not using a libpq-based client library? regards, tom lane