finding unused indexes?

Поиск
Список
Период
Сортировка
От George Pavlov
Тема finding unused indexes?
Дата
Msg-id 8C5B026B51B6854CBE88121DBF097A863329E8@ehost010-33.exch010.intermedia.net
обсуждение исходный текст
Ответ на Re: Joining a result set from four (4) tables  (John Tregea <john@debraneys.com>)
Ответы Re: finding unused indexes?  ("Jim Buttafuoco" <jim@contactbda.com>)
Re: finding unused indexes?  (Brad Nicholson <bnichols@ca.afilias.info>)
Список pgsql-sql
Anybody have a clever way to quickly find whether there are any unused
indexes in a PG DB? One way I have done is to take queries from the DB
log, prepend an explain to each and grep the results, but I am wondering
if there are either any index  usage stats maintained somewhere inside
Postgres or if there is a slicker/less cumbersome way of doing it. Also
indexes used by functions are hard to simulate that way.

George


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

Предыдущее
От: John Tregea
Дата:
Сообщение: Re: Joining a result set from four (4) tables
Следующее
От: "Jim Buttafuoco"
Дата:
Сообщение: Re: finding unused indexes?