Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mfSdf-0000cJ-Uy for pgsql-general@arkaria.postgresql.org; Tue, 26 Oct 2021 20:01:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mfSde-0006ad-U3 for pgsql-general@arkaria.postgresql.org; Tue, 26 Oct 2021 20:01:38 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mfSde-0006Vv-JN for pgsql-general@lists.postgresql.org; Tue, 26 Oct 2021 20:01:38 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mfSdc-0006OB-AR for pgsql-general@lists.postgresql.org; Tue, 26 Oct 2021 20:01:37 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1mfSdZ-0007Vn-Sz; Tue, 26 Oct 2021 16:01:33 -0400 Date: Tue, 26 Oct 2021 16:01:33 -0400 From: Bruce Momjian To: Chris Travers Cc: Laurenz Albe , Laura Smith , postgre Subject: Re: ZFS filesystem - supported ? Message-ID: <20211026200133.GC12921@momjian.us> References: <49ijds_99IK_4iDOHuZH8CJsKGZw7DEVtJPf0s_oPEvUKwFewHcDQFCUnutcA9GYIkOrRfFAKRsyj0ZFN9ECAbLm-NYPR8jMxTl-RU-U3hA=@protonmail.ch> <144581af3326336c768e8c8a46900f7e2fccb2f6.camel@cybertec.at> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Oct 25, 2021 at 07:53:02PM +0200, Chris Travers wrote: > On the whole ZFS on spinning disks is going to have some performance... rough > corners.....  And it is a lot harder to reason about a lot of things including > capacity and performance when you are doing copy on write on both the db and FS > level, and have compression in the picture.  And there are other areas of > complexity, such as how you handle partial page writes. > > On the whole I think for small dbs it might perform well enough.  On large or > high velocity dbs I think you will have more problems than expected.  > > Having worked with PostgreSQL on ZFS I wouldn't generally recommend it as a > general tool. I know ZFS has a lot of features/options, and some of those can cause corruption, so if you modify ZFS options, you need to be sure they don't affect Postgres reliability. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com If only the physical world exists, free will is an illusion.