pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Franck Routier <franck.routier@axege.com>
To: postgres performance list <pgsql-performance@postgresql.org>
Subject: What happens between end of explain analyze and end of query execution ?
Date: Thu, 04 Apr 2013 16:48:31 +0200
Message-ID: <515D92BF.5000309@axege.com> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

Hi,

I have query that should be quick, and used to be quick, but is not 
anymore... Explain analyze can be seen here http://explain.depesz.com/s/cpV
but it is fundamentaly quick : Total runtime: 0.545 ms.

But query execution takes 3.6 seconds. Only 12 rows are returned. Adding 
a limit 1 has no influence.

Postgresql client and server are on the same server, on localhost.

I wonder where my 3.5 seconds are going....

Notice that there is no fancy configuration to tell Postgresql to 
evaluate every query plan on earth, that is gecoxxxx settings are on 
their default values.

Any idea on what can be happening that takes so long ?

Franck

Attachments:

  smime.p7s (application/pkcs7-signature, 4.4K) download

view thread (21+ messages)  latest in thread

Message-ID: <515D92BF.5000309@axege.com>
Permalink:  ../515D92BF.5000309@axege.com/
Also on:    postgresql.org/message-id/515D92BF.5000309@axege.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: franck.routier@axege.com
  Subject: Re: What happens between end of explain analyze and end of query execution ?
  In-Reply-To: <515D92BF.5000309@axege.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