| From: | Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> |
|---|---|
| To: | Ives Landrieu <ives(dot)landrieu(at)ua(dot)ac(dot)be> |
| Cc: | <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Strange cost computation? |
| Date: | 2002-10-30 16:12:12 |
| Message-ID: | 20021030081123.H31599-100000@megazone23.bigpanda.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Paul Ramsey | 2002-10-30 16:24:56 | Re: OO future |
| Previous Message | Stephan Szabo | 2002-10-30 15:59:56 | Re: Strange cost computation? |