pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard van den Berg <richard.vandenberg@trust-factory.com>
To: pgsql-performance@postgresql.org
Subject: Explain not accurate
Date: Fri, 09 Jan 2004 15:12:42 +0100
Message-ID: <3FFEB6DA.8000905@trust-factory.com> (raw)

Hi there,

I am quite new to postgresql, and love the explain feature. It enables 
us to predict which SQL queries needs to be optimized before we see any 
problems. However, I've run into an issue where explain tells us a the 
costs of a quiry are tremendous (105849017586), but the query actually 
runs quite fast. Even "explain analyze" shows these costs.

This makes me wonder: can the estimates explain shows be dead wrong?

I can explain in more detail (including the query and output of explain) 
if needed. I'm using 7.4 on Solaris 8.

Sincerely,

-- 
Richard van den Berg, CISSP

Trust Factory B.V.      | http://www.trust-factory.com/
Bazarstraat 44a         | Phone: +31 70 3620684
NL-2518AK The Hague     | Fax  : +31 70 3603009
The Netherlands         |

Visit us at Lotusphere 2004 http://www.trust-factory.com/lotusphere





view thread (4+ messages)  latest in thread

Message-ID: <3FFEB6DA.8000905@trust-factory.com>
Permalink:  ../3FFEB6DA.8000905@trust-factory.com/
Also on:    postgresql.org/message-id/3FFEB6DA.8000905@trust-factory.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: richard.vandenberg@trust-factory.com
  Subject: Re: Explain not accurate
  In-Reply-To: <3FFEB6DA.8000905@trust-factory.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