Re: How much memory? - Mailing list pgsql-performance

From Ron Peacetree
Subject Re: How much memory?
Date
Msg-id 7021105.1130452773950.JavaMail.root@elwamui-norfolk.atl.sa.earthlink.net
Whole thread Raw
In response to How much memory?  ("PostgreSQL" <martin@portant.com>)
Responses Re: How much memory?  ("Jim C. Nasby" <jnasby@pervasive.com>)
List pgsql-performance
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
yougo 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
everythingyou 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")?

pgsql-performance by date:

Previous
From: Martin Lesser
Date:
Subject: Re: Reasons and drawbacks for unused item pointers
Next
From: "Jim C. Nasby"
Date:
Subject: Re: What gets cached?