Re: Delaying the planning of unnamed statements until Bind

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Delaying the planning of unnamed statements until Bind
Date: 2004-05-21 23:11:31
Message-ID: 40AE8CA3.1090105@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:

>Au contraire --- a full-table index scan can be vastly slower than a
>full-table seqscan. I think it's wishful thinking to assume that
>picking an indexscan is the right thing when we don't know any better.
>
>
>

I wish we could get this basic truth across to users somehow - I have
lost count of the number of times I have had to explain that the
crossover in cost between a sequential scan and an index scan occurs at
a surprisingly low proportion of a table in most cases.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2004-05-22 00:16:39 Re: Downloadable Mailing List Archives
Previous Message Tom Lane 2004-05-21 22:30:15 Re: Delaying the planning of unnamed statements until Bind