Re: vacuum, performance, and MVCC

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: vacuum, performance, and MVCC
Дата
Msg-id 200606271618.k5RGINR27070@momjian.us
обсуждение исходный текст
Ответ на Re: vacuum, performance, and MVCC  (PFC <lists@peufeu.com>)
Ответы Re: vacuum, performance, and MVCC  (Greg Stark <gsstark@mit.edu>)
Список pgsql-hackers
PFC wrote:
> 
> > My idea is that if an UPDATE places the new tuple on the same page as
> > the old tuple, it will not create new index entries for any indexes
> > where the key doesn't change.
> 
>     Basically the idea behind preventing index bloat by updates is to have  
> one index tuple point to several actual tuples having the same value.
>     

The idea is not to avoid index bloat, but to allow heap reuse, and having
one index entry for multiple versions of an UPDATEd row is merely an
implementation detail.

--  Bruce Momjian   bruce@momjian.us EnterpriseDB    http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: vacuum, performance, and MVCC
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: vacuum, performance, and MVCC