Re: How to avoid database bloat

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to avoid database bloat
Дата
Msg-id 13178.1117719939@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: How to avoid database bloat  ("Mindaugas Riauba" <mind@bi.lt>)
Список pgsql-performance
"Mindaugas Riauba" <mind@bi.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

В списке pgsql-performance по дате отправления:

Предыдущее
От: "Martin Fandel"
Дата:
Сообщение: Re: postgresql-8.0.1 performance tuning
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Moving pg_xlog