pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Simon Riggs <simon@2ndquadrant.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Pavan Deolasee <pavan.deolasee@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Heap WARM Tuples - Design Draft
Date: Thu, 4 Aug 2016 13:21:26 -0400
Message-ID: <20160804172126.GP1702@momjian.us> (raw)
In-Reply-To: <CANP8+jK0cgJOKhCt57bTROobvs6+p9hta6yqySTayjMp3kdL5Q@mail.gmail.com>
References: <CABOikdMop5Rb_RnS2xFdAXMZGSqcJ-P-BY2ruMd+buUkJ4iDPw@mail.gmail.com>
	<20160804163118.564ftvsck6zfgawn@alap3.anarazel.de>
	<CANP8+jK30e9ZJthaCjQnTeiD+mEWpmXgZGVvLrJLgu1w3KOFSA@mail.gmail.com>
	<20160804171728.c3da4dlmxoxuh6ud@alap3.anarazel.de>
	<CANP8+jK0cgJOKhCt57bTROobvs6+p9hta6yqySTayjMp3kdL5Q@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On Thu, Aug  4, 2016 at 06:18:47PM +0100, Simon Riggs wrote:
> > Have you considered what it'd take to allow index pointers to allow to
> > point to "intermediate" root tuples? I.e. have some indexes point into
> > the middle of an update-chain, whereas others still point to the
> > beginning? There's certainly some complications involved with that, but
> > it'd also have the advantage in reducing the amount of rechecking that
> > needs to be done.
> 
> "Intermediate root tuples" was my first attempt at this and it didn't
> work. I'll dig up the details, some problem in VACUUM, IIRC.

I think the problem is that HOT chain pruning becomes almost impossible
except via VACUUM.

-- 
  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 +


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (75+ messages)  latest in thread

Message-ID: <20160804172126.GP1702@momjian.us>
Permalink:  ../20160804172126.GP1702@momjian.us/
Also on:    postgresql.org/message-id/20160804172126.GP1702@momjian.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: bruce@momjian.us, simon@2ndquadrant.com, andres@anarazel.de, pavan.deolasee@gmail.com
  Subject: Re: Heap WARM Tuples - Design Draft
  In-Reply-To: <20160804172126.GP1702@momjian.us>
  References: <CABOikdMop5Rb_RnS2xFdAXMZGSqcJ-P-BY2ruMd+buUkJ4iDPw@mail.gmail.com> <20160804163118.564ftvsck6zfgawn@alap3.anarazel.de> <CANP8+jK30e9ZJthaCjQnTeiD+mEWpmXgZGVvLrJLgu1w3KOFSA@mail.gmail.com> <20160804171728.c3da4dlmxoxuh6ud@alap3.anarazel.de> <CANP8+jK0cgJOKhCt57bTROobvs6+p9hta6yqySTayjMp3kdL5Q@mail.gmail.com> <20160804172126.GP1702@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox