Re: RAM / Disk ratio, any rule?

From: Greg Smith <gsmith(at)gregsmith(dot)com>
To: Mathieu Gilardet <mgilardet(at)alaloop(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: RAM / Disk ratio, any rule?
Date: 2008-06-05 00:32:29
Message-ID: Pine.GSO.4.64.0806042027410.3874@westnet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gregsmith(dot)com http://www.gregsmith.com Baltimore, MD

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2008-06-05 02:18:12 Re: [PERFORM] Outer joins and equivalence
Previous Message Tom Lane 2008-06-04 22:52:19 Re: insert/update tps slow with indices on table > 1M rows