pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Pavan Deolasee <pavan.deolasee@gmail.com>
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Heap WARM Tuples - Design Draft
Date: Thu, 4 Aug 2016 13:49:43 -0400
Message-ID: <20160804174943.GR1702@momjian.us> (raw)
In-Reply-To: <CABOikdMmRhTcPzi9T9-JiMfWni4-KLaymNF1QetZdprjT_ACQg@mail.gmail.com>
References: <CABOikdMop5Rb_RnS2xFdAXMZGSqcJ-P-BY2ruMd+buUkJ4iDPw@mail.gmail.com>
	<20160804170553.GL1702@momjian.us>
	<CANP8+jJe97JEZ9Na_b0Q1nNSV_jNV27SwP-2mH03Dy3ersOVtQ@mail.gmail.com>
	<20160804171959.GO1702@momjian.us>
	<CABOikdMmRhTcPzi9T9-JiMfWni4-KLaymNF1QetZdprjT_ACQg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On Thu, Aug  4, 2016 at 11:04:49PM +0530, Pavan Deolasee wrote:
> If the root tuple still exists, we store the WARM flag (or
> HEAP_RECHECK_REQUIRED as used in the original post) in the tuple header itself.
> When the root tuple becomes dead and HOT prune decides to replace it with a
> LP_REDIRECT line pointer, the information is moved to lp_len (which is
> currently set to 0 for LP_REDIRECT items). Does that answer your question?

Ah, brilliant!

-- 
  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: <20160804174943.GR1702@momjian.us>
Permalink:  ../20160804174943.GR1702@momjian.us/
Also on:    postgresql.org/message-id/20160804174943.GR1702@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, pavan.deolasee@gmail.com, simon@2ndquadrant.com
  Subject: Re: Heap WARM Tuples - Design Draft
  In-Reply-To: <20160804174943.GR1702@momjian.us>
  References: <CABOikdMop5Rb_RnS2xFdAXMZGSqcJ-P-BY2ruMd+buUkJ4iDPw@mail.gmail.com> <20160804170553.GL1702@momjian.us> <CANP8+jJe97JEZ9Na_b0Q1nNSV_jNV27SwP-2mH03Dy3ersOVtQ@mail.gmail.com> <20160804171959.GO1702@momjian.us> <CABOikdMmRhTcPzi9T9-JiMfWni4-KLaymNF1QetZdprjT_ACQg@mail.gmail.com> <20160804174943.GR1702@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