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 1n1wYG-00009y-4U for pgsql-hackers@arkaria.postgresql.org; Mon, 27 Dec 2021 20:25:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1n1wYE-0005TR-2H for pgsql-hackers@arkaria.postgresql.org; Mon, 27 Dec 2021 20:24:58 +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 1n1wYC-0005TI-V8 for pgsql-hackers@lists.postgresql.org; Mon, 27 Dec 2021 20:24:57 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n1wY8-0003gd-8M for pgsql-hackers@lists.postgresql.org; Mon, 27 Dec 2021 20:24:56 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id B7ECB3200EAD; Mon, 27 Dec 2021 15:24:48 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Mon, 27 Dec 2021 15:24:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=vCCxRAqHrlkZ1ubYP5lS/DeyE/o/1UqgebDmFD0R+ Z0=; b=LEv+DNHhnRkm6a0uSTLRQy9u9XvQYzcAvoCMgR8f3JI8auusTNPxonGp7 IfHFHsfsg5Uu/6ZoREXKCSz+iDVBvbEt8/TIgFhK6tkjoz1mHfOFx3blC4aI7zrP pX5JkOvEiOuQF+ywOLzRlUf+HpsX3sS2vM2iw3t9tM5u0kvhnNHObAR0YufPKDwu m9FQVlJA5D0uGw7N3ZGPkjwQ1ZQJNTbqEtztQlxSIlIKbgTjTWJA0A76ixl/LTpR tW4DcYMbuDXdn0qVrlEAQPCHmvmC17e4CEiSD8/tpHw7d0NqZbhPNi4vjVK1XzW2 6r0Jje19yFPk9aNmvqAO4KWmd52PA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddujedguddvfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesth ejredttdefjeenucfhrhhomheprfgvthgvrhcugfhishgvnhhtrhgruhhtuceophgvthgv rhdrvghishgvnhhtrhgruhhtsegvnhhtvghrphhrihhsvggusgdrtghomheqnecuggftrf grthhtvghrnhepfeejgeehteeuhfevveduleeufedtjeetiefftedvudfhtdeifefgueet tdevgefgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epphgvthgvrhdrvghishgvnhhtrhgruhhtsegvnhhtvghrphhrihhsvggusgdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 27 Dec 2021 15:24:46 -0500 (EST) Message-ID: <186288a9-f4c6-ca57-0fd4-dae743059892@enterprisedb.com> Date: Mon, 27 Dec 2021 21:24:43 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: sequences vs. synchronous replication Content-Language: en-US To: Kyotaro Horiguchi , tomas.vondra@enterprisedb.com Cc: masao.fujii@oss.nttdata.com, tgl@sss.pgh.pa.us, pgsql-hackers@lists.postgresql.org References: <20211224.143725.1750248643492340056.horikyota.ntt@gmail.com> <20211224.170451.116141220257426861.horikyota.ntt@gmail.com> From: Peter Eisentraut In-Reply-To: <20211224.170451.116141220257426861.horikyota.ntt@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 24.12.21 09:04, Kyotaro Horiguchi wrote: > Still, as Fujii-san concerns, I'm afraid that some people may suffer > the degradation the patch causes. I wonder it is acceptable to get > back the previous behavior by exposing SEQ_LOG_VALS itself or a > boolean to do that, as a 'not-recommended-to-use' variable. There is also the possibility of unlogged sequences if you want to avoid the WAL logging and get higher performance.