Re: Dead tuple ratio for table & index

From: lakshmi sravya <lakshmisravya51999(at)gmail(dot)com>
To: kamal deen <kamaldeendba(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Dead tuple ratio for table & index
Date: 2024-12-17 10:22:17
Message-ID: CAAujgu6O8vqbVq749XhrVHRE8XgRbRV_bWVpw59+5nn-eWYD6w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello SK,

you can use the pgstattuple extension, which provides exact table and
index bloat statistics.
https://www.postgresql.org/docs/current/pgstattuple.html
https://www.percona.com/blog/postgresql-tuple-level-statistics-with-pgstattuple/

Regards,
Sravya.

On Sat, Dec 14, 2024 at 3:29 AM kamal deen <kamaldeendba(at)gmail(dot)com> wrote:
>
> Hi All,
>
> Kindly share the query details to identify the dead tuples ratio at table & index level.
>
> We have noticed some of our partioned tables generating more WAL files during vacuumb.(around 50 to 60GB
>
> (We are in the plan to remove this manual job later since auto vacuum is enabled)
>
> Thanks in advance ☺️
>
> Regards,
> SK

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message kamal deen 2024-12-17 10:51:53 Re: Dead tuple ratio for table & index
Previous Message Narendran .j 2024-12-17 10:21:31 Postgres upgradation