Re: Lossy Index Tuple Enhancement (LITE)

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Lossy Index Tuple Enhancement (LITE)
Дата
Msg-id 20160804003402.GE1702@momjian.us
обсуждение исходный текст
Ответ на Re: Lossy Index Tuple Enhancement (LITE)  (Simon Riggs <simon@2ndquadrant.com>)
Ответы Re: Lossy Index Tuple Enhancement (LITE)  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On Thu, Aug  4, 2016 at 01:16:20AM +0100, Simon Riggs wrote:
> > 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.
> 
> The insertion algorithm is described. Doesn't seem complicated to me.

Ah, I see it now:
As UPDATEs occur we request inserts into the index. If a lossy indexpointer already exists that covers the new
linepointerthen we skipthe index insert, optimizing writes to the index.
 

I thought you meant "already exists" just means it matches the existing
range.  I was unclear that was the entire page.

--  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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Lossy Index Tuple Enhancement (LITE)
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Way to access LSN (for each transaction) by directly talking to postgres?