pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Greg Smith <gsmith@gregsmith.com>
To: pgsql-performance@postgresql.org
Subject: Re: Volunteer to build a configuration tool
Date: Sat, 23 Jun 2007 15:28:17 -0400 (EDT)
Message-ID: <Pine.GSO.4.64.0706231522460.1349@westnet.com> (raw )
In-Reply-To: <A3AC4FA47DC0B1458C3E5396E685E63302395E74@SAB-DC1.sab.uiuc.edu >
References: <A3AC4FA47DC0B1458C3E5396E685E63302395E53@SAB-DC1.sab.uiuc.edu >
<1182298719.4482.133.camel@ipso.snappymail.ca >
<Pine.GSO.4.64.0706200040001.7594@westnet.com >
<7621.1182318230@sss.pgh.pa.us >
<Pine.GSO.4.64.0706200224430.16657@westnet.com >
<9001.1182323187@sss.pgh.pa.us >
<op.tt7mn0m9cigqcu@apollo13 >
<Pine.GSO.4.64.0706201044100.9089@westnet.com >
<A3AC4FA47DC0B1458C3E5396E685E63302395E6C@SAB-DC1.sab.uiuc.edu >
<Pine.GSO.4.64.0706210244340.29867@westnet.com >
<A3AC4FA47DC0B1458C3E5396E685E63302395E74@SAB-DC1.sab.uiuc.edu >
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
progress.
--
* Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD
view thread (33+ messages) latest in thread
Message-ID: <Pine.GSO.4.64.0706231522460.1349@westnet.com>
Permalink: ../Pine.GSO.4.64.0706231522460.1349@westnet.com/
Also on: postgresql.org/message-id/Pine.GSO.4.64.0706231522460.1349@westnet.com
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: gsmith@gregsmith.com
Subject: Re: Volunteer to build a configuration tool
In-Reply-To: <Pine.GSO.4.64.0706231522460.1349@westnet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox