pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jörg Schulz <jschulz@sgbs.de>
To: pgsql-performance@postgresql.org
Subject: Re: different query plan for same select
Date: Thu, 24 Jul 2003 08:06:22 +0200
Message-ID: <200307240806.22941.jschulz@sgbs.de> (raw)
In-Reply-To: <13276.1058973666@sss.pgh.pa.us>
References: <200307231628.54295.jschulz@sgbs.de>
	<13276.1058973666@sss.pgh.pa.us>

> > I'm not very familar with the output of the explain command but can you
> > tell me why I get two different query plans?
>
> Judging from the suspiciously round numbers in the cost estimates,
> you've never done a VACUUM ANALYZE on any of these tables.  Try that and
> then see what plans you get...

Oops.. You were right!

Thank you anyway.

Jörg



view thread (3+ messages)

Message-ID: <200307240806.22941.jschulz@sgbs.de>
Permalink:  ../200307240806.22941.jschulz@sgbs.de/
Also on:    postgresql.org/message-id/200307240806.22941.jschulz@sgbs.de

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: jschulz@sgbs.de
  Subject: Re: different query plan for same select
  In-Reply-To: <200307240806.22941.jschulz@sgbs.de>
  References: <200307231628.54295.jschulz@sgbs.de> <13276.1058973666@sss.pgh.pa.us> <200307240806.22941.jschulz@sgbs.de>

* 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