Re: show Heap Fetches in EXPLAIN for index-only scans

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: show Heap Fetches in EXPLAIN for index-only scans
Дата
Msg-id CABUevEw8189hPjRoq70TVG0OzfjQwWoyit=h9XhOZFCxeuen9w@mail.gmail.com
обсуждение исходный текст
Ответ на show Heap Fetches in EXPLAIN for index-only scans  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: show Heap Fetches in EXPLAIN for index-only scans  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Fri, Jan 13, 2012 at 16:21, Robert Haas <robertmhaas@gmail.com> wrote:
> I think that people who are using index-only scans are going to want
> some way to find out the degree to which the scans are in fact
> index-only.
>
> So here's a 5-line patch that adds the number of heap fetches to the
> EXPLAIN ANALYZE output.  This might not be all the instrumentation
> we'll ever want here, but I think we at least want this much.

Agreed.

Would also be good to have counter sin pg_stat_* for this, since you'd
usually want to look at this kind of data over time as well. In your
plans? ;)

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Disabled features on Hot Standby
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: Disabled features on Hot Standby