From: Lou Picciano <loupicciano@comcast.net>
To: pgsql-admin <pgsql-admin@postgresql.org>
Cc: Craig James <craig_james@emolecules.com>
Subject: Re: Best Linux filesystem for Postgres data store ?
Date: Wed, 1 Dec 2010 18:28:36 +0000 (UTC)
Message-ID: <1733344795.31985.1291228116345.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net> (raw)
In-Reply-To: <913287922.31682.1291227832160.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net>
OK, weighing in here...
We use ZFS on Solaris for our data stores. Can't beat ZFS for its failsafe features, filesystem portability, etc.
Having said that, there is that school of thought which would hold that journaling may not be all that indicated anymore, given the quality of recovery possible from the binary logs. In fact, this would suggest that journaling may even be counterproductive - effectively redundant - in a transaction-heavy environment.
Lou
----- Original Message -----
From: "Craig James" <craig_james@emolecules.com>
To: pgsql-admin@postgresql.org
Sent: Wednesday, December 1, 2010 12:58:42 PM
Subject: Re: [ADMIN] Best Linux filesystem for Postgres data store ?
On 12/1/10 7:54 AM, Kevin Grittner wrote:
> "Lello, Nick"<nick.lello@rentrakmail.com> wrote:
>
>> What is considered the best filesystem to use for postgres data
>> stores ?
>
> I held off for a bit to see if someone else would jump in with a
> comparison of filesystems, but so far nobody has taken the bait.
> The reason I held off is that the only reasonable answer I can think
> of is, "It depends."
>
> Personally, I would stay away from any filesystem without journaling
> for allocations; which, for example, leaves out ext2. For various
> reasons I would also avoid ReiserFS. We've had good luck with xfs
> in our shop.
We used xfs with good results for a couple years. We recently reinstalled the latest Linux and Postgres on the same hardware, and our tests showed ext4 gave slightly better performance than xfs so we switched to ext4. This is on a BBU 8-disk RAID10 array with 10K SATA disks. Just one data point...
Craig
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
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-admin@postgresql.org
Cc: loupicciano@comcast.net, craig_james@emolecules.com
Subject: Re: Best Linux filesystem for Postgres data store ?
In-Reply-To: <1733344795.31985.1291228116345.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net>
* 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