On Tuesday February 10 2004 11:17, Tom Lane wrote:
>
> Well, if you go *really* small then you find a lot of CPU time gets
> wasted shuffling data from kernel cache to PG cache.  The sweet spot
> for theory (1) seems to be to set shared_buffers in the range of 1000 to
> 10000 buffers.  (Time was that that was a serious amount of RAM, but
> not any more...)

In theory (1), any consensus on what criteria one ought to use when deciding 
between 1000 and 10000?

In general, would it be true to say that if one does *not* anticipate 
contention for kernel disk cache space from non-DB processes (e.g., the 
dedicated db server), then you probably want to use theory (1)?  If one 
*does* anticipate such contention (e.g. the all-on-one-box web-db app), 
then you probably want to use theory (2) in order to ensure an adequate 
cache?

Ed



---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to