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 1mOVhW-0002Oq-3C for pgsql-hackers@arkaria.postgresql.org; Fri, 10 Sep 2021 01:51:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mOVhU-0006nb-G5 for pgsql-hackers@arkaria.postgresql.org; Fri, 10 Sep 2021 01:51:32 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mOVhU-0006nS-8F for pgsql-hackers@lists.postgresql.org; Fri, 10 Sep 2021 01:51:32 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mOVhR-00082I-RA for pgsql-hackers@lists.postgresql.org; Fri, 10 Sep 2021 01:51:31 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 7EB625C00CF; Thu, 9 Sep 2021 21:51:28 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 09 Sep 2021 21:51:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=Gf/bMcxnWefJsPNXyafctu+UqD+ BBxFOFxKWqZ3fiM0=; b=tMD4CUsjTHj5LIFUjpVUv1Vt+9GG/CzX4kJpfkXedd1 A+dQni7Ks5UVODYRKiV657l8k8gxYoWoeOSWSkNSBvXaVXtZjyovMkDCiNOM0Fc6 LWScsY9E3/xSm4lPNLl4DbhPdIG3Aculj7rrb24PzTHIZfif/SNM8L3jJO/0Ff4q 44wUX6uHncdabhUI9h+NS97GXAPnQZE/7Q2f1tBVyaeeiveoAUDqIyNIeeZOqYhM 44NjIhbLUg2oRvJObSM9BGjB4vZ9klMy4bnYKXsYeKW/iJYAz3oYjUZJ/UCGcOFz UXCeBHEqfQ91GKTNGq3r27quCTlmttSojxrKj9MiEbQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=fm3; bh=Gf/bMc xnWefJsPNXyafctu+UqD+BBxFOFxKWqZ3fiM0=; b=Z858ZItpeg120nUbwp1p4s GrrD9so9IFL75wjAP92CdAgoV94ruRBzTLn0UkgX4o7W4M/SVfYeduQq8Dl1sXio BUjgm6FzvywyxLiDzZe4/1PqlAvUhFRpPLbqKEtvZirWvgh8vmP1puaUA+STwmxY ghjZqtxkDje/sRHYVxbfcHJPT8yx8Ji+LK+8h855C9MWcwcs+V78Wx812hZ6ssBb mhGWXxtMfHlUYt7uKjenMBfdwc9Wafdr6UkisszKFvtU0gHqx2lTo+ZkslZWAd1p GB7EhlNtJdec5NQyxPr6+loOR/PZidI5F3z4OW13HxWYo9YSKFjW6ckMNhpe6VOA == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudegtddggeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpedvgeduuefhtdeuleettdevjeeh heeiveeuieegleetgeeljeelieeuieehgeevhfenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 9 Sep 2021 21:51:26 -0400 (EDT) Date: Fri, 10 Sep 2021 10:51:21 +0900 From: Michael Paquier To: "Bossart, Nathan" Cc: Bharath Rupireddy , PostgreSQL Hackers , "satyanarlapuram@gmail.com" , "marvin_liang@qq.com" , "actyzhang@outlook.com" , Ashutosh Sharma Subject: Re: pg_walinspect - a new extension to get raw WAL data and WAL stats Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ubN7Det0Pl2B7Aiw" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --ubN7Det0Pl2B7Aiw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 09, 2021 at 10:49:46PM +0000, Bossart, Nathan wrote: > +1 A backend approach has the advantage that you can use the proper locks to make sure that a segment is not recycled or removed by a concurrent checkpoint, so that would be reliable. -- Michael --ubN7Det0Pl2B7Aiw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmE6uhkACgkQnvQgOdby QH1XTw/+IzvYKpg0AyRR33l3sEXNDlpaQzk4kK0Lu6Kv3FSBwDyTe2xK0DkQwP9K 5RHBs3W/Dgh5gecYlQKUH1dzjGI69lvXpDRM/ll061OQllSQqVg2c3d7MODfQXHA ovCOUTmj7plFNpo7xYnUiV4SRT/folm3VTQB7nw5I+23jxcU3EnrNz0iLEQP2AOe 1ACB/CyfXQP/XtGy4ufq8cQjUXQxrQ5I76uVDM4KFu0Nbaz0zHjSQ+ixEKSsdPSO WV3S1l1ln8u7ZVUnZgxSQaZTSub6ApL2vhc7rtsf+kqDlQ6xi0nj4Crh9egfRHXy ZYaqKtbuQ/D6eBmOMvOKS38Uul7uWOhOVf7pHiwHOArNPgJQdPVn97ekWU2uzEOF BJOMmTCLgzdFkul0El0q1322nRyn7Qb+zb78XMQjylaRzUOP3ON2jpRmNDSfonHK bq1sGBMZRnkxN0cR1wbMdQ3Fa7vi5LppSxBAzKxlQefU7p3O0n30sjrXg4LpDxja 6uU0zla3LGY/xIHX13Q1HkrZp+ONKST3OZ25M5/PdhQaRfypsGvEzW/+8wk9WUPt ftt6Koi4AbigB7zaUu6d4kyQIst3tTAWfURt4XKPaC71D7djlgO6QviN3LZHTwFI uDX9amWRjowEb0KATP4zm/MZNZmJwZU4R/izrATIK0WVKPqWrN8= =CmJg -----END PGP SIGNATURE----- --ubN7Det0Pl2B7Aiw--