Re: Best Linux filesystem for Postgres data store ?

Поиск
Список
Период
Сортировка
От Lou Picciano
Тема Re: Best Linux filesystem for Postgres data store ?
Дата
Msg-id 1733344795.31985.1291228116345.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net
обсуждение исходный текст
Ответ на Best Linux filesystem for Postgres data store ?  ("Lello, Nick" <nick.lello@rentrakmail.com>)
Ответы Re: Best Linux filesystem for Postgres data store ?
Список pgsql-admin
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

В списке pgsql-admin по дате отправления:

Предыдущее
От: Craig James
Дата:
Сообщение: Re: Best Linux filesystem for Postgres data store ?
Следующее
От: Anibal Acosta
Дата:
Сообщение: How to recover a postgres installation from files