Re: How to avoid database bloat

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Mindaugas Riauba" <mind(at)bi(dot)lt>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: How to avoid database bloat
Date: 2005-06-02 13:45:39
Message-ID: 13178.1117719939@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Mindaugas Riauba" <mind(at)bi(dot)lt> writes:
>> First thing I'd suggest is to get a more detailed idea of exactly
>> what is bloating --- which tables/indexes are the problem?

> I think the most problematic table is this one. After vacuum full/reindex
> it was 20MB in size now (after 6 hours) it is already 70MB and counting.

AFAICT the vacuum is doing what it is supposed to, and the problem has
to be just that it's not being done often enough. Which suggests either
an autovacuum bug or your autovacuum settings aren't aggressive enough.

Which PG version is this exactly? Some of the earlier autovacuum
releases do have known bugs, so it'd be worth your while to update
if you're not on the latest point release of your series.

I don't know much about autovacuum settings, but if you'll show what
you're using someone can probably comment on them.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2005-06-02 14:23:23 Re: Moving pg_xlog
Previous Message Martin Fandel 2005-06-02 13:12:10 Re: postgresql-8.0.1 performance tuning