Re: pg_stat_all_indexes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Campbell, Lance" <lance(at)uiuc(dot)edu>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_stat_all_indexes
Date: 2007-11-02 15:26:50
Message-ID: 29832.1194017210@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Campbell, Lance" <lance(at)uiuc(dot)edu> writes:
> select * from pg_stat_all_indexes;
> My hope was to see if my indexes are being used. The values I got were
> all 0's for the columns: idx_scan, idx_tup_read, and idx_tup_fetch.

You aren't collecting these stats:

> #stats_block_level = off
> #stats_row_level = off

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Campbell, Lance 2007-11-02 16:40:42 Re: How do I identify the privileges a role has?
Previous Message Tom Lane 2007-11-02 15:25:01 Re: jumpstart - pgsql.v824