Re: WAL & ZFS - Mailing list pgsql-admin

From Rui DeSousa
Subject Re: WAL & ZFS
Date
Msg-id 43EEBE2E-4C7F-4F35-99BF-4DA8B5D3828A@crazybean.net
Whole thread Raw
In response to WAL & ZFS  (Scott Ribe <scott_ribe@elevated-dev.com>)
Responses Re: WAL & ZFS  (Holger Jakobs <holger@jakobs.com>)
List pgsql-admin
I would recommend a separate pg_wal filesystem with the record size to match the WAL page size; in my case 16k.  I have
keepthe default record size at 128k for the data volume and that configuration has worked well for supporting large DSS
whileusing 16k data blocks. 

> On Mar 30, 2022, at 5:32 PM, Scott Ribe <scott_ribe@elevated-dev.com> wrote:
>
> I've read all the info I could find re running PG on ZFS: turn off full page writes, turn on lz4, tweak recordsize so
asto take advantage of compression, etc. One thing I haven't seen is whether a separate volume for WAL would benefit
froma larger recordsize. Or any other tweaks??? 
>
> --
> Scott Ribe
> scott_ribe@elevated-dev.com
> https://www.linkedin.com/in/scottribe/
>
>
>
>
>




pgsql-admin by date:

Previous
From: Scott Ribe
Date:
Subject: WAL & ZFS
Next
From: Holger Jakobs
Date:
Subject: Re: WAL & ZFS