pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Ron Peacetree <rjpeace@earthlink.net>
Cc: Yves Vindevogel <yves.vindevogel@implements.be>
Cc: pgsql-performance@postgresql.org
Subject: Re: Some help on buffers and other performance tricks
Date: Wed, 9 Nov 2005 20:07:52 -0300
Message-ID: <20051109230752.GC8230@surnet.cl> (raw)
In-Reply-To: <17035565.1131571489652.JavaMail.root@elwamui-hound.atl.sa.earthlink.net>
References: <17035565.1131571489652.JavaMail.root@elwamui-hound.atl.sa.earthlink.net>

Ron Peacetree wrote:
> 0= Optimize your schema to be a tight as possible.  Your goal is to give yourself the maximum chance that everything you want to work on is in RAM when you need it.
> 1= Upgrade your RAM to as much as you can possibly strain to afford.  4GB at least.  It's that important.
> 2= If the _entire_ DB does not fit in RAM after upgrading your RAM, the next step is making sure your HD IO subsystem is adequate to your needs.
> 3= Read the various pg tuning docs that are available and Do The Right Thing.
> 4= If performance is still not acceptable, then it's time to drill down into what specific actions/queries are problems.
> If you get to here and the entire DBMS is still not close to acceptable, your fundamental assumptions have to be re-examined.

IMHO you should really be examining your queries _before_ you do any
investment in hardware, because later those may prove unnecessary.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.



view thread (11+ messages)  latest in thread

Message-ID: <20051109230752.GC8230@surnet.cl>
Permalink:  ../20051109230752.GC8230@surnet.cl/
Also on:    postgresql.org/message-id/20051109230752.GC8230@surnet.cl

 · 

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: alvherre@commandprompt.com, rjpeace@earthlink.net, yves.vindevogel@implements.be
  Subject: Re: Some help on buffers and other performance tricks
  In-Reply-To: <20051109230752.GC8230@surnet.cl>

* 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