Re: autovacuum and immediate shutdown issues

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: autovacuum and immediate shutdown issues
Дата
Msg-id
7946.1255973254@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
autovacuum and immediate shutdown issues Brad Nicholson <bnichols@ca.afilias.info>
Re: autovacuum and immediate shutdown issues Tom Lane <tgl@sss.pgh.pa.us>
Re: autovacuum and immediate shutdown issues Brad Nicholson <bnichols@ca.afilias.info>
Re: autovacuum and immediate shutdown issues Tom Lane <tgl@sss.pgh.pa.us>
Re: autovacuum and immediate shutdown issues Scott Marlowe <scott.marlowe@gmail.com>
Re: autovacuum and immediate shutdown issues Brad Nicholson <bnichols@ca.afilias.info>
Re: autovacuum and immediate shutdown issues Scott Marlowe <scott.marlowe@gmail.com>
Re: autovacuum and immediate shutdown issues Brad Nicholson <bnichols@ca.afilias.info>
Re: autovacuum and immediate shutdown issues Tom Lane <tgl@sss.pgh.pa.us>
Re: autovacuum and immediate shutdown issues Scott Marlowe <scott.marlowe@gmail.com>
Re: autovacuum and immediate shutdown issues Christophe Pettus <xof@thebuild.com>
Re: autovacuum and immediate shutdown issues Brad Nicholson <bnichols@ca.afilias.info>
Re: autovacuum and immediate shutdown issues Tom Lane <tgl@sss.pgh.pa.us>
Re: autovacuum and immediate shutdown issues Brad Nicholson <bnichols@ca.afilias.info>
Re: autovacuum and immediate shutdown issues Tom Lane <tgl@sss.pgh.pa.us>
Re: autovacuum and immediate shutdown issues Brad Nicholson <bnichols@ca.afilias.info>
Scott Marlowe  writes:
> All of this is completely besides the point that a database that's
> been shutdown immediately / had the power cord yanked comes back up
> and doesn't start autovacuuming automatically, which seems a
> non-optimal behaviour.

It'll start as soon as you've modified enough rows.  The absolute worst
case behavior is that table bloat reaches twice the level it would have
otherwise, or pg_statistic data becomes twice as out of date as it would
have otherwise.

Now, if your server's MTBF is less than the autovac interval, you could
indeed have an accumulating problem ... but I suggest that in that
situation you've got other issues to fix.

			regards, tom lane
В списке pgsql-general по дате отправления
От: Brad Nicholson
Дата:
От: Gerhard Wiesinger
Дата:
FAQ