Re: Identifying "cold" data

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Identifying "cold" data
Date: 2022-02-25 02:48:32
Message-ID: 9f1103cf-6073-4552-fb0e-84862bb226c3@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On 2/24/22 12:37 PM, Joseph Hammerman wrote:
> Hi postgresql-admins,
>
> Has anyone put any thought or effort into figuring out how to measure the
> total volume of data in a database against *how much of it is hot*? I'm
> looking for some automatable approaches. Similarly, is there a way to
> measure rarely queried columns, or unused functions & triggers?

https://www.postgresql.org/docs/9.6/monitoring-stats.html

pg_stat_user_tables tells you how many records have been inserted, updated
and deleted since the instance was started. It does not, though, say *which*
records were updated,

--
Angular momentum makes the world go 'round.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Yogesh Mahajan 2022-02-25 04:48:08 Re: PGAdmin Multi User
Previous Message Marcia Rocha 2022-02-24 22:48:49 Re: postgresql14-contrib does not install with libpython 3.7