Re: SSD Drives - Mailing list pgsql-general

From Shaun Thomas
Subject Re: SSD Drives
Date
Msg-id 533C6FB3.7010001@optionshouse.com
Whole thread Raw
In response to SSD Drives  (Bret Stern <bret_stern@machinemanagement.com>)
List pgsql-general
On 04/02/2014 02:37 PM, Bret Stern wrote:

> Any opinions/comments on using SSD drives with postgresql?

Using SSDs with PostgreSQL is fine, provided they have an onboard
capacitor to ensure data integrity. The main concern with SSD drives, is
that they essentially lie about their sync status. There is an inherent
race-condition between the time data reaches the drive, and how long it
takes for the write balancing and NVRAM commit overhead.

Most common drives only have a volatile RAM chip that acts as a buffer
space while writes are synced to the physical drive. Without a capacitor
backing, the state of this buffer is erased on power loss, resulting in
a corrupt database.

There are upcoming technologies which may solve this (see ReRAM) but for
now, it's a requirement for any sane system.

--
Shaun Thomas
OptionsHouse | 141 W. Jackson Blvd. | Suite 500 | Chicago IL, 60604
312-676-8870
sthomas@optionshouse.com

______________________________________________

See http://www.peak6.com/email_disclaimer/ for terms and conditions related to this email


pgsql-general by date:

Previous
From: Igor Neyman
Date:
Subject: Re: Lock problem
Next
From: Rob Sargent
Date:
Subject: Re: COPY v. java performance comparison