Re: random observations while testing with a 1,8B row

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: random observations while testing with a 1,8B row
Дата
Msg-id 20011.1142114986@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: random observations while testing with a 1,8B row  (Hannu Krosing <hannu@skype.net>)
Список pgsql-hackers
Hannu Krosing <hannu@skype.net> writes:
> At some point I had to compress a very busily updated table. I used the
> following approach:
> [ move a few rows at a time ]

We could possibly do something similar with VACUUM FULL as well: once
maintenance_work_mem is filled, start discarding per-page data to stay
under the memory limit.  This would mean that some area near the middle
of the table remains uncompacted, but it would allow putting an upper
bound on the time and space used by any one pass of VACUUM FULL ...
        regards, tom lane


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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: random observations while testing with a 1,8B row
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: pg_freespacemap question