Re: [RFC, POC] Don't require a NBuffer sized PrivateRefCount array of local buffer pins

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [RFC, POC] Don't require a NBuffer sized PrivateRefCount array of local buffer pins
Date: 2014-04-09 09:34:42
Message-ID: CA+U5nMK1SoSbWm_i024KMLn+AX_mNm7Z4+bp-93rjp0m9gk0dw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 21 March 2014 14:22, Andres Freund <andres(at)2ndquadrant(dot)com> wrote:

> That seems to work fairly well. On the few tests I could run on my
> laptop - I've done this during a flight - it's a small performance win
> in all cases I could test. While saving a fair amount of memory.

We've got to the stage now that saving this much memory is essential,
so this patch is a must-have.

The patch does all I would expect and no more, so approach and details
look good to me.

Performance? Discussed many years ago, but I suspect the micro-tuning
of those earlier patches wasn't as good as it is here.

--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2014-04-09 09:41:46 ALTER TABLE set reloptions
Previous Message Peter Geoghegan 2014-04-09 08:40:39 Re: default opclass for jsonb (was Re: Call for GIST/GIN/SP-GIST opclass documentation)