Re: Best Linux filesystem for Postgres data store ?

From: Craig James <craig_james(at)emolecules(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Best Linux filesystem for Postgres data store ?
Date: 2010-12-01 17:58:42
Message-ID: 4CF68CD2.2040707@emolecules.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On 12/1/10 7:54 AM, Kevin Grittner wrote:
> "Lello, Nick"<nick(dot)lello(at)rentrakmail(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Lou Picciano 2010-12-01 18:28:36 Re: Best Linux filesystem for Postgres data store ?
Previous Message Anibal David Acosta 2010-12-01 17:11:22 How to recover a postgres installation from files