Re: [PATCHES] default resource limits - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: [PATCHES] default resource limits
Date
Msg-id 4054.24.211.165.134.1135471590.squirrel@www.dunslane.net
Whole thread Raw
List pgsql-hackers
[moved to -hackers]

Petr Jelinek said:
> Andrew Dunstan wrote:
>>
>> Just because we can run with very little memory doesn't mean we have to.What is the point of having lots of memory
ifyou don't use it? We are
 
talking defaults here. initdb will still scale down on
>> resource-starved  machines.
>>
>
> Why not just give user few configs tuned to different things like mysql
>  does ? Or better, make it initdb option so it will try to set
> higher/lower limits depending on type of config.
>


And what settings will be tried by distros that automatically run initdb on
first startup?

I don't mind having an initdb option that tunes the settings tried, but that
doesn't remove the need to choose some defaults.

I'm not sure that I think mysql's setup is a good example to follow.

cheers

andrew





pgsql-hackers by date:

Previous
From: Kevin Brown
Date:
Subject: Re: Unsplitting btree index leaf pages
Next
From: Alvaro Herrera
Date:
Subject: Re: Fixing row comparison semantics