Re: SSI bug? - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: SSI bug?
Date
Msg-id 4D948066020000250003C00B@gw.wicourts.gov
Whole thread Raw
In response to Re: SSI bug?  (Dan Ports <drkp@csail.mit.edu>)
Responses Re: SSI bug?
List pgsql-hackers
Dan Ports <drkp@csail.mit.edu> wrote:
> On Thu, Mar 31, 2011 at 11:06:30AM -0500, Kevin Grittner wrote:
>> The only thing I've been on the fence about is whether it
>> makes more sense to allocate it all up front or to continue to
allow
>> incremental allocation but set a hard limit on the number of
entries
>> allocated for each shared memory HTAB.  Is there a performance-
>> related reason to choose one path or the other?
>
> Seems like it would be marginally better to allocate it up front --
then
> you don't have the cost of having to split buckets later as it
grows.

The attached patch should cover that.

-Kevin


Attachment

pgsql-hackers by date:

Previous
From: Steve Crawford
Date:
Subject: Re: [GENERAL] Date conversion using day of week
Next
From: Heikki Linnakangas
Date:
Subject: Re: SSI bug?