Re: WAL & ZFS

From: Rui DeSousa <rui(at)crazybean(dot)net>
To: Mladen Gogala <gogala(dot)mladen(at)gmail(dot)com>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: WAL & ZFS
Date: 2022-04-01 17:49:46
Message-ID: 41B83C10-CE63-467C-A613-FD457237A31B@crazybean.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> On Mar 31, 2022, at 7:26 PM, Mladen Gogala <gogala(dot)mladen(at)gmail(dot)com> wrote:
>
> Here are several articles that caution against ZFS:
> https://forums.servethehome.com/index.php?threads/very-slow-zfs-raidz2-performance-on-truenas-12.33094/ <https://forums.servethehome.com/index.php?threads/very-slow-zfs-raidz2-performance-on-truenas-12.33094/>
> https://serverfault.com/questions/791154/zfs-good-read-but-poor-write-speeds <https://serverfault.com/questions/791154/zfs-good-read-but-poor-write-speeds>
> https://www.phoronix.com/scan.php?page=article&item=ubuntu1910-ext4-zfs&num=3 <https://www.phoronix.com/scan.php?page=article&item=ubuntu1910-ext4-zfs&num=3>
> And finally, this: https://storytime.ivysaur.me/posts/why-not-zfs/ <https://storytime.ivysaur.me/posts/why-not-zfs/>
> I would consider Linux ZFS only for toy databases that do not hold any serious data.
>
>

I call bullshit. I have used ZFS with better performance and it offers higher degree of management of the system.

I look at one articles you pointed out and it was using RAIDZ2 — well there you go. I would not recommend using anything other than RAID10 i.e. stripe of mirrors.

If you’re using RAIDZ# then performance is going to be heavily impacted and I would highly recommend NOT using RAIDZ# for a database server.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Ribe 2022-04-01 17:56:58 Re: WAL & ZFS
Previous Message Rui DeSousa 2022-04-01 17:39:52 Re: WAL & ZFS