Re: Lossy Index Tuple Enhancement (LITE)

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Lossy Index Tuple Enhancement (LITE)
Date: 2016-08-04 17:27:20
Message-ID: 20160804172720.GQ1702@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Aug 4, 2016 at 06:03:34PM +0100, Simon Riggs wrote:
> On 4 August 2016 at 02:13, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
>
> > How do plan to clear the bitmask so it, over time, doesn't end up being
> > all-set?
>
> I don't have a plan, though thoughts welcome.
>
> Similar situation that our current indexes don't recover from bloat, a
> situation made worse by non-HOT updates.
>
> So, we have a choice of which disadvantage to accept.
>
>
> > Also, why not use this bitmap for all indexes, not just update chains?
>
> I don't understand where you get this update chains thing from.
>
> The bitmap can apply to multiple tuples on one page, which is described.

I am asking if we could use this idea for all rows on a page, not just
HOT updated, e.g. we have five rows that have col1=4 in an index --- why
not just use on index pointer for all of them, with a bitmap to point to
the possible matches?

--
Bruce Momjian <bruce(at)momjian(dot)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 +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Claudio Freire 2016-08-04 17:28:12 Re: Lossy Index Tuple Enhancement (LITE)
Previous Message Andres Freund 2016-08-04 17:23:19 Re: Heap WARM Tuples - Design Draft