"Chris Hoover" <revoohc(at)gmail(dot)com> writes:
> If there has been no scans on an index (as according to
> pg_stat_user_indexes), why is pg_statio_user_indexes showing non 0
> values in idx_blks_hit/read?
I grow weary, but I think that "scan" is only incremented by commencing
a SELECT search using the index, whereas the block-level counts are also
incremented when the index is modified by an insert or update. You may
be looking at indexes that are eating update cycles but not being used
for anything important...
regards, tom lane
In response to
pgsql-performance by date
|Next:||From: Guillaume Smet||Date: 2007-11-09 07:52:49|
|Subject: Re: [HACKERS] Estimation problem with a LIKE clause containing a /|
|Previous:||From: Tom Lane||Date: 2007-11-09 02:08:34|
|Subject: Re: [HACKERS] Estimation problem with a LIKE clause containing a / |