Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id BF09B1337BA8 for ; Thu, 24 Feb 2011 18:26:44 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 76375-01 for ; Thu, 24 Feb 2011 22:26:37 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by mail.postgresql.org (Postfix) with ESMTP id A07FB133798E for ; Thu, 24 Feb 2011 18:26:36 -0400 (AST) Received: from 121-98-80-66.bitstream.orcon.net.nz ([121.98.80.66] helo=[192.168.1.2]) by tremor.opencloud.co.nz with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Psjdl-00044K-EP; Fri, 25 Feb 2011 11:26:29 +1300 Message-ID: <4D66DB0C.5020207@opencloud.com> Date: Fri, 25 Feb 2011 11:26:20 +1300 From: Oliver Jowett User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Kevin Grittner CC: pgsql-jdbc@postgresql.org, Rados*aw Smogura , Clemens Eisserer Subject: Re: Slow query execution over WAN network References: <201102241807.51960.rsmogura@softperience.eu> <201102242255.10017.rsmogura@softperience.eu> <4D668107020000250003AFE7@gw.wicourts.gov> In-Reply-To: <4D668107020000250003AFE7@gw.wicourts.gov> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201102/149 X-Sequence-Number: 21547 Kevin Grittner wrote: > Rados*aw Smogura wrote: > >> I thought about ACK, and all of this TCP stuff. > > Hopefully we're disabling Nagle's algorithm by setting TCP_NODELAY. > I have seen it cause this sort of problem with other DBMS products. The driver does disable Nagle. Oliver