Skip site navigation (1) Skip section navigation (2)

Re: Volunteer to build a configuration tool

From: Greg Smith <gsmith(at)gregsmith(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Volunteer to build a configuration tool
Date: 2007-06-23 19:28:17
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-docspgsql-performance
On Thu, 21 Jun 2007, Campbell, Lance wrote:

> I have a PostgreSQL database that runs on a dedicated server.  The
> server has 24Gig of memory.  What would be the max size I would ever
> want to set the shared_buffers to if I where to relying on the OS for
> disk caching approach?  It seems that no matter how big your dedicated
> server is there would be a top limit to the size of shared_buffers.

It's impossible to say exactly what would work optimally in this sort of 
situation.  The normal range is 25-50% of total memory, but there's no 
hard reason for that balance; for all we know your apps might work best 
with 20GB in shared_buffers and only a relatively small 4GB left over for 
the rest of the OS to use.  Push it way up and and see what you get.

This is part of why the idea of an "advanced" mode for this tool is 
suspect.  Advanced tuning usually requires benchmarking with as close to 
real application data as you can get in order to make good forward 

* Greg Smith gsmith(at)gregsmith(dot)com Baltimore, MD

In response to


pgsql-docs by date

Next:From: Jim NasbyDate: 2007-06-26 00:19:01
Subject: Re: Volunteer to build a configuration tool
Previous:From: David GardnerDate: 2007-06-23 00:48:25
Subject: proposed FAQ entry

pgsql-performance by date

Next:From: Greg SmithDate: 2007-06-23 19:32:45
Subject: Re: PostgreSQL Configuration Tool for Dummies
Previous:From: Scott MarloweDate: 2007-06-22 22:24:07
Subject: Re: Slow join query

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group