Re: Lossy Index Tuple Enhancement (LITE)

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Lossy Index Tuple Enhancement (LITE)
Дата
Msg-id 20160803235600.GC1702@momjian.us
обсуждение исходный текст
Ответ на Re: Lossy Index Tuple Enhancement (LITE)  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Lossy Index Tuple Enhancement (LITE)  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-hackers
On Wed, Aug  3, 2016 at 07:28:52PM -0400, Bruce Momjian wrote:
> With LITE, you can avoid the creation of duplicate-value index entries
> for indexes without changed column values by using a bitmap in place of
> the tid item number (16 bits).  It can't remove dead tids.

How would you handle the case where there are two LITE index entries
pointing to two different update chains on the same page?  When you
search the page for the first heap chain, could the second index entry
find the same chain.  How would you know which index entry is which
chain?  Would you only add a LITE index entry when there isn't an
existing index entry for the same values and heap page?  That seems
quite complicated.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+                     Ancient Roman grave inscription +



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: regression test for extended query protocol
Следующее
От: Kyotaro HORIGUCHI
Дата:
Сообщение: Re: Possible duplicate release of buffer lock.