Re: Non-linear Performance - Mailing list pgsql-general

From Doug Fields
Subject Re: Non-linear Performance
Date
Msg-id 5.1.0.14.2.20020530120141.02b843f8@mail.pexicom.com
Whole thread Raw
In response to Re: Non-linear Performance  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Non-linear Performance
List pgsql-general
> >> Increasing SORT_MEM would help the constant factor, however...
> >>
> > What is the most amount of SORT_MEM it makes sense to allocate?
>
>I've never experimented with it, but certainly the standard default
>(512K = 0.5M) is pretty small for modern machines.  In a 2G machine
>I might try settings around 100M-500M to see what works best.  (Note

I currently use 1.4 gigs for "shared mem" in my database (out of 2G) - I
couldn't get PostgreSQL to run with more than that (it might be an OS
limit, Linux 2.2).

I also use 64 megs as a SORT_MEM setting, on the theory that 4 sorts at
once will leave just enough RAM for the rest of my system not to swap.

Cheers,

Doug



pgsql-general by date:

Previous
From: Doug Fields
Date:
Subject: Scaling with memory & disk planning (was Re: Non-linear Performance)
Next
From: Wei Wang
Date:
Subject: postgresql/php/apache installation question.