Re: Bloated Table - Mailing list pgsql-general

From Tom Lane
Subject Re: Bloated Table
Date
Msg-id 21548.1243470207@sss.pgh.pa.us
Whole thread Raw
In response to Re: Bloated Table  (Christophe <xof@thebuild.com>)
List pgsql-general
Christophe <xof@thebuild.com> writes:
> Given this, is there is a recommended way of detecting bloat in
> indices automatically, rather than just looking at them once in a
> while and saying, "Hm, that looks pretty big"?

contrib/pgstattuple works; it's just too expensive to run every
few minutes ...

            regards, tom lane

pgsql-general by date:

Previous
From: Christophe
Date:
Subject: Re: Bloated Table
Next
From: Jeff Davis
Date:
Subject: Re: What is the right way to deal with a table with rows that are not in a random order?