Re: RAM / Disk ratio, any rule? - Mailing list pgsql-performance

From Greg Smith
Subject Re: RAM / Disk ratio, any rule?
Date
Msg-id Pine.GSO.4.64.0806042027410.3874@westnet.com
Whole thread Raw
In response to RAM / Disk ratio, any rule?  (Mathieu Gilardet <mgilardet@alaloop.com>)
List pgsql-performance
On Wed, 4 Jun 2008, Mathieu Gilardet wrote:

> Do be more specific, we have an heavy loaded server with SCSI disks
> (RAID 0 on a SAS controller), making a total of 500GB. Actually, there
> are 16GB RAM, representing about 2,5% of db size.

That's a reasonable ratio.  Being able to hold somewhere around 1 to 5% of
the database in RAM seems to common nowadays, and that works OK.  But it's
impossible to have a hard "rule" here because the working set needed to
operate the queries and other activities on your server is completely
dependant on the code you're running, your performance expectations, and
your expected user load.

--
* Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: insert/update tps slow with indices on table > 1M rows
Next
From: "Heikki Linnakangas"
Date:
Subject: Re: insert/update tps slow with indices on table > 1M rows