Re: Configuration Issue ? - Mailing list pgsql-performance

From Jim C. Nasby
Subject Re: Configuration Issue ?
Date
Msg-id 20061026190837.GC26892@nasby.net
Whole thread Raw
In response to Re: Configuration Issue ?  ("Mark Lonsdale" <mark.lonsdale@wysdm.com>)
List pgsql-performance
On Wed, Oct 25, 2006 at 05:31:29PM -0400, Mark Lonsdale wrote:
> Set my sort_mem to 8192

You really need to look at what your workload is before trying to tweak
sort_mem. With 8G of memory, sort_mem=400000 (~400MB) with only 10
active connections might be a good setting. It's usually better to get a
sort to fit into memory than spill to disk. Since you never mentioned
what kind of workload you have or how many active connections there are,
it's pretty much impossible to make a recommendation on that setting.
--
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)

pgsql-performance by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: OT: TCL vs Perl Re: commit so slow program looks frozen
Next
From: "Jim C. Nasby"
Date:
Subject: Re: VACUUMs take twice as long across all nodes