From: Andreas Fröde <andreas@spider-net.de>
To: pgsql-general@lists.postgresql.org
Subject: Re: Findout long unused tables in database
Date: Tue, 27 Sep 2022 14:12:08 +0200
Message-ID: <c2b95b94-94cd-64bb-9acb-cf7236fda67a@spider-net.de> (raw)
In-Reply-To: <bf5d2650-53b4-0908-40ed-2d26024bc712@a-kretschmer.de>
References: <3d837584-aca0-a8c1-a78b-442071ec723f@andreas.spider-net.de>
<bf5d2650-53b4-0908-40ed-2d26024bc712@a-kretschmer.de>
Hi Andreas,
> no really what you are looking for, i know, but we have
> pg_stat_user_tables. There can you find how often the table was queried
> in the past. Take the data, wait some time, take it again and compare.
Thanks for this idea. i will try it out.
Andreas
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: andreas@spider-net.de
Subject: Re: Findout long unused tables in database
In-Reply-To: <c2b95b94-94cd-64bb-9acb-cf7236fda67a@spider-net.de>
References: <3d837584-aca0-a8c1-a78b-442071ec723f@andreas.spider-net.de> <bf5d2650-53b4-0908-40ed-2d26024bc712@a-kretschmer.de> <c2b95b94-94cd-64bb-9acb-cf7236fda67a@spider-net.de>
* 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