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 1nIOK2-00089z-Mz for pgsql-bugs@arkaria.postgresql.org; Fri, 11 Feb 2022 05:18:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nIOK1-0001V0-6N for pgsql-bugs@arkaria.postgresql.org; Fri, 11 Feb 2022 05:18:17 +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 1nIOJz-0001Uq-FR for pgsql-bugs@lists.postgresql.org; Fri, 11 Feb 2022 05:18:16 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nIOJv-0001pt-V7 for pgsql-bugs@lists.postgresql.org; Fri, 11 Feb 2022 05:18:14 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 49E0232020BB; Fri, 11 Feb 2022 00:18:09 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Fri, 11 Feb 2022 00:18:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-transfer-encoding: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=fm3; bh=lWV+PEnx5tDSCc gXcscSu1acDtAvK0eXu92LGppRFi0=; b=uhyZXrK3BVteYhfK0qvvxfrq3C97jL qSYD6YxVMbooC35UekcmuElAkgiK5Wx7DLFIaqUvAL7QaPqfaEqbEVBeYWOFHY7D hgRktHJw0h9Y64K3bU2J+JGdtHDJ07FDZ3DERghfYm60Iw20cj9g1pCOJMzRxIcD UVgCUuGj0Q5qBnIEMqsXgX5B9rm9zFzE3TZ9Xs6F0R/CHQbD9NAa7x7tdflqXbzI tdHj0ThsOPSTH98lap7awd/HsMybymNTHFyKkMVwXXHawjyzs2zt2h2Vf6E2ShCu 5KX3o4H7VnuQpBUG5CudlHzYG2nyG6xzPM5UMAJNXvJDkQxqa4HdgeMA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :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=lWV+PEnx5tDSCcgXcscSu1acDtAvK0eXu92LGppRF i0=; b=c6lFupT2zUlR3cxFWnuoGU13zcnNAov8j6Beq74r3wfeq4QiVHzx7gmh0 3WPygKcVc6jr+LPSfto+2qfD8U3F1xvlukDPUGSEXl10JuCPc0CAnLOhJG4zgxqT ujQ4OiCk9OPRW5bqKxBC3PDMYb91ffPqbmZHFghIGtmS+c+poQh/S4zrWCnPk2/T nWyLXjJaNnQ2UBrcFO1X1WwFXZ11N5dZdYwL0r44wXUgWRI5GMFgqNkmB1YF4CIc cRP0daNR1CUJg3G0bE6jKnDdtn4jNJ//pBMNABtjuMTBysdGpU47jDB0kRvlYV9l ZtF3F9Ppxyj3yhaWIPNhHrpy12mkA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddriedvgdejiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffufggjfhfkgggtgfesthhqmh dttderjeenucfhrhhomheptehnughrvghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghn rghrrgiivghlrdguvgeqnecuggftrfgrthhtvghrnhepfedttdfhlefhfeehheekjeeghe efhedvhffgtdeivedugeevkeelfefgvdeghedvnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomheprghnughrvghssegrnhgrrhgriigvlhdruggv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 11 Feb 2022 00:18:08 -0500 (EST) Date: Thu, 10 Feb 2022 21:18:05 -0800 From: Andres Freund To: Soni M CC: pgsql-bugs@lists.postgresql.org Subject: =?US-ASCII?Q?Re=3A_BUG_=2317399=3A_Dead_tuple_number_sta?= =?US-ASCII?Q?ts_not_updated_on_long_running_queries?= User-Agent: K-9 Mail for Android In-Reply-To: References: <17399-3dde82c18cf8e957@postgresql.org> <20220211003252.drai4n4zsfqxfd5n@alap3.anarazel.de> Message-ID: <611EAC77-3388-4FBF-8081-CBF88FDAB32F@anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi,=20 On February 10, 2022 8:37:10 PM PST, Soni M wrote: >Sorry, accidentally send the message before finishing it=2E > >Ah yes, it is the dead tuple cannot be removed, because long running >transactions still see them=2E >Something that lead to my confusion above is pg_stat_progress_vacuum, eac= h >time autovacuum/manual vacuum launch during long running transaction, it >reports that num_dead_tuples is 0, while the >pg_stat_user_tables=2En_dead_tuple still have the number of dead tuples= =2E > >It is false reporting from pg_stat_progress_vacuum that lead to my >confusion=2E That just reports the number of dead tuples that it is tracking for remova= l=2E Not the number of tuples that could not yet be removed=2E=20 --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E