From: Andrew Sullivan <andrew@libertyrms.info>
To: pgsql-performance@postgresql.org
Subject: Re: Strange result: UNIX vs. TCP/IP sockets
Date: Fri, 4 Jul 2003 17:20:53 -0400
Message-ID: <20030704212053.GD5679@libertyrms.info> (raw)
In-Reply-To: <20030704175512.GB24859@md2.mediadesign.nl>
References: <20030704172205.GH4707@libertyrms.info>
<20030704143143.U45926@hub.org>
<20030704175512.GB24859@md2.mediadesign.nl>
On Fri, Jul 04, 2003 at 07:55:12PM +0200, Vincent van Leeuwen wrote:
> But since this only relates to making and breaking TCP connections,
> I don't think this is relevant for a larger query time. It's
> probably normal for a TCP connection to be slightly slower than a
> unix socket, but I don't think that's wat Andrew is experiencing.
No, it's not. And my colleague Sorin Iszlai pointed out to me
something else about it: we're getting different numbers reported by
EXPLAIN ANALYSE itself. How is that even possible?
If we try it here on a moderately-loaded Sun box, it seems we're able
to reproduce it, as well.
How could it be the transport affects the time for the query as
reported by the back end?
A
--
----
Andrew Sullivan 204-4141 Yonge Street
Liberty RMS Toronto, Ontario Canada
<andrew@libertyrms.info> M2P 2A8
+1 416 646 3304 x110
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: <20030704212053.GD5679@libertyrms.info>
References: <20030704172205.GH4707@libertyrms.info> <20030704143143.U45926@hub.org> <20030704175512.GB24859@md2.mediadesign.nl> <20030704212053.GD5679@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