Re: Inserts or Updates - Mailing list pgsql-performance

From Ofer Israeli
Subject Re: Inserts or Updates
Date
Msg-id 217DDBC2BB1E394CA9E7446337CBDEF20102C056BFBD@il-ex01.ad.checkpoint.com
Whole thread Raw
In response to Re: Inserts or Updates  (Andy Colson <andy@squeakycode.net>)
Responses Re: Inserts or Updates
List pgsql-performance
Andy Colson wrote:
> Oh, I knew I'd seen index usage stats someplace.
>
> give this a run:
>
> select * from pg_stat_user_indexes where relname = 'SuperBigTable';
>
> http://www.postgresql.org/docs/current/static/monitoring-stats.html
>
> -Andy
>
> Scanned by Check Point Total Security Gateway.


Thanks.  We have begun analyzing the indexes and indeed found many are pretty useless and will be removed.

pgsql-performance by date:

Previous
From: Ofer Israeli
Date:
Subject: Re: Inserts or Updates
Next
From: Tom Lane
Date:
Subject: Re: index scan forward vs backward = speed difference of 357X slower!