VACUUM ANALYZE--how often?

Поиск
Список
Период
Сортировка
От jboes@nexcerpt.com (Jeff Boes)
Тема VACUUM ANALYZE--how often?
Дата
Msg-id d40a65a1.0201150815.c29c95a@posting.google.com
обсуждение исходный текст
Ответы Re: VACUUM ANALYZE--how often?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
Our database has about 70 tables.  Only a half-dozen or so have more
than 100K rows, and all of these change (99% inserts, 10K-50K rows)
during an average day.

VACUUM ANALYZE takes over an hour, and it's edging up by a couple
minutes per day.

Is there a way to look at the DEBUG stats from the VACUUM command
(written to the postmaster log) to determine what the optimum interval
would be between VACUUMs? (Perhaps I could do three of the "big"
tables on odd-numbered days, and the rest on even-numbered days?)

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

Предыдущее
От: David Stanaway
Дата:
Сообщение: Re: Monitoring database
Следующее
От: Tom Lane
Дата:
Сообщение: Re: VACUUM ANALYZE--how often?