Re: No heap lookups on index - Mailing list pgsql-hackers

From Tom Lane
Subject Re: No heap lookups on index
Date
Msg-id 6082.1137634360@sss.pgh.pa.us
Whole thread Raw
In response to Re: No heap lookups on index  ("Jim C. Nasby" <jnasby@pervasive.com>)
List pgsql-hackers
"Jim C. Nasby" <jnasby@pervasive.com> writes:
> Would this open the door for allowing tables to be maintained in CLUSTER
> order (at least at the block level if not within the blocks)? Though I
> have no idea how you'd handle page splits without a lot of pain

I think the way you'd attack that is by building the table with a pretty
low fill factor, so that there's room on each page for a number of
updates before you have to split.  Since the index AM is going to be
dictating space allocation, this is all in its hands.

The existing CLUSTER code would probably be totally inapplicable to
this sort of organization --- we'd have to provide some alternate code
path for index-organized heaps.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: No heap lookups on index
Next
From: "Dann Corbit"
Date:
Subject: Re: FW: Surrogate keys (Was: enums)