Andrew Dunstan <[EMAIL PROTECTED]> writes:
> Initdb does not currently make any attempt to discover the extent of 
> physical or virtual memory, it simply tries to start postgres with 
> certain shared_buffer settings, starting at 4000, and going down until 
> we get a success.

> max_fsm_pages is now fixed proportionally with shared_buffers, and I 
> guess we could do something similar with effective_cache_size, but since 
> IIRC this doesn't involve shared memory I'm inclined to agree with Tom 
> that it should just be fixed at some substantially higher level.

Right, the default shared_buffers doesn't have much of anything to do
with actual RAM size.  If the user has altered it, then it might (or
might not) ... but that doesn't help us for setting a default
effective_cache_size.

Barring objections, I'll change it to Josh Drake's suggestion of ~ 128Mb
(versus current 8Mb).

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to