autovacuum strategy / parameters

Поиск
Список
Период
Сортировка
От Rick
Тема autovacuum strategy / parameters
Дата
Msg-id c2d2b6cf-895f-4a4b-aa8b-3adaac33c794@z3g2000yqz.googlegroups.com
обсуждение исходный текст
Ответы Re: autovacuum strategy / parameters
Список pgsql-performance
I have a DB with small and large tables that can go up to 15G.
For performance benefits, it appears that analyze has much less cost
than vacuum, but the same benefits?
I can’t find any clear recommendations for frequencies and am
considering these parameters:

Autovacuum_vacuum_threshold = 50000
Autovacuum_analyze_threshold = 10000
Autovacuum_vacuum_scale_factor = 0.01
Autovacuum_analyze_scale_factor = 0.005

This appears it will result in table analyzes occurring around 10,000
to 85,000 dead tuples and vacuum occuring around 50,000 to 200,000,
depending on the table sizes.

Can anyone comment on whether this is the right strategy and targets
to use?

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: Replacing Cursors with Temporary Tables
Следующее
От: norn
Дата:
Сообщение: Re: significant slow down with various LIMIT