Re: Postgres, fsync and RAID controller with 100M of internal cache & dedicated battery - Mailing list pgsql-general

From Greg Smith
Subject Re: Postgres, fsync and RAID controller with 100M of internal cache & dedicated battery
Date
Msg-id Pine.GSO.4.64.0708222313270.13185@westnet.com
Whole thread Raw
In response to Re: Postgres, fsync and RAID controller with 100M of internal cache & dedicated battery  (Ron Johnson <ron.l.johnson@cox.net>)
List pgsql-general
On Wed, 22 Aug 2007, Ron Johnson wrote:

> That seems to be a very extreme ratio.  Most databases do *many*
> times more reads than writes.

Yes, but the OS has a lot more memory to cache the reads for you, so you
should be relying more heavily on it in cases like this where the card has
a relatively small amount of memory.  The main benefit for having a
caching controller is fsync acceleration, the reads should pass right
through the controller's cache and then stay in system RAM afterwards if
they're needed again.

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

pgsql-general by date:

Previous
From: Jeff Amiel
Date:
Subject: pg_dump causes postgres crash
Next
From: Jeff Amiel
Date:
Subject: Re: pg_dump causes postgres crash