Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id E97425F9CED for ; Tue, 24 Jul 2012 10:04:05 -0300 (ADT) Received: from [2002:4e5a:206::1] (helo=mail.oles.biz) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1StemO-0002Bm-3x for pgsql-performance@postgresql.org; Tue, 24 Jul 2012 13:04:04 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.oles.biz (Postfix) with ESMTP id 43D8645E5DC; Tue, 24 Jul 2012 16:03:46 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at mail.oles.biz Received: from mail.oles.biz ([127.0.0.1]) by localhost (bambi2.oles.biz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A4y+2U2WRKro; Tue, 24 Jul 2012 16:03:45 +0300 (EEST) Received: from [IPv6:2002:4e5a:206:1::2] (unknown [IPv6:2002:4e5a:206:1::2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.oles.biz (Postfix) with ESMTPSA id C9EF045E5D8; Tue, 24 Jul 2012 16:03:45 +0300 (EEST) Message-ID: <500E9D31.6050107@oles.biz> Date: Tue, 24 Jul 2012 16:03:45 +0300 From: Georgi Naplatanov User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20120613 Icedove/3.0.11 MIME-Version: 1.0 To: Laszlo Nagy CC: pgsql-performance@postgresql.org Subject: Re: ZFS vs. UFS References: <500E9A3B.3070609@shopzeus.com> In-Reply-To: <500E9A3B.3070609@shopzeus.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2002:4e5a:206::1 (failed) X-Pg-Spam-Score: -1.1 (-) X-Archive-Number: 201207/294 X-Sequence-Number: 47475 Hi. As far as I know UFS is faster than ZFS on FreeBSD 9.0. Some users reported stability problem with ZFS on AMD64 and maybe UFS is better choice. Best regards Georgi On 07/24/2012 03:51 PM, 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. > > Thanks, > > Laszlo >