Re: initdb profiles - Mailing list pgsql-hackers

From Jim C. Nasby
Subject Re: initdb profiles
Date
Msg-id 20050911172048.GB7630@pervasive.com
Whole thread Raw
In response to Re: initdb profiles  (Greg Stark <gsstark@mit.edu>)
List pgsql-hackers
On Sun, Sep 11, 2005 at 12:15:01PM -0400, Greg Stark wrote:
> > It'd be nice to get out from under the fixed-size-shmem restriction, but
> > I don't know any very portable way to do that.  
> 
> Without knowing that part of the code at all it seems to me the logical
> approach would be to make the fsm steal its pages out of the shared buffers
> allocation. That is, you specify a total amount of shared memory to allocate
> and Postgres decides how much of it to use for shared buffers and how much for
> fsm.

FWIW, I know this is how DB2 does things, and I think Oracle's the same.
We probably still want some kind of limit so it doesn't blow the buffer
cache completely out.
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: -fPIC
Next
From: Alvaro Herrera
Date:
Subject: Re: random system table corruption ...