Re: How to find out unused indexes? - Mailing list pgsql-general

From Jeff Janes
Subject Re: How to find out unused indexes?
Date
Msg-id CAMkU=1wc8H_EjS-wTCaGQWgfVHdZrH-oLntyra77M56-EdR00g@mail.gmail.com
Whole thread Raw
In response to Re: How to find out unused indexes?  ("ascot.moss@gmail.com" <ascot.moss@gmail.com>)
List pgsql-general
On Tue, Sep 3, 2013 at 8:48 AM, ascot.moss@gmail.com
<ascot.moss@gmail.com> wrote:
> Thanks.
>
> how about  the case as follows?
>
> idx_scan = 0 and idx_tup_read = 0 and idx_tup_fetch = 0, but
> idx_blks_read is not 0 and idx_blks_hit is not 0
> ?

Maintaining an unused index still requires its blocks to be read.

Cheers,

Jeff


pgsql-general by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: store multiple rows with the SELECT INTO statement
Next
From: "Janek Sendrowski"
Date:
Subject: Re: store multiple rows with the SELECT INTO statement