Skip site navigation (1) Skip section navigation (2)

Re: Bad planner results

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg Stark <gsstark(at)mit(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Bad planner results
Date: 2004-08-24 14:57:13
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
Greg Stark <gsstark(at)mit(dot)edu> writes:
> I think this is just a bad case of "nested loops are costed wrong".

Looks to me like a statistical failure.  Why does it think there will be
4000 rows out of that join when there are only 93?

			regards, tom lane

In response to

pgsql-general by date

Next:From: Tom LaneDate: 2004-08-24 15:04:49
Subject: Re: pg_dump in stand alone backend
Previous:From: Jeff AmielDate: 2004-08-24 14:56:54
Subject: pg_stat_activity versus ps

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group