agora inbox for pgsql-admin@postgresql.org
help / color / mirror / Atom feedFrom: Laurenz Albe <laurenz.albe@cybertec.at>
To: Keith Fiske <keith.fiske@crunchydata.com>
To: khan Affan <bawag773@gmail.com>
Cc: Wong, Kam Fook (TR Technology) <kamfook.wong@thomsonreuters.com>
Cc: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Subject: Re: How to detect if a postgresql gin index is bloated
Date: Fri, 26 Jul 2024 06:57:53 +0200
Message-ID: <5e5adf91196fadea03bc20575f6fc88cf003df5a.camel@cybertec.at> (raw)
In-Reply-To: <CAODZiv5UuqoisPSKsDeKve7F0Ge_j40O_+OzRTQZ8PHu2L4D-Q@mail.gmail.com>
References: <CH0PR03MB61009EF4F9B7457D754579F9FEAA2@CH0PR03MB6100.namprd03.prod.outlook.com>
<CAF4emOmq9p2zUvef7sTE2StmaGgOCnCp2wCDaYDWx=+c8Kgdwg@mail.gmail.com>
<CAODZiv5UuqoisPSKsDeKve7F0Ge_j40O_+OzRTQZ8PHu2L4D-Q@mail.gmail.com>
On Thu, 2024-07-25 at 23:01 -0400, Keith Fiske wrote:
> Any more insight on how to use those two options to actually calculate GIN bloat?
> From what I could tell pgstattuple didn't provide anything that could be used.
> I hadn't looked further into the other yet, but if you know how to do that already
> that info would be great.
I don't think that there is anything smarter than to create a new index with the
same definition and see if it is much smaller than the original index...
Yours,
Laurenz Albe
view thread (9+ messages) latest in thread
Message-ID: <5e5adf91196fadea03bc20575f6fc88cf003df5a.camel@cybertec.at>
Permalink: ../5e5adf91196fadea03bc20575f6fc88cf003df5a.camel@cybertec.at/
Also on: postgresql.org/message-id/5e5adf91196fadea03bc20575f6fc88cf003df5a.camel@cybertec.at
reply
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: laurenz.albe@cybertec.at, keith.fiske@crunchydata.com, bawag773@gmail.com, kamfook.wong@thomsonreuters.com, pgsql-admin@lists.postgresql.org
Subject: Re: How to detect if a postgresql gin index is bloated
In-Reply-To: <5e5adf91196fadea03bc20575f6fc88cf003df5a.camel@cybertec.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox