Re: Minimum tuple threshold to decide last pass of VACUUM

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Minimum tuple threshold to decide last pass of VACUUM
Дата
Msg-id CA+TgmoZ19zMc=y0f3wipkE=RGGUJb63_y9Q2Wa5mK4fRr_XW4Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Minimum tuple threshold to decide last pass of VACUUM  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
On Mon, Aug 3, 2015 at 4:13 AM, Simon Riggs <simon@2ndquadrant.com> wrote:
> * For normal VACUUMs we should scan indexes only if (num_dead_tuples * 20) >
> (blocks to be scanned in any one index), which allows some index bloat but
> not much

I think this kind of heuristic is good, but I think we should expose a
setting for it.  There's no way for us to know without testing whether
the right value for that multiplier is 2 or 20 or 200 or 2000, and if
we don't make it easy to tweak, we'll never find out.  It may even be
workload-dependent.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Minimum tuple threshold to decide last pass of VACUUM
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: ON CONFLICT DO UPDATE using EXCLUDED.column gives an error about mismatched types