Postgresql 9.4 and ZFS?

From: Benjamin Smith <ben(at)chico(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Postgresql 9.4 and ZFS?
Date: 2015-09-29 17:01:21
Message-ID: 2196509.dx3im6Bxds@tesla.schoolpathways.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Does anybody here have any recommendations for using PostgreSQL 9.4 (latest)
with ZFS?

We've been running both on ZFS/CentOS 6 with excellent results, and are
considering putting the two together. In particular, the CoW nature (and
subsequent fragmentation/thrashing) of ZFS becomes largely irrelevant on SSDs;
the very act of wear leveling on an SSD is itself a form of intentional
thrashing that doesn't affect performance since SSDs have no meaningful seek
time. It would seem that PGCon 2013 even had a workshop on it!
https://www.pgcon.org/2013/schedule/events/612.en.html

The exact configuration we're contemplating is either (3x 400 RAIDZ1) or (4x
400 RAIDZ2) with Intel Enterprise SATA3 SSDs, with default (lz4) compression
enabled.

If this is a particularly good or bad idea, I'd like to hear it, and why?

Thanks,

BenP

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2015-09-29 17:09:21 9.4 and centos/yum multiversion installs
Previous Message Spencer Gardner 2015-09-29 15:59:41 Re: pg_restore fails to restore sequences