Re: WAL & ZFS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I would recommend a separate pg_wal filesystem with the record size to match the WAL page size; in my case 16k.  I have keep the default record size at 128k for the data volume and that configuration has worked well for supporting large DSS while using 16k data blocks.

> On Mar 30, 2022, at 5:32 PM, Scott Ribe <scott_ribe@xxxxxxxxxxxxxxxx> 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 as to take advantage of compression, etc. One thing I haven't seen is whether a separate volume for WAL would benefit from a larger recordsize. Or any other tweaks???
> 
> --
> Scott Ribe
> scott_ribe@xxxxxxxxxxxxxxxx
> https://www.linkedin.com/in/scottribe/
> 
> 
> 
> 
> 







[Index of Archives]     [Postgresql Home]     [Postgresql General]     [Postgresql Performance]     [Postgresql PHP]     [Postgresql Jobs]     [PHP Users]     [PHP Databases]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Forum]

  Powered by Linux