Re: Help understanding stat numbers

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Help understanding stat numbers
Дата
Msg-id 1689.1194592136@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Help understanding stat numbers  ("Chris Hoover" <revoohc@gmail.com>)
Список pgsql-performance
"Chris Hoover" <revoohc@gmail.com> writes:
> If there has been no scans on an index (as according to
> pg_stat_user_indexes), why is pg_statio_user_indexes showing non 0
> values in idx_blks_hit/read?

I grow weary, but I think that "scan" is only incremented by commencing
a SELECT search using the index, whereas the block-level counts are also
incremented when the index is modified by an insert or update.  You may
be looking at indexes that are eating update cycles but not being used
for anything important...

            regards, tom lane

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

Предыдущее
От: "Chris Hoover"
Дата:
Сообщение: Help understanding stat numbers
Следующее
От: "Guillaume Smet"
Дата:
Сообщение: Re: [HACKERS] Estimation problem with a LIKE clause containing a /