pg如何让wal使用直接io?
是这个参数吗?
io_wal_direct默认值是off,如果想使用就设置成on
PG 15支持mac平台下写wal使用direct I/O:
Add support for writing WAL using direct I/O on macOS (Thomas Munro)
通过设置 max_wal_senders = 0及wal_level = minimal