Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nSVt6-00046W-Gl for pgsql-hackers@arkaria.postgresql.org; Fri, 11 Mar 2022 03:24:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nSVt4-0006kl-IJ for pgsql-hackers@arkaria.postgresql.org; Fri, 11 Mar 2022 03:24:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nSVt3-0006jU-KB for pgsql-hackers@lists.postgresql.org; Fri, 11 Mar 2022 03:24:18 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nSVsw-0000ZY-Vx for pgsql-hackers@postgresql.org; Fri, 11 Mar 2022 03:24:17 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 59E8F3200E86; Thu, 10 Mar 2022 22:24:08 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 10 Mar 2022 22:24:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; bh=KOXGKngKvxHuajeCjJjgpMz7uGjJEEeQL91dUz Fik5Q=; b=reeIb+JxwoH1iaWhdu4YGOj34iZibHv+LrjVUVqmaeeW0bY31mogXw 5hKt0OQ9DmekbfPvUDohlUsjPuKzLtjMvRKcBYJs5BJwQ/LyUjrW67f43AKSe/Tw zPL/LlXBNhTzDcE9nzzXYq/VBm2PR0I9oqee1us/Brr45k+daTadONqSitw6fUrF m9erkk23skedB2TxNTHWfJ262DHLqFUnCAci10NtULx9GrQM13hWM0qEko0yjRQv XH92u0vt8onHro6YXrpjSQ3WiEmliPABwEa/gbEWKM45K5AMYfiqCPVdoyvFMjPN bimTjwKAVm/TNBSIOTh/VssLj+CZ73kQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=KOXGKngKvxHuajeCj JjgpMz7uGjJEEeQL91dUzFik5Q=; b=QWahI8cHZifGkVwSxl7eTuaJWFcIQlmyT /1lRCvfHkwKQbtpXzOdTlww1JfVMZgM8ixWtShv33wcoOfu2znYYLQIl9pAfwPh7 4+YFCitUGC7puXBtZBITQkBpeQIFndBqNXQKR2VlIzN/q+XX5BKN0sFsFqV4Fsb5 aVixgreWbWaEJ3vDY/1T0R1BEoa8R3a7Xa28BTUzXCc6GTFoMDRiB+fgbDm1NiYV 2OKpnESWH8uyMUqv0awrHMRKH2G9wDvAmVKjxPxidwbZDrsEJzLSaa807Ki5EUJS HhJYpt5bOOFngDNhzkkwMYv2tl4wGupRVWkLtVRULhKkYFFSPYOKg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddruddvuddgheejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpedvgeduuefhtdeuleettdevjeeh heeiveeuieegleetgeeljeelieeuieehgeevhfenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 10 Mar 2022 22:24:04 -0500 (EST) Date: Fri, 11 Mar 2022 12:23:59 +0900 From: Michael Paquier To: Justin Pryzby Cc: Andrey Borodin , Peter Eisentraut , Heikki Linnakangas , pgsql-hackers@postgresql.org, Thomas Munro , Peter Geoghegan , Andres Freund , Robert Haas Subject: Re: wal_compression=zstd Message-ID: References: <20220222231948.GJ9008@telsasoft.com> <20220304114405.GK27651@telsasoft.com> <20220309131411.GZ27651@telsasoft.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="0RCkq0luE5c69fs5" Content-Disposition: inline In-Reply-To: <20220309131411.GZ27651@telsasoft.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0RCkq0luE5c69fs5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Mar 09, 2022 at 07:14:11AM -0600, Justin Pryzby wrote: > Anyway there's no compelling reason to not use the default. If we were to use > a non-default default, we'd have to choose between 1 and 2 (or some negative > compression level). My thinking was that zstd-1 would give the lowest-hanging > fruits for zstd, while minimizing performance tradeoff, since WAL affects > interactivity. But choosing between 1 and 2 seems like bikeshedding. Yeah, I have looked again at the patch today, and I saw no reason to not apply it to give more options to the user as zstd or lz4 are both good in their own ways. So done, with the default level used. -- Michael --0RCkq0luE5c69fs5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmIqwM8ACgkQnvQgOdby QH14HA/9HNpGviSf7/msNh8IxhrA1Yu21i943Ao+r+eqNQo8AhvVRv8ZZJRhTOIO C4AGH1PnvTlkbo3DQrWb4ilTtS1qFJlAxJW+pkiR220fwln2ObCVVe4yzbWGR6aW C0WfXSc/NmYNFU8b3rBC61Nn5/5WmXzO6hYWNc1ULzRi0fOgDVj+2DLJnftQOnU1 /HM3IcdALxCpZx5oh8SPmkHJ8nvEJiWA5/Si5tZE6s27fhkMsmeXwJA+4TXa40yY 9JGZHUv5vi0Y17MOa2oQqX1zKFE/csJh78CAygJM3WeBDGMwk32/rGEtE8xSBvZY 9WsJOF2Vtd2j5u/HFJWFrlFIikkJ5zOaxTifYdU1j8xabOTEvgnwCwyTDnGg6Y0f GhF21mb9STXmmSnIm5pVBhCcRkKsOSyX85l0tC2qMKgSxVW4SMdq0+SfF4DTNfUT NaO9Rf681A/FNBsXbjQVrHj0AfJf0+wKTZQJWWocHIe6BQEHueu6bB1ec9ytYL6p ccUsX2fd8cUwhRt0/tNWZHh1xWYFwVaY+oSMP73rKEl99V0qUzPfIar/iJlhpdFS RBF5IN7oRyFzcquH0iwaqRmascKZzpBIFPKm2jvZOv0pqF5dc9HZaJ7YoZ8y79W4 d6RTJj5hjJiQXHImH+Bm63WRWvT5MGBPv0mNHqAoTpepvLXI58c= =GhUX -----END PGP SIGNATURE----- --0RCkq0luE5c69fs5--