Re: Strange cost computation? - Mailing list pgsql-hackers

From Stephan Szabo
Subject Re: Strange cost computation?
Date
Msg-id 20021030081123.H31599-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Re: Strange cost computation?  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
List pgsql-hackers
On Wed, 30 Oct 2002, Stephan Szabo wrote:

> On 29 Oct 2002, Ives Landrieu wrote:
>
> > Hi,
> >
> > Can anybody explain the following results when using EXPLAIN,
> > one time with enable_seqscan=on and one time with enable_seqscan=off.
> > What I don't understand is that the nodes created are the same
> > (index scan, seq scan), but the costs differ.
>
> Enable seq scan actually just sets a large cost disbenefit to seq scans.

Boy, that sentence sure didn't make sense.  enable_seqscan=off actually
gives a large cost disbenefit to seqscans.



pgsql-hackers by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Strange cost computation?
Next
From: Paul Ramsey
Date:
Subject: Re: OO future