Re: Strange result: UNIX vs. TCP/IP sockets

From: Andrew Sullivan <andrew(at)libertyrms(dot)info>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Strange result: UNIX vs. TCP/IP sockets
Date: 2003-07-05 20:58:15
Message-ID: 20030705205815.GA7713@libertyrms.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Fri, Jul 04, 2003 at 05:47:27PM -0400, Tom Lane wrote:
> Andrew Sullivan <andrew(at)libertyrms(dot)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(at)libertyrms(dot)info> M2P 2A8
+1 416 646 3304 x110

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Sean Chittenden 2003-07-05 21:04:41 Re: Moving postgresql.conf tunables into 2003...
Previous Message Grega Bremec 2003-07-05 16:39:37 Re: PostgreSQL vs. MySQL