Skip site navigation (1) Skip section navigation (2)

Re: Making the most of memory?

From: Greg Smith <gsmith(at)gregsmith(dot)com>
To: Guy Rouillier <guyr-ml1(at)burntmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Making the most of memory?
Date: 2008-01-24 00:54:24
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
On Wed, 23 Jan 2008, Guy Rouillier wrote:

> Flash has a limited number of writes before it becomes unreliable.  On 
> good quality consumer grade, that's about 300,000 writes, while on 
> industrial grade it's about 10 times that.

The main advance that's made SSD practical given the write cycle 
limitation is increasing sophisticated wear leveling:

The best devices now use static wear levelling; overviews at and

The basic idea is that the number of writes to each block is tracked, and 
as it approaches the limit that block gets swapped with one that has been 
more read-only.  So essentially the number of writes before failure 
approaches something closer to 1M x number of blocks.  This means that as 
the size of the device goes up, so does its longevity.  If you believe the 
hype, the combination in the increase in size of designs with these more 
sophisticated wear-levelling approaches has now crossed the line where 
it's more likely a standard moving-parts hard drive will fail first if you 
compare it to a similarly sized SDD doing the same job (a standard 
mechanical drive under heavy write load also wears out faster than one 
doing less work).

* Greg Smith gsmith(at)gregsmith(dot)com Baltimore, MD

In response to


pgsql-performance by date

Next:From: Scott MarloweDate: 2008-01-24 01:45:07
Subject: Re: Making the most of memory?
Previous:From: Greg SmithDate: 2008-01-24 00:31:51
Subject: Re: Postgres 8.2 memory weirdness

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group