Re: Index bloat, reindex weekly, suggestions etc?

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Index bloat, reindex weekly, suggestions etc?
Дата
Msg-id 48F88AE6.EE98.0025.0@wicourts.gov
обсуждение исходный текст
Ответ на Re: Index bloat, reindex weekly, suggestions etc?  ("Tory M Blue" <tmblue@gmail.com>)
Список pgsql-performance
>>> "Tory M Blue" <tmblue@gmail.com> wrote:

> psql $DB -c 'vacuum analyze verbose'""

That's fine; you're not using the FULL option.

> every night before I dump

Another thing that could cause bloat is a long-running transaction.
Check for that.  If your database is being updated during a pg_dump or
pg_dumpall, that would count as a long-running transaction.  You might
possibly want to look at going to the PITR backup technique for your
regular backups.

-Kevin

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

Предыдущее
От: "Tory M Blue"
Дата:
Сообщение: Re: Index bloat, reindex weekly, suggestions etc?
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Backup strategies