Re: ZFS vs. UFS - Mailing list pgsql-performance

From Ivan Voras
Subject Re: ZFS vs. UFS
Date
Msg-id jum7b5$gs6$1@dough.gmane.org
Whole thread Raw
In response to ZFS vs. UFS  (Laszlo Nagy <gandalf@shopzeus.com>)
Responses Re: ZFS vs. UFS  (Craig James <cjames@emolecules.com>)
List pgsql-performance
On 24/07/2012 14:51, Laszlo Nagy wrote:
>
>   Hello,
>
> Under FreeBSD 9, what filesystem should I use for PostgreSQL? (Dell
> PowerEdge 2900, 24G mem, 10x2T SATA2 disk, Intel RAID controller.)
>
>  * ZFS is journaled, and it is more independent of the hardware. So if
>    the computer goes wrong, I can move the zfs array to a different server.
>  * UFS is not journaled. Also I have to rely on the RAID card to build
>    the RAID array. If there is a hw problem with it, then I won't be
>    able to recover the data easily.
>
> I wonder if UFS has better performance or not. Or can you suggest
> another fs? Just of the PGDATA directory.

Hi,

I think you might actually get a bit more performance out of ZFS,
depending on your load, server configuration and (more so) the tuning of
ZFS... however UFS is IMO more stable so I use it more often. A hardware
RAID card would be good to have, but you can use soft-RAID the usual way
and not be locked-in by the controller.

You can activate softupdates-journalling on UFS if you really want it,
but I find that regular softupdates is perfectly fine for PostgreSQL,
which has its own journalling.



Attachment

pgsql-performance by date:

Previous
From: Georgi Naplatanov
Date:
Subject: Re: ZFS vs. UFS
Next
From: Ioannis Anagnostopoulos
Date:
Subject: Heavy inserts load wile querying...