pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <andrew@libertyrms.info>
To: pgsql-performance@postgresql.org
Subject: Re: Strange result: UNIX vs. TCP/IP sockets
Date: Sat, 5 Jul 2003 16:58:15 -0400
Message-ID: <20030705205815.GA7713@libertyrms.info> (raw)
In-Reply-To: <8908.1057355247@sss.pgh.pa.us>
References: <20030704172205.GH4707@libertyrms.info>
	<20030704143143.U45926@hub.org>
	<20030704175512.GB24859@md2.mediadesign.nl>
	<20030704212053.GD5679@libertyrms.info>
	<8908.1057355247@sss.pgh.pa.us>

On Fri, Jul 04, 2003 at 05:47:27PM -0400, Tom Lane wrote:
> Andrew Sullivan <andrew@libertyrms.info> writes:
> > How could it be the transport affects the time for the query as
> > reported by the back end?
> 
> How much data is being sent back by the query?

In this case, it's an all-aggregate query:

select count(*), min(id) from sometable where owner = int4;

(Yeah, yeah, I know.  I didn't write it.)

But it's the EXPLAIN ANALYSE that's reporting different times
depending on the transport.  That's what I find so strange.

> Do you have SSL enabled?  SSL encryption overhead is nontrivial,
> especially if any renegotiations happen.

No.

-- 
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110




view thread (8+ messages)  latest in thread

Message-ID: <20030705205815.GA7713@libertyrms.info>
Permalink:  ../20030705205815.GA7713@libertyrms.info/
Also on:    postgresql.org/message-id/20030705205815.GA7713@libertyrms.info

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: andrew@libertyrms.info
  Subject: Re: Strange result: UNIX vs. TCP/IP sockets
  In-Reply-To: <20030705205815.GA7713@libertyrms.info>
  References: <20030704172205.GH4707@libertyrms.info> <20030704143143.U45926@hub.org> <20030704175512.GB24859@md2.mediadesign.nl> <20030704212053.GD5679@libertyrms.info> <8908.1057355247@sss.pgh.pa.us> <20030705205815.GA7713@libertyrms.info>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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