Index utilization - Mailing list pgsql-general

From kbarnard@kevinbarnard.net
Subject Index utilization
Date
Msg-id 832484F8-9481-42A5-9CDA-6339FC015CE1@kevinbarnard.net
Whole thread Raw
Responses Re: Index utilization
List pgsql-general
I am working on cleaning up a bloated database.  I have been
reindexing etc.  There appear to be a good number of never to almost
never used indexes.  I am looking in pg_stat_user_indexes which yields
some questions.

Assuming that the reset stats on server is not turned on how old are
stats?

Are there any good open source tools to monitor how often indexes are
used?

I was basically thinking of writing end of day numbers for the stats
in a table so I can plot index usage over a few months to see what is
getting used.  Does anybody see a problem with that?

Thanks in advance




pgsql-general by date:

Previous
From: Radoslaw Zielinski
Date:
Subject: Re: 8.4.0 bug - failure to enforce a foreign key constraint
Next
From: mito
Date:
Subject: Selecting rows by content of array type field