pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Will Platnick <wplatnick@gmail.com>
To: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: Slow Query Help
Date: Wed, 6 Feb 2013 11:24:34 -0500
Message-ID: <8E8E8399C0114A19A3DB3AF966635A23@gmail.com> (raw)
In-Reply-To: <1360167760.44825.YahooMailNeo@web162901.mail.bf1.yahoo.com>
References: <ED51F03F1D2C469EB2F7FF91C677AD4F@gmail.com>
	<CABOikdPdsqgiXgq7efNCyQv6HkdFHktWAMYM0QFj8xxtBMj0Mw@mail.gmail.com>
	<2CB5B53971DB42238A7640E6EFAE8D19@gmail.com>
	<1360167760.44825.YahooMailNeo@web162901.mail.bf1.yahoo.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

Clients are technically our pgbouncer which is on the same machine. The explain analyze was local through psql direct to postgresql.


On Wednesday, February 6, 2013 at 11:22 AM, Kevin Grittner wrote:

> Will Platnick <wplatnick@gmail.com (mailto:wplatnick@gmail.com)> wrote:
> > Will Platnick <wplatnick@gmail.com (mailto:wplatnick@gmail.com)> wrote:
> 
> 
> > > The only thing that stands out is: on your production server I see
> > > "Total runtime: 7.515 ms", but the top node in EXPLAIN ANAYZE shows
> > > actual time as 0.179 ms. Not sure where that additional time is being
> > > spent though. It could be ExecutorStart/End, but have no idea why they
> > > should take so long.
> > > 
> > 
> 
> 
> > Any ideas on how to troubleshoot this delay?
> 
> Is the client which is running the query on the same machine as the
> server?  If not, what's the ping time between them?
> 
> -Kevin 

view thread (11+ messages)  latest in thread

Message-ID: <8E8E8399C0114A19A3DB3AF966635A23@gmail.com>
Permalink:  ../8E8E8399C0114A19A3DB3AF966635A23@gmail.com/
Also on:    postgresql.org/message-id/8E8E8399C0114A19A3DB3AF966635A23@gmail.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: wplatnick@gmail.com
  Subject: Re: Slow Query Help
  In-Reply-To: <8E8E8399C0114A19A3DB3AF966635A23@gmail.com>

* 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