Re: index-only scans

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема Re: index-only scans
Дата
Msg-id CAMkU=1xM5FRARtv3XhmnNR1utQJpSnm1xff6npog-zMr0W6LKg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: index-only scans  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: index-only scans
Список pgsql-hackers
On Fri, Oct 7, 2011 at 11:40 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> Please find attached a patch implementing a basic version of
>> index-only scans.
>
> I'm making some progress with this, but I notice what seems like a
> missing feature: there needs to be a way to turn it off.  Otherwise
> performance comparisons will be difficult to impossible.
>
> The most obvious solution is a planner control GUC, perhaps
> "enable_indexonlyscan".  Anyone object, or want to bikeshed the name?
>

Currently I can't force an indexonlyscan over an indexscan, because of
the way the enable_* variables work.

Should setting enable_indexscan=off also disable index-only scans (the
current behavior) in addition to plain index scans?

By way of precedent, enable_indexscan=off does not disable Bitmap Index Scan.

Cheers,

Jeff


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Call stacks and RAISE INFO
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Pushing ScalarArrayOpExpr support into the btree index AM