Re: [PERFORM] More detail on settings for pgavd?

Поиск
Список
Период
Сортировка
От Matthew T. O'Connor
Тема Re: [PERFORM] More detail on settings for pgavd?
Дата
Msg-id 3FBD4BC3.8030003@zeut.net
обсуждение исходный текст
Ответ на Re: [PERFORM] More detail on settings for pgavd?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:

>Chester Kustarz <chester@arbor.net> writes:
>
>
>>vacuum is to reclaim dead tuples. this means it depends on update and
>>delete. analyze depends on data values/distribution. this means it depends on
>>insert, update, and delete. thus the dependencies are slightly different
>>between the 2 operations, an so you can come up with use-cases that
>>justify running either more frequently.
>>
>>
>Agreed.
>
>

And that is why pg_autovacuum looks at insert, update and delete when
deciding to do an analyze, but only looks at update and delete when
deciding to do a vacuum.  In addition, this is why pg_autovacuum was
given knobs so that the vacuum and analyze thresholds can be set
independently.

Matthew


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PANIC: rename from /data/pg_xlog/0000002200000009
Следующее
От: Tom Lane
Дата:
Сообщение: Re: logical column position