Re: [PERFORM] index stat

2007-11-07 Thread Kevin Grittner
>>> On Mon, Nov 5, 2007 at 10:42 AM, in message <[EMAIL PROTECTED]>, "Campbell, Lance" <[EMAIL PROTECTED]> wrote: > How can I [. . .] get rid of some unnecessary indexes Here's what I periodically run to look for unused indexes: select relname, indexrelname from pg_stat_user_indexes where

[PERFORM] index stat

2007-11-05 Thread Campbell, Lance
PostgreSQL:8.2.4 I am collecting statistics info now on my database. I have used the following two queries: select * from pg_stat_all_indexes; select * from pg_statio_all_indexes; How can I use the information from these two queries to better optimize my indexes? Or maybe even get ri