pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: pgsql-admin@postgresql.org
To: Nick Lello <nick.lello@rentrakmail.com>
Subject: Re: Best Linux filesystem for Postgres data store ?
Date: Wed, 01 Dec 2010 09:54:11 -0600
Message-ID: <4CF61B430200002500038009@gw.wicourts.gov> (raw)
In-Reply-To: <AANLkTinnJhU49CQoD36F9dPRpPg+2inVCGP-jBV7dgny@mail.gmail.com>
References: <AANLkTinnJhU49CQoD36F9dPRpPg+2inVCGP-jBV7dgny@mail.gmail.com>

"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



view thread (8+ messages)  latest in thread

Message-ID: <4CF61B430200002500038009@gw.wicourts.gov>
Permalink:  ../4CF61B430200002500038009@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4CF61B430200002500038009@gw.wicourts.gov

 · 

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-admin@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, nick.lello@rentrakmail.com
  Subject: Re: Best Linux filesystem for Postgres data store ?
  In-Reply-To: <4CF61B430200002500038009@gw.wicourts.gov>

* 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