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 1w23ZV-000qBz-0t for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Mar 2026 08:45:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w23ZU-008X29-1J for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Mar 2026 08:45:09 +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 1w23ZU-008X20-0Q for pgsql-hackers@lists.postgresql.org; Mon, 16 Mar 2026 08:45:08 +0000 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w23ZS-00000000OUk-1ehP for pgsql-hackers@postgresql.org; Mon, 16 Mar 2026 08:45:08 +0000 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-439d8dc4ae4so4295039f8f.2 for ; Mon, 16 Mar 2026 01:45:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773650705; x=1774255505; darn=postgresql.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=21fCO88FI0DVRNU0FD5SDij4JWBlRyQzUD4Pk+3f8N0=; b=SWgentO71wtXrXekGo95bsb4dqjPxVynv5EwnUOda59X9zPHrW9q2fdptyb5y0HQQd +G89NQpXe03Y+7Rr9pxOVotHOlZnapj/46rwxmdi5l16mdKOsrG379TURKeN4gk5Bn9n iOpQ93MpEOJ4aY7KANvNLrEu9xj4tgmCn0C+1V1Fhial/l//MWumgWLN4GzfoQB7amUJ bVILTdq3TC+Ig4HzkbxeAa+Kpeh5WPdHjoO2NzH+49/8PSodB9UVtwS2wWb2BT5whmuT E0YqkXvjz7sGigcil/s30JKg/NtlgKlpaEGMRKcgKrQ9HL5wkOulLVQs6Ii3ETfeeUEv Jm4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773650705; x=1774255505; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=21fCO88FI0DVRNU0FD5SDij4JWBlRyQzUD4Pk+3f8N0=; b=AJb9rWFZJ+ccWKB5vSoYaMhdiOlapQ35sVagVxuxCyvi3SbYAortI9lmRnekNtr5Me 7GLzJJlOtC2gsZNIHwTcGB/1/A2QPgrGntPlcwO37So3DSCStXygGiH17M3cGFCLo8MG Ilzdu7HnF0SeOkmqaVieV1fNhkdGuvB96ekTsY1i+DJyg+LAK2X0X2TUYq1yZhRoGLN0 y0VuPEJnodgRT2aQ4WrUpALOtAiKR4oqy/S2XGATLlnxqhbcY9L+D9wREWIEmFKFsXkt X00hxIxkD/ArY1l3cX7VB5pogB0pv8XPOEA3FgoLb48M2kvkOpWnL56mG85uruVpgi16 +uiQ== X-Gm-Message-State: AOJu0Ywq/MnJDxebACIbvO8jjSdSRuKHDDgdlQUQfuEtOcMB6tOBkJ7F aRAN124a+cXNotaRttErD3W9Bv7D8z9vTguQiRYbwezGuHdNfJf4py+9 X-Gm-Gg: ATEYQzy9i8JpBD5PWIKuUSHmf9yxk27w5d5H9chG2QIx2fzZfy1GgiddBeOcpcJ4jay Nll2nwxnXnCgbOR7qXo+7Ox1e9gI5cynVLFJP5H5LRe1vn2torFS0VYNOGeJsrzF0f3G44shTJO Qv6hllUsSVzNXerP0lU9Hn6dKgllT7bwi3fH1AjudXReiNMfwtdR8LKgKtIhKbfpZ14kZyjXEi5 I8eJwRLfa7xU0dSzaSCeSZQKknEb9aZYqBSAzZMmpr7wkaLZ1ni8paShdoQNLAws/FR1D7S1f84 ogbT5cgBJ0oFfGFPbKEN50a7aQ+IV/2blbtSh8COrU0BttudrdPgz+YL/xa4geFsFCvM30vBo6A BGXiJ4C2A378nhDlezJRo53ClG8u+C+V4bniEMjF43FuGjtA3jwDOfRCfXeTHVoeQvsqZGU2TIW Tz9iYJZ5zimCTipD1vMdQPWAT6b/sNJ1ZK6Y+NTw== X-Received: by 2002:a05:6000:2901:b0:43a:3cc:83da with SMTP id ffacd0b85a97d-43a04d8623emr22210356f8f.18.1773650705275; Mon, 16 Mar 2026 01:45:05 -0700 (PDT) Received: from [192.168.15.192] ([80.251.191.198]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43a03cfd18fsm29570806f8f.36.2026.03.16.01.45.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Mar 2026 01:45:04 -0700 (PDT) Message-ID: Date: Mon, 16 Mar 2026 09:45:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Vacuum statistics To: Andrey Borodin , Alena Rybakina Cc: pgsql-hackers , Alexander Korotkov , Amit Kapila , Jim Nasby , Bertrand Drouvot , Kirill Reshke , Andrei Zubkov , Masahiko Sawada , Melanie Plageman , jian he , Sami Imseih , vignesh C , Ilia Evdokimov References: <86f76aa5-1ab5-4e2e-9b15-405051852a2a@postgrespro.ru> <18169b68-5b10-40fd-9657-be04f2bd0161@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> Content-Language: en-US From: Andrei Lepikhov In-Reply-To: <10BE6E39-94D2-4909-ACB8-24E1FA6580EE@yandex-team.ru> 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 15/3/26 18:18, Andrey Borodin wrote: > > >> On 13 Mar 2026, at 18:04, Alena Rybakina wrote: > > I've decided to take a look into v31. > > Overall idea of tracking VM dynamics seems good to me. > > But the column naming for rev_all_visible_pages and rev_all_frozen_pages > seems strange to me. I've skimmed the thread but could not figure out what > "rev_" stands for. Revisions? Revolutions? Reviews? I suppose 'revert' is the exact term here. Someone decided to set the flag, and we reverted his decision. Does this make sense to you? Anyway, I always leave it in the natives' (and committers') hands. > > Is there a reason why you break "SELECT * FROM pg_stat_all_tables" for > an existing software? IMO even if we want these columns in this exact view > - they ought to be appended to the end of the column list. Please specify what you mean by this 'break'? The relational model has never guaranteed a specific order of columns returned unless you specify their names explicitly as a list. I think it is good if someone found a flaw in their application, depending on the wildcard order. So, I organised the elements according to their logical order. What's more? If you check the history of this VIEW, you will find that it has always been updated in logical order. Please explain your point if I misunderstood it. > > Some nits about the code. I doubt if we need a test for these parameters - they reflect the physical structure of the storage and might be unstable. But anyway, it should be better to live in isolation tests, as similar statistics. Thanks for your efforts! -- regards, Andrei Lepikhov, pgEdge