Re: Best Linux filesystem for Postgres data store ? - Mailing list pgsql-admin

From Kevin Grittner
Subject Re: Best Linux filesystem for Postgres data store ?
Date
Msg-id 4CF61B430200002500038009@gw.wicourts.gov
Whole thread Raw
In response to Best Linux filesystem for Postgres data store ?  ("Lello, Nick" <nick.lello@rentrakmail.com>)
Responses Re: Best Linux filesystem for Postgres data store ?
Re: Best Linux filesystem for Postgres data store ?
Re: Best Linux filesystem for Postgres data store ?
List pgsql-admin
"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.

There are some issues with recoverability of some file systems in
some circumstances.  There are often important configuration or
mount option issues.  What choices you make there will depend
heavily on your usage.  (A social networking site with data
replicated to multiple servers may prefer speed over recoverability
of any single server; most installations will not.)

Your RAID configuration and controllers will likely make a bigger
difference than your filesystem choices.  Be sure to get good RAID
controllers with battery-backed (BBU) cache, configured for
write-back.

If you post with more particulars, you will probably get more people
jumping in with more specific advice.

-Kevin

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Postgres problem with partition queries
Next
From: Ray Stell
Date:
Subject: Re: Best Linux filesystem for Postgres data store ?