Skip site navigation (1) Skip section navigation (2)

Re: Bloated Table

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christophe <xof(at)thebuild(dot)com>
Cc: Pg - General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Bloated Table
Date: 2009-05-28 00:23:27
Message-ID: 21548.1243470207@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-general
Christophe <xof(at)thebuild(dot)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

In response to

pgsql-general by date

Next:From: Jeff DavisDate: 2009-05-28 00:54:27
Subject: Re: What is the right way to deal with a table with rows that are not in a random order?
Previous:From: ChristopheDate: 2009-05-27 23:59:42
Subject: Re: Bloated Table

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group