pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rui DeSousa <rui@crazybean.net>
To: Scott Ribe <scott_ribe@elevated-dev.com>
Cc: pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: WAL & ZFS
Date: Thu, 31 Mar 2022 17:32:58 -0400
Message-ID: <43EEBE2E-4C7F-4F35-99BF-4DA8B5D3828A@crazybean.net> (raw)
In-Reply-To: <FC215502-166A-49DB-B3DA-D08727A34C0B@elevated-dev.com>
References: <FC215502-166A-49DB-B3DA-D08727A34C0B@elevated-dev.com>

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@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 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@elevated-dev.com
> https://www.linkedin.com/in/scottribe/
> 
> 
> 
> 
> 






view thread (13+ messages)  latest in thread

Message-ID: <43EEBE2E-4C7F-4F35-99BF-4DA8B5D3828A@crazybean.net>
Permalink:  ../43EEBE2E-4C7F-4F35-99BF-4DA8B5D3828A@crazybean.net/
Also on:    postgresql.org/message-id/43EEBE2E-4C7F-4F35-99BF-4DA8B5D3828A@crazybean.net

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: rui@crazybean.net, scott_ribe@elevated-dev.com, pgsql-admin@lists.postgresql.org
  Subject: Re: WAL & ZFS
  In-Reply-To: <43EEBE2E-4C7F-4F35-99BF-4DA8B5D3828A@crazybean.net>

* 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