Re: Table Bloat still there after the Vacuum

From: Cédric Villemain <cedric(dot)villemain(dot)debian(at)gmail(dot)com>
To: akp geek <akpgeek(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Table Bloat still there after the Vacuum
Date: 2010-04-26 15:22:54
Message-ID: n2me94e14cd1004260822z2bfc75f6n3fd35af3f4caad8e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2010/4/26 akp geek <akpgeek(at)gmail(dot)com>:
> Hi All -
>                   I have a table bloated with following details
> rows:29431 pages:516039 shouldbe:534 (966.4X) wasted size:4223016960 (3 GB)
> *

I think this info come from check_postgres nagios script.
As said in the doc, this info is not 100% sure : it depend on the last
analyze *and* the type the columns *and* the distribution of data in
those columns.
I suggest you to check the pg_stats.avg_width relative to this table.

And, vacuum verbose information is good for diagnostics...

>                   I did  a vacuum on the database and also I did vacuumdb
> full on the table. Still there is no change. Can you please suggest if there
> is any other operation that can be done to take care of the issue
> Thanks for the help
>
> Regards

--
Cédric Villemain

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message akp geek 2010-04-26 15:27:10 Re: Table Bloat still there after the Vacuum
Previous Message Bill Moran 2010-04-26 14:55:35 Re: Table Bloat still there after the Vacuum