From: Bruce Momjian <bruce@momjian.us>
To: Chris Travers <chris.travers@gmail.com>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: Laura Smith <n5d9xq3ti233xiyif2vp@protonmail.ch>
Cc: postgre <pgsql-general@lists.postgresql.org>
Subject: Re: ZFS filesystem - supported ?
Date: Tue, 26 Oct 2021 16:01:33 -0400
Message-ID: <20211026200133.GC12921@momjian.us> (raw)
In-Reply-To: <CAKt_ZfuFc5F9EYZkFcC7LcoZKmbWjvYHCaxpi2WerENE5V2W1g@mail.gmail.com>
References: <49ijds_99IK_4iDOHuZH8CJsKGZw7DEVtJPf0s_oPEvUKwFewHcDQFCUnutcA9GYIkOrRfFAKRsyj0ZFN9ECAbLm-NYPR8jMxTl-RU-U3hA=@protonmail.ch>
<144581af3326336c768e8c8a46900f7e2fccb2f6.camel@cybertec.at>
<CAKt_ZfuFc5F9EYZkFcC7LcoZKmbWjvYHCaxpi2WerENE5V2W1g@mail.gmail.com>
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 <bruce@momjian.us> https://momjian.us
EDB https://enterprisedb.com
If only the physical world exists, free will is an illusion.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: bruce@momjian.us, chris.travers@gmail.com, laurenz.albe@cybertec.at, n5d9xq3ti233xiyif2vp@protonmail.ch
Subject: Re: ZFS filesystem - supported ?
In-Reply-To: <20211026200133.GC12921@momjian.us>
References: <49ijds_99IK_4iDOHuZH8CJsKGZw7DEVtJPf0s_oPEvUKwFewHcDQFCUnutcA9GYIkOrRfFAKRsyj0ZFN9ECAbLm-NYPR8jMxTl-RU-U3hA=@protonmail.ch> <144581af3326336c768e8c8a46900f7e2fccb2f6.camel@cybertec.at> <CAKt_ZfuFc5F9EYZkFcC7LcoZKmbWjvYHCaxpi2WerENE5V2W1g@mail.gmail.com> <20211026200133.GC12921@momjian.us>
* 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