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.94.2) (envelope-from ) id 1roqp0-003ic4-Kf for pgsql-admin@arkaria.postgresql.org; Mon, 25 Mar 2024 20:21:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1roqoz-007ldh-2r for pgsql-admin@arkaria.postgresql.org; Mon, 25 Mar 2024 20:21:29 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1roqoy-007ldZ-OI for pgsql-admin@lists.postgresql.org; Mon, 25 Mar 2024 20:21:29 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1roqou-006OQw-U1 for pgsql-admin@lists.postgresql.org; Mon, 25 Mar 2024 20:21:28 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id CD2EE6E3B1; Mon, 25 Mar 2024 20:21:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elevated-dev.com; s=easymail; t=1711398083; bh=0BumNlSPdiSSS2iv4glIfSnp14EYosWDH0kg0pZPQcQ=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=P+6pmr6YX6qFxyyhNG8pwwnh7sMCGqbSrKC5nOalQc60jZxXLsIMIhPWa3FXe09Cx bLDjeBue9//sfkvpsh4LZGbr6n+/6Mmb9RKNnUlUKwO0TfckbiknujdH9bgJRpYcBH fKIr5Jj5DsPfZHgCd7xCjl1XR+5hpNFXpEAzI4W8nxRJUcc1ZQIkCiqPUW/snVkJ2y uHPZu9TQZGqBXgEFCkJufZtMnlq85hE75qkzthHpBoHFrFxp7trtR1ZdwWhc5U3N/8 oJqPZG6+dUO/KevKO6Fmtlqbwl70ICs8FNN5xEjqcbUPhrQl1bQASkLra/KFJI8heI anLIyk1XDgO3g== X-Virus-Scanned: Debian amavisd-new at emo07-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo07-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aEYc6MsnqAn2; Mon, 25 Mar 2024 20:21:22 +0000 (UTC) Received: from smtpclient.apple (unknown [165.140.184.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id AAF096B226; Mon, 25 Mar 2024 20:21:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elevated-dev.com; s=easymail; t=1711398082; bh=0BumNlSPdiSSS2iv4glIfSnp14EYosWDH0kg0pZPQcQ=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=zvPVbsUvVkGSDS0QVXkbJ1Z6EQCiehGb95BHFIlz/fQorsIbSb8tXN+7RM2tgBDFZ SO0xDdoa8hD7CwSjXDEO4k7DymNzoWRAMk0HU8+4zlj6zC0KPfCsRYOjhV9bElft2S zUfNRqNX3FkaEClP1fXNLrvT6IahN4Auc48xsuYUzrdADE4/ho0RQz8clTyH7tmPeS PK/JIKtCw/sUMJGtcYn8wQ30Zg1QuvCDnPhsdc3co8cWJHi77vjDNR5LJ0244KviWg TIECv/P+bNoodhbwys+3nJtXlGK+4b93JGLiFD5TwyNZ+A0rE2iVdoOfqY7sP3TyJc +HBAmM2CG4nUg== Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\)) Subject: Re: WAL compression and replica From: Scott Ribe In-Reply-To: Date: Mon, 25 Mar 2024 14:21:11 -0600 Cc: Pgsql-admin Content-Transfer-Encoding: quoted-printable Message-Id: <9435FDA8-261B-4E05-976C-6BB1EBC81815@elevated-dev.com> References: To: "David G. Johnston" X-Mailer: Apple Mail (2.3774.500.171.1.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Mar 25, 2024, at 2:17=E2=80=AFPM, David G. Johnston = wrote: >=20 > On Mon, Mar 25, 2024 at 1:10=E2=80=AFPM Scott Ribe = wrote: > If WAL compression is enabled, does this mean that traffic to a = file-based WAL-shipping standby is compressed? (In other words, WAL = files are sent post-compression?) >=20 > =46rom the docs: > When enabled, the PostgreSQL server compresses full page images = written to WAL when full_page_writes is on or during a base backup. >=20 > That is, some of the contents are compressed, it is not the container = that gets compressed. That is always 64MB in a default compilation. >=20 > David J. I read that last week, and totally missed the implication. Thanks.