From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Unused indexes
Date: Sat, 1 Dec 2018 05:24:45 -0600
Message-ID: <df259502-5c03-6f4a-93de-7706924a97b0@gmail.com> (raw)
For indexes that existed before the cluster was last started, and for which
REINDEX hasn't been run on them since the cluster was last started... is it
valid to say that an index has not been used since the cluster was started
if these three pg_stat_all_indexes fields all have a value of 0?
idx_scan
idx_tup_read
idx_tup_fetch
If it matters, the version is 9.6.6.
Thanks
--
Angular momentum makes the world go 'round.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: ronljohnsonjr@gmail.com
Subject: Re: Unused indexes
In-Reply-To: <df259502-5c03-6f4a-93de-7706924a97b0@gmail.com>
References: <df259502-5c03-6f4a-93de-7706924a97b0@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox