Re: nooby Q: temp tables good for web apps?

From: Greg Smith <gsmith(at)gregsmith(dot)com>
To: John Cheng <jlcheng(at)ymail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: nooby Q: temp tables good for web apps?
Date: 2009-04-08 07:44:20
Message-ID: alpine.GSO.2.01.0904080123410.4398@westnet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 7 Apr 2009, John Cheng wrote:

> One concern I have with SSD drives is that the performance degrades over
> time.

The bigger concern I have with them is that even the Intel drives have a
volatile write cache in them. You have either turn off the write cache
(which degrades performance substantially and might even have a longevity
impact) or use a battery-backed disk controller for them to be safe
database storage. There's a good article about this at
http://www.mysqlperformanceblog.com/2009/03/02/ssd-xfs-lvm-fsync-write-cache-barrier-and-lost-transactions/

If there's a disk controller with a write cache involved, that narrows the
gap between SDD and regular drives quite a bit.

--
* Greg Smith gsmith(at)gregsmith(dot)com http://www.gregsmith.com Baltimore, MD

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruno Baguette 2009-04-08 09:34:34 Re: How to split timestamps values by 24h slices ?
Previous Message Kenneth Tilton 2009-04-08 02:32:39 Re: nooby Q: temp tables good for web apps?