Re: patch submission: truncate trailing nulls from heap rows to reduce the size of the null bitmap

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jameison Martin <jameisonb(at)yahoo(dot)com>
Cc: Simon Riggs <simon(at)2ndQuadrant(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: patch submission: truncate trailing nulls from heap rows to reduce the size of the null bitmap
Date: 2012-08-10 00:06:19
Message-ID: 8313.1344557179@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jameison Martin <jameisonb(at)yahoo(dot)com> writes:
> [separate topic: pluggable heap manager]
> I'm quite interested in pursuing more aggressive compression
> strategies, and I'd like to do so in the context of the heap
> manager. I'm exploring having a pluggable heap manager implementation
> and would be interested in feedback on that as a general approach. My
> thinking is that I'd like to be able to have PostgreSQL support
> multiple heap implementations along the lines of how multiple index
> types are supported, though probably only the existing heap manager
> implementation would be part of the actual codeline.

There's been some previous talk about "pluggable heap managers"; you
might try searching our archives. Unfortunately the story is not very
good, especially if what you are really interested in is playing games
with the format of heap tuples. We just haven't got an abstraction
boundary that isolates that very well. I think the first thing that
would have to be worked out before we could even discuss having multiple
heap managers is where the abstraction boundary would get drawn and how
we'd have to refactor existing code to make it fly.

> If I do decide to pursue this, can anyone suggest the best way solicit
> feedback?

Usually people just post proposals for discussion on pgsql-hackers.
Obviously, at the early stages such a proposal might be pretty vague,
but that's fine as long as you can explain what kind of feedback you're
hoping for.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2012-08-10 05:25:39 Re: [WIP] Performance Improvement by reducing WAL for Update Operation
Previous Message Tom Lane 2012-08-09 23:15:26 Re: WIP patch for consolidating misplaced-aggregate checks