From: | Tomas Vondra <tv(at)fuzzy(dot)cz> |
---|---|
To: | pgsql-performance(at)postgresql(dot)org |
Subject: | Re: since when has pg_stat_user_indexes.idx_scan been counting? |
Date: | 2011-05-12 18:19:41 |
Message-ID: | 4DCC24BD.9040900@fuzzy.cz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-performance |
Dne 12.5.2011 17:39, Willy-Bas Loos napsal(a):
> Hi,
>
> We have some indexes that don't seem to be used at all.
> I'd like to know since when they have not been used.
> That is, the time when postgres started counting to reach the number
> that is in pg_stat_user_indexes.idx_scan
>
> Is there a way to retrieve that from the database ?
BTW it's really really tricky to remove indexes once they're created.
What if the index is created for a single batch process that runs once a
year to close the fiscal year etc?
So be very careful about this.
Tomas
From | Date | Subject | |
---|---|---|---|
Next Message | raghu ram | 2011-05-12 18:22:53 | Re: [PERFORM] since when has pg_stat_user_indexes.idx_scan been counting? |
Previous Message | Tomas Vondra | 2011-05-12 18:18:05 | Re: since when has pg_stat_user_indexes.idx_scan been counting? |
From | Date | Subject | |
---|---|---|---|
Next Message | raghu ram | 2011-05-12 18:22:53 | Re: [PERFORM] since when has pg_stat_user_indexes.idx_scan been counting? |
Previous Message | Tomas Vondra | 2011-05-12 18:18:05 | Re: since when has pg_stat_user_indexes.idx_scan been counting? |