Re: Plans for solving the VACUUM problem

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: Plans for solving the VACUUM problem
Дата
Msg-id 3B049F5A.8714C713@tm.ee
обсуждение исходный текст
Ответ на Plans for solving the VACUUM problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> 
>> 
> Enough handwaving, what about specifics?
> 
> 1. Forget moving tuples from one page to another.  Doing that in a
> transaction-safe way is hugely expensive and complicated.  Lazy VACUUM
> will only delete dead tuples and coalesce the free space thus made
> available within each page of a relation.

If we really need to move a tuple we can do it by a regular update that 
SET-s nothing and just copies the tuple to another page inside a
separate 
transaction.

-------------------
Hannu


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Plans for solving the VACUUM problem
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: Plans for solving the VACUUM problem