pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron Peacetree <rjpeace@earthlink.net>
To: PostgreSQL <martin@portant.com>
To: pgsql-performance@postgresql.org
Subject: Re: How much memory?
Date: Thu, 27 Oct 2005 18:39:33 -0400 (EDT)
Message-ID: <7021105.1130452773950.JavaMail.root@elwamui-norfolk.atl.sa.earthlink.net> (raw)

Databases basically come in 4 sizes:

1= The entire DB fits into memory.
2= The performance critical table(s) fit(s) into memory
3= The indexes of the performance critical table(s) fit into memory.
4= Neither the performance critical tables nor their indexes fit into memory.

Performance decreases (exponentially), and development + maintenance cost/difficulty/pain increases (exponentially), as you go down the list.

While it is often not possible to be in class "1" above, do everything you can to be in at least class "3" and do everything you can to avoid class "4".

At ~$75-$150 per GB as of this post, RAM is the cheapest investment you can make in a high perfomance, low hassle DBMS.  IWill's and Tyan's 16 DIMM slot mainboards are worth every penny.

ron


-----Original Message-----
From: PostgreSQL <martin@portant.com>
Sent: Oct 27, 2005 3:31 PM
To: pgsql-performance@postgresql.org
Subject: [PERFORM] How much memory?

Is there a rule-of-thumb for determining the amount of system memory a 
database requres (other than "all you can afford")? 



view thread (4+ messages)  latest in thread

Message-ID: <7021105.1130452773950.JavaMail.root@elwamui-norfolk.atl.sa.earthlink.net>
Permalink:  ../7021105.1130452773950.JavaMail.root@elwamui-norfolk.atl.sa.earthlink.net/
Also on:    postgresql.org/message-id/7021105.1130452773950.JavaMail.root@elwamui-norfolk.atl.sa.earthlink.net

 · 

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: rjpeace@earthlink.net, martin@portant.com
  Subject: Re: How much memory?
  In-Reply-To: <7021105.1130452773950.JavaMail.root@elwamui-norfolk.atl.sa.earthlink.net>

* 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