Re: different query plan for same select

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jörg Schulz <jschulz(at)sgbs(dot)de>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: different query plan for same select
Date: 2003-07-23 15:21:06
Message-ID: 13276.1058973666@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

=?iso-8859-1?q?J=F6rg=20Schulz?= <jschulz(at)sgbs(dot)de> writes:
> 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...

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2003-07-23 15:43:21 Re: factoring problem with view in 7.3.3
Previous Message Stephan Szabo 2003-07-23 15:02:49 Re: Performance hit of foreign key constraints?