How reliable are the stats collector stats?

Поиск
Список
Период
Сортировка
От Eric Ridge
Тема How reliable are the stats collector stats?
Дата
Msg-id 0C5B8376-746C-11D8-9ADA-000A95BB5944@tcdi.com
обсуждение исходный текст
Ответы Re: How reliable are the stats collector stats?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
We've been running the stats collector for about a week now on a
heavily used production database (with all the various row/block level
gathering options enabled too).  This database, in terms of number of
tables and indexes is rather large.  About 100 tables, and many many
more indexes.

What we've found is that pg_stats_user_indexes shows a number indexes
that appear to be used at all (ie, zero's for idx_scan, x_tup_read, and
idx_tup_fetch columns).

Could pg_stats_user_indexes be lying?  Could I be misinterpreting the
data?

I realize the real question is "why aren't these indexes being used",
but that's something I need to figure out for myself.

thanks!

eric


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

Предыдущее
От: Jerry LeVan
Дата:
Сообщение: Re: Where are PL/pgsql definitions kept?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: postgres FROM clause problem