Re: optimum settings for dedicated box - Mailing list pgsql-general

From Jim C. Nasby
Subject Re: optimum settings for dedicated box
Date
Msg-id 20050831050314.GR77007@pervasive.com
Whole thread Raw
In response to Re: optimum settings for dedicated box  (Ian Harding <harding.ian@gmail.com>)
Responses Re: optimum settings for dedicated box  (Matthew Peter <survivedsushi@yahoo.com>)
List pgsql-general
On Tue, Aug 30, 2005 at 09:43:19PM -0700, Ian Harding wrote:
> Mine in similar, and the only thing I have changed from defaults is
> work_mem.  It made certain complex queries go from taking forever to
> taking seconds.  I have a database connection pool limited to 10
> connections, so I set it to 10MB.  That means (to me, anyway) that
> work_mem will never gobble more then 100MB.  Seems OK since I have
> 1GB.

That's not totally true. A single query can use work_mem for multiple
steps, so if work_mem is 10MB a single query could end up using 20MB,
30MB, or even more.
--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software        http://pervasive.com        512-569-9461

pgsql-general by date:

Previous
From: Ian Harding
Date:
Subject: Re: optimum settings for dedicated box
Next
From: gokulnathbabu manoharan
Date:
Subject: Re: Invalid page header in pg_class