Re: Dead Space Map for vacuum - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Dead Space Map for vacuum
Date
Msg-id 7992.1167320900@sss.pgh.pa.us
Whole thread Raw
In response to Re: Dead Space Map for vacuum  (Heikki Linnakangas <heikki@enterprisedb.com>)
List pgsql-hackers
Heikki Linnakangas <heikki@enterprisedb.com> writes:
> I experimented with a different DSM design last winter. I got busy with 
> other things and never posted it AFAIR, but the idea was to store a 
> bitmap in the special area on every 32k heap page. That had some advantages:

> * doesn't require a new dedicated shared memory area that needs to be 
> allocated and tuned.
> * doesn't introduce a (single) new global lwlock that might become hotspot.

I agree with doing something along that line (not necessarily with
putting the bits into existing heap pages, but anyway with keeping the
information on disk not in shared memory).  Our experience with the
existing FSM design has been uniformly negative; so I don't wish to add
still another shared memory area that requires tricky manual size
tuning.  I think sooner or later we'll need to redesign FSM so it's not
kept in a fixed-size shared memory area.  Let's not make that mistake
twice.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Recent SIGSEGV failures in buildfarm HEAD
Next
From: "Jie Zhang"
Date:
Subject: Re: Bitmap index thoughts