Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vVtDu-009Sv1-0i for pgsql-general@arkaria.postgresql.org; Wed, 17 Dec 2025 15:13:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vVtDt-00DY0y-0i for pgsql-general@arkaria.postgresql.org; Wed, 17 Dec 2025 15:13:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vVtDs-00DY0p-2t for pgsql-general@lists.postgresql.org; Wed, 17 Dec 2025 15:13:53 +0000 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vVtDr-001FRC-1R for pgsql-general@lists.postgresql.org; Wed, 17 Dec 2025 15:13:53 +0000 Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-7aab061e7cbso7493149b3a.1 for ; Wed, 17 Dec 2025 07:13:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765984429; x=1766589229; darn=lists.postgresql.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=13HnPAqBK7T66N2sBBa4/CsOLwav8VWnNsKNkgUaClQ=; b=gBwbPqxFZq4uuTs5wKGFwCN8sAv/HdT9krVVd/6EUG0Ai98+poiR/CLtFkMvjgFhLB Ycaw8inC7cpAkJjsklkeaEW3SzrFPwMzPWvuvdT2KaRiztNuDirZ6avr7dZOGLNVgf2L qr4reBVSWzCIapZxKmgXYKbbAe/7deIPFCgF25lTZGM7rdxwWpKoplvj4ysSJIuYTF4H bFMeefXK0bvlp4J3plXVUMlWiiWX3LTzrhmsq6pjkzgM4sk6masMnPIxgDoiqZRByrgR liTEXqHEANjXMRe3BbDyOIBlG8SoZVCO4zj0prYHEe5LYkyDmTDNYuddkmfLTwJMdYIe oiwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765984429; x=1766589229; h=to:subject:message-id:date:from:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=13HnPAqBK7T66N2sBBa4/CsOLwav8VWnNsKNkgUaClQ=; b=W0HTg/QoO+3UpdlEm/598ByQtuz8pqkpS7hR5ittIL0N8hfa6c9Se1GLuKY7nR0ywC FKZBfzl1cWmcsUw97WL2rEAhfbr8tC0bV6nzjtuaiIBxagZEuRQrRxQt8GvZYTCPEFgv crpDTD/04JJOf1zx9zf/oCMR9m039mkSI/eJ+Ph3hKg33zMLxsszdxLaQsMayZUqwkHB SDP9sE8lfyfAD4KPOywfCck1LTjPjaMYF5ovXEJWIkzqsrSjjVrDpxUqKjPJHxKhaiik 3o3TWFwT1v76qVyvF3d7qJwmdsGfH8IKqI3Lds74Lfz7XkjmE5vshC62KWkBiOOfZW1f o5CQ== X-Gm-Message-State: AOJu0YymMcBlSQKQGgxSr+T+4VibOaVOQvz/ip0v18CguA/Fze3nDlnJ t5kzthF2stfPmEYBFwOAeJOCbcTX+P3KzpvLYvPgVbYPqCTZGlDdichwpb75rdTOt7WRdPhwUR9 GevukmlbiZ1sB0MW0d2OzbL5DHZneLHfLMg== X-Gm-Gg: AY/fxX4DGeS5tEXAiYKrEsaiOQGSu5M0ZNDNUA6AN4egfhddVXCrqj/461pimmX4kx2 dIPejqBWakIns/kh8xlmzNbDgJVKF8oM3Bfl1KcNJyixxOc574TZf0SG8FKR6MUfjzdA/WcNxrH gV3izhIt0A756pX/DJWjOidTIQKneHGedxvEvcESHoA2UELnDkpGzZ47zonoMOa+3ONsV0PM78A yOFoMUjQKSloGjLCSB2bWuL0tGhZB99vmwlm1DB2pr+zcL0mQpOMzB9gvWm4mSlPGdFfPJY3bSI xhXEu+c4XXgFakbQ3UNRpiqpTAevtpKr7iQcJrs7ZZm1ffKUNa9qdK6ZOuvkKvpmxOjXgVM4bzc wQEt8Y9JDi7L4fcjPDbgzGdQmHeNmyA+nlLsLipDy7VpywDdjfSXldKO60ASkfMo7bs1p X-Google-Smtp-Source: AGHT+IEU0Ed1JPBk6dh0qo2yQmlMbuh2MtEYPlditKGr/GBYQ4SN7mRsxmNZitoxWLNCSkVRa12hHiV2fvuRtkDyUUs= X-Received: by 2002:a05:7022:b90d:b0:11e:3e9:3ea2 with SMTP id a92af1059eb24-11f34c4ae09mr11289187c88.49.1765984429035; Wed, 17 Dec 2025 07:13:49 -0800 (PST) MIME-Version: 1.0 From: "Colin 't Hart" Date: Wed, 17 Dec 2025 16:13:37 +0100 X-Gm-Features: AQt7F2qukX72Y7IjtuqAPV2jeLg0ukHQcwrPL5Hviujo1gk3P_222NX378Gpi8U Message-ID: Subject: wal segment size To: PostgreSQL General Content-Type: multipart/alternative; boundary="0000000000009256840646274a92" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000009256840646274a92 Content-Type: text/plain; charset="UTF-8" Hi, I see very little advice on tuning WAL segment size. One of my clients has a few datawarehouses at around 8 - 16 TB On one of the nodes there are approx 15000 WAL segments of 16MB each, totalling approx 230GB. The archiver is archiving approx one per second, so approx 4 hours to clear. Would we gain anything by bumping the WAL segment size? Thanks, Colin --0000000000009256840646274a92 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I see very little advice= on tuning WAL=C2=A0segment=C2=A0size.

One of my c= lients has a few datawarehouses=C2=A0at around 8 - 16 TB

On one of the nodes there are approx 15000 WAL segments of 16MB each= , totalling approx 230GB. The archiver is archiving approx one per second, = so approx 4 hours to clear.

Would=C2=A0we gain any= thing by bumping the WAL=C2=A0segment size?

Thanks= ,

Colin
--0000000000009256840646274a92--