Re: Question about configuration and SSD - Mailing list pgsql-general

From Craig Ringer
Subject Re: Question about configuration and SSD
Date
Msg-id 4DE74F75.6030204@postnewspapers.com.au
Whole thread Raw
In response to Question about configuration and SSD  (Szymon Guz <mabewlun@gmail.com>)
Responses Re: Question about configuration and SSD  ("Marc Mamin" <M.Mamin@intershop.de>)
Re: Question about configuration and SSD  (Toby Corkindale <toby.corkindale@strategicdata.com.au>)
List pgsql-general
On 02/06/11 16:26, Szymon Guz wrote:
> Hi,
> do we need some special configuration for SSD drives, or is that enough
> to treat those drives normally?

Make sure the SSDs have a supercapacitor or battery backup for their
write cache. If they do not, then do not use them unless you can disable
write caching completely (probably resulting in horrible performance),
because you WILL get a corrupt database when power fails.

If the SSDs have a supercap or a battery backed write cache so that they
can guarantee that all cached data will be written out if the power goes
down, you won't need any special configuration. You may want to tune
differently for best performance, though - for example, reducing
random_page_cost .

--
Craig Ringer

pgsql-general by date:

Previous
From: Szymon Guz
Date:
Subject: Question about configuration and SSD
Next
From: Ognjen Blagojevic
Date:
Subject: Re: Need suggestion