Re: Visibility map thoughts

Поиск
Список
Период
Сортировка
От Mark Mielke
Тема Re: Visibility map thoughts
Дата
Msg-id 4730659C.2060607@mark.mielke.cc
обсуждение исходный текст
Ответ на Re: Visibility map thoughts  (Simon Riggs <simon@2ndquadrant.com>)
Ответы Re: Visibility map thoughts  (Andrew Dunstan <andrew@dunslane.net>)
Re: Visibility map thoughts  ("Marko Kreen" <markokr@gmail.com>)
Re: Visibility map thoughts  (Heikki Linnakangas <heikki@enterprisedb.com>)
Re: Visibility map thoughts  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-hackers
Simon Riggs wrote:
> On Mon, 2007-11-05 at 09:52 +0000, Heikki Linnakangas wrote:
> I'm racking my brain trying to think of a query that will benefit from
> index-only scans without specifically creating covered indexes. Apart
> from count(*) queries and RI lookups. I can't see RI lookups being much
> cheaper with this technique, do you see something there
I'm not sure what RI lookup is. Sorry. :-)

My list would be:
- EXISTS / NOT EXISTS
- COUNT(*)
- Tables that are heavily updated - any case where the index entry often 
maps to a non-visible tuple.

Beyond that, yeah, I cannot think of other benefits.

Cheers,
mark

-- 
Mark Mielke <mark@mielke.cc>


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Visibility map thoughts
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: should I worry?