Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w2rkA-000gFN-1q for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Mar 2026 14:19:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w2rk8-00BLVD-1o for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Mar 2026 14:19:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w2rk8-00BLV2-0r for pgsql-hackers@lists.postgresql.org; Wed, 18 Mar 2026 14:19:28 +0000 Received: from smtpout29.sweb.ru ([2a02:408:7722:1:77:222:41:106]) by magus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w2rk4-00000000wbE-0ls9 for pgsql-hackers@postgresql.org; Wed, 18 Mar 2026 14:19:27 +0000 Received: from [UNAVAILABLE] ([78.107.250.17] helo=web) by smtpout27.sweb.ru with esmtpa (Exim 4.94.2) (envelope-from ) id 1w2rjz-000844-Iv; Wed, 18 Mar 2026 17:19:19 +0300 Received: from [192.168.61.161] (helo=desktop) by web with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w2rjk-00000000GUH-071K; Wed, 18 Mar 2026 17:19:04 +0300 From: Andrei Zubkov To: Alena Rybakina Cc: Andrey Borodin , Andrei Lepikhov , pgsql-hackers , Alexander Korotkov , Amit Kapila , Jim Nasby , Bertrand Drouvot , Kirill Reshke , Masahiko Sawada , Melanie Plageman , jian he , Sami Imseih , vignesh C , Ilia Evdokimov Subject: Re: Vacuum statistics In-Reply-To: <68939c47-fa0c-4198-853a-92d1390079da@yandex.ru> (Alena Rybakina's message of "Tue, 17 Mar 2026 19:38:41 +0300") References: <86f76aa5-1ab5-4e2e-9b15-405051852a2a@postgrespro.ru> <612819ad-beca-41fb-bb7f-d5a7c11f0045@yandex.ru> <277ce149-4333-463d-bad6-ccd785606c7f@yandex.ru> <3f9c57bc-dc1f-4ad8-a2e1-5be15ac79264@yandex.ru> <77f1b8bc-b365-4e88-b87b-ced37fabbbf0@yandex.ru> <7a74d6af-85e2-4b48-9133-61309a965954@yandex.ru> <1885f257-46cc-4b90-8d90-41833eb62ea9@gmail.com> <0e84acdc-ba65-44fa-be1f-4d6a86bca2ac@yandex.ru> <8bd78e04-6efa-4fcf-b157-8ac3b92375c8@yandex.ru> <10BE6E39-94D2-4909-ACB8-24E1FA6580EE@yandex-team.ru> <4c443e7c-e348-40fc-8baf-2f4caa3b6cbc@yandex.ru> <54cbe53b-d8cf-495f-aa33-3501bec72780@moonset.ru> <767d28c9-2ae8-43df-9f2e-3e8785075115@yandex.ru> <87bjgmlbnf.fsf@desktop.moonset.ru> <68939c47-fa0c-4198-853a-92d1390079da@yandex.ru> Date: Wed, 18 Mar 2026 17:19:03 +0300 Message-ID: <87tsudz0dk.fsf@desktop.moonset.ru> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alena Rybakina writes: > 1. Naming: The meaning of 'visible/frozen_pages_cleared' seems to me as > cleared pages rather then cleared marks... Maybe it should be > 'visible_page_marks_cleared'? > > I agree, this improves clarity. I've renamed it as proposed. > > 2. Mention of a VACUUM in the docs may be understood > as related to manual VACUUM command only. However, autovacuum is > accounted as well.. I think we can use just term 'vacuum' here as a > facility rather than command. > > Fixed. Clarified that this applies to both manual > VACUUM and autovacuum. I think it is good now > > I also added an additional test scenario where one process holds a > transaction open while another process deletes tuples. We expect that > the all-visible and all-frozen flags, previously set by VACUUM, are > cleared only after the deleting transaction commits and the changes > become visible. > I'm happy with the patch now. -- Best regards, Andrei Zubkov Postgres Professional