Re: Tables with lots of dead tuples despite autovacuum

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема Re: Tables with lots of dead tuples despite autovacuum
Дата
Msg-id CAMkU=1zTFNsCbuAtTDMFBKdf_BDPrN5bkkP0zfz11AmYh8ZWjA@mail.gmail.com
обсуждение исходный текст
Ответ на Tables with lots of dead tuples despite autovacuum  (Wells Oliver <wellsoliver@gmail.com>)
Список pgsql-general
On Wed, Sep 12, 2012 at 5:00 PM, Wells Oliver <wellsoliver@gmail.com> wrote:
> We have a few tables that are updated nightly on the order of deleting and
> inserting 500k records.

Out of how many in total?

> I assumed autovacuum would do its thing and clean up the dead tuples, but in
> looking at pg_stat_user_tables, I notice there are lots and lots of dead
> tuples, on the order of a 500-600k.

That is one day's worth.  If the tables undergo churn once a day, and
get vacuum once a day, that seems like a nice steady state.  I
wouldn't worry about it.

Cheers,

Jeff


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

Предыдущее
От: Sébastien Lorion
Дата:
Сообщение: Re: Amazon High I/O instances
Следующее
От: Wells Oliver
Дата:
Сообщение: replication requires redundant rule in pga_hba?