pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
To: Yeb Havinga <yebhavinga@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: SSD and RAID
Date: Wed, 07 Mar 2012 13:36:53 +1300
Message-ID: <4F56ADA5.4040902@catalyst.net.nz> (raw)
In-Reply-To: <4F55C802.8040401@gmail.com>
References: <4F554025.9040101@catalyst.net.nz>
	<4F55C802.8040401@gmail.com>

On 06/03/12 21:17, Yeb Havinga wrote:
>
>
> One thing to note is that linux software raid with md doesn't support 
> discard, which might shorten the drive's expected lifetime. To get 
> some numbers I tested the raid 1 of ssd's setup for mediawear under a 
> PostgreSQL load earlier, see 
> http://archives.postgresql.org/pgsql-general/2011-11/msg00141.php
>
>

Right, which is a bit of a pain - we are considering either formatting 
the drive with less capacity and using md RAID 1 or else doing the 
mirror in LVM to enable a working discard/trim.

Regards

Mark






view thread (8+ messages)  latest in thread

Message-ID: <4F56ADA5.4040902@catalyst.net.nz>
Permalink:  ../4F56ADA5.4040902@catalyst.net.nz/
Also on:    postgresql.org/message-id/4F56ADA5.4040902@catalyst.net.nz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: mark.kirkwood@catalyst.net.nz, yebhavinga@gmail.com
  Subject: Re: SSD and RAID
  In-Reply-To: <4F56ADA5.4040902@catalyst.net.nz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox