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 1myhbq-0003Bs-7o for pgsql-hackers@arkaria.postgresql.org; Sat, 18 Dec 2021 21:51:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1myhbp-0008Nt-3K for pgsql-hackers@arkaria.postgresql.org; Sat, 18 Dec 2021 21:51:17 +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 1myhbo-0008Nk-Qb for pgsql-hackers@lists.postgresql.org; Sat, 18 Dec 2021 21:51:16 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1myhbi-00028Q-GK for pgsql-hackers@lists.postgresql.org; Sat, 18 Dec 2021 21:51:16 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 1BILp7AF1639550; Sat, 18 Dec 2021 16:51:07 -0500 From: Tom Lane To: Tomas Vondra cc: PostgreSQL Hackers Subject: Re: sequences vs. synchronous replication In-reply-to: <8e24a470-b092-3c9f-0614-acd9df3f724f@enterprisedb.com> References: <712cad46-a9c8-1389-aef8-faf0203c9be9@enterprisedb.com> <1452362.1639803168@sss.pgh.pa.us> <38a6a779-ee8d-de3c-fbd7-709285be88fa@enterprisedb.com> <7869761b-fdc7-6f7d-dc95-9ba8315a8ecf@enterprisedb.com> <1637476.1639862832@sss.pgh.pa.us> <8e24a470-b092-3c9f-0614-acd9df3f724f@enterprisedb.com> Comments: In-reply-to Tomas Vondra message dated "Sat, 18 Dec 2021 22:48:11 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1639548.1639864267.1@sss.pgh.pa.us> Date: Sat, 18 Dec 2021 16:51:07 -0500 Message-ID: <1639549.1639864267@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Tomas Vondra writes: > What do you mean by "not caching unused sequence numbers"? Reducing > SEQ_LOG_VALS to 1, i.e. WAL-logging every sequence increment? Right. > That'd work, but I wonder how significant the impact will be. As I said, we've accepted worse in order to have stable replication behavior. regards, tom lane