pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: salah jubeh <s_jubeh@yahoo.com>
To: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Explain analyze time overhead
Date: Thu, 5 Dec 2013 06:09:00 -0800 (PST)
Message-ID: <1386252540.32882.YahooMailNeo@web122206.mail.ne1.yahoo.com> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>



Hello guys, 


When I excute a query,  the exection time is about 1 minute; however, when I execute the query with explain analyze the excution time jumps to 10 minutes. 

I have tried this for several queries, where  I need to optimize;  and using explain analyze leads alway to a huge time overhead in factor of 10.


This is a little bit starnge for me; did any one experience somthing like this? Can I trust the generated plans?


Regards

view thread (8+ messages)  latest in thread

Message-ID: <1386252540.32882.YahooMailNeo@web122206.mail.ne1.yahoo.com>
Permalink:  ../1386252540.32882.YahooMailNeo@web122206.mail.ne1.yahoo.com/
Also on:    postgresql.org/message-id/1386252540.32882.YahooMailNeo@web122206.mail.ne1.yahoo.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: s_jubeh@yahoo.com
  Subject: Re: Explain analyze time overhead
  In-Reply-To: <1386252540.32882.YahooMailNeo@web122206.mail.ne1.yahoo.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