pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Christoph Anton Mitterer <christoph.anton.mitterer@physik.uni-muenchen.de>
To: pgsql-admin@postgresql.org
Cc: Scott Marlowe <scott.marlowe@gmail.com>
Subject: Re: how to make PostgreSQL using "all" memory and chaching the DB completely there
Date: Thu, 21 Jul 2011 10:06:45 -0500
Message-ID: <4E27FA35020000250003F64F@gw.wicourts.gov> (raw)
In-Reply-To: <1311259235.3422.116.camel@fermat.scientia.net>
References: <1310642850.28621.37.camel@gar-ws-etp71.garching.physik.uni-muenchen.de>
	<CAOR=d=1B=0666y3rRkjhaeajVNes=AooGv4SGHn2Z0XPdKuC0w@mail.gmail.com>
	<1311259235.3422.116.camel@fermat.scientia.net>

Christoph Anton Mitterer
<christoph.anton.mitterer@physik.uni-muenchen.de>
wrote: 
 
> Well I'm still very unsure on how to configure many values...
> We've increased e.g. shared_buffers, temp_buffers, work_mem,
> maintenance_work_mem, max_stack_depth... and this greatly improved
> performance. But I can hardly judge to which values I should
> increase all these (and a few more).
 
Maybe the ellipses cover these, but wal_buffers and
checkpoint_segments should generally be adjusted, too.  I almost
always need to tweak some of the costing factors, too; but
appropriate settings there depend not only on your hardware, but
also your schema, data, and application mix.
 
The best source of information on this that I know is Greg Smith's
"PostgreSQL 9.0 High Performance" book.  (It also discusses older
versions, so don't let the "9.0" in the title put you off.)  Some of
these settings are best tuned through an iterative process of
monitoring while making small adjustments.
 
http://www.postgresql.org/docs/books/
 
-Kevin



view thread (4+ messages)

Message-ID: <4E27FA35020000250003F64F@gw.wicourts.gov>
Permalink:  ../4E27FA35020000250003F64F@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4E27FA35020000250003F64F@gw.wicourts.gov

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, christoph.anton.mitterer@physik.uni-muenchen.de, scott.marlowe@gmail.com
  Subject: Re: how to make PostgreSQL using "all" memory and chaching the DB completely there
  In-Reply-To: <4E27FA35020000250003F64F@gw.wicourts.gov>
  References: <1310642850.28621.37.camel@gar-ws-etp71.garching.physik.uni-muenchen.de> <CAOR=d=1B=0666y3rRkjhaeajVNes=AooGv4SGHn2Z0XPdKuC0w@mail.gmail.com> <1311259235.3422.116.camel@fermat.scientia.net> <4E27FA35020000250003F64F@gw.wicourts.gov>

* 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