I have tables that change a lot during the day, lots of data is deleted, modified and inserted.
I suspect that the tables and indexes on those tables might be bloated.
I've seen that there are extensions options for PostgreSQL that can check this, but I would like to avoid creating extensions in my database.
How can I get this information (table/index is bloated) without having to use PostgreSQL extensions (eg.:pgstattuple), using only native PostgreSQL 12 features.?
pgstattuple. Why do people so often ask questions like "how can I do X without Y", where Y is the proper solution for X? – Laurenz Albe Nov 12 '21 at 07:01pgstattupleis a "built-in" extension and available in every Postgres installation (at least installable in the same way as Postgres itself) – Nov 12 '21 at 08:10