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.94.2) (envelope-from ) id 1sgXVc-003hhZ-Cn for pgsql-hackers@arkaria.postgresql.org; Tue, 20 Aug 2024 22:39:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sgXVa-004J1a-Gx for pgsql-hackers@arkaria.postgresql.org; Tue, 20 Aug 2024 22:39:23 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sgXVa-004J1R-7B for pgsql-hackers@lists.postgresql.org; Tue, 20 Aug 2024 22:39:22 +0000 Received: from mail.postgrespro.ru ([93.174.131.139]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sgXVX-000dSd-7A for pgsql-hackers@postgresql.org; Tue, 20 Aug 2024 22:39:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mx2023; t=1724193556; bh=V4bX8SnPK4zXNzf7zo01DIs2gvX6yVUaemxxmZN5vsA=; h=Message-ID:Date:User-Agent:Subject:To:Cc:References:From: In-Reply-To:From; b=pFGldYq31vOb6usSOKKX43s9z5iadpeUZ/vmO2joikX/4GRwiCQRhj8jMhSwbytMn 08QdWV0YpSnExHem2h5WfiDlg+JWmWDhxSogEa1hI7a/SjnNtdunK72eyesRf7yFzv XLl+Ss881hBUNJAdaX7vNZF3apLOxGeh5im4PGf5Jar6uH2Bv/iE7ZGuQApFp110/d 3wS1blsI6j6HkZmsQQ+sYQMvWGTJigEMOwbzNLQPKkytDKVZw7sCdbvXzhZRmumQ3V jO65or09Db69sT/tMZrFDatPS6kuw/Z4l7VHpxlzo/oDMc+6CBM0e6Ymxy4ZYzHNMJ j3MNPs3aBUMvg== Received: from [172.20.10.4] (unknown [89.113.147.14]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: a.rybakina@postgrespro.ru) by mail.postgrespro.ru (Postfix/587) with ESMTPSA id 2DDAF60144; Wed, 21 Aug 2024 01:39:16 +0300 (MSK) Message-ID: <3deae1bd-ad84-4459-a26e-04c9136b84e9@postgrespro.ru> Date: Wed, 21 Aug 2024 01:39:15 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Vacuum statistics To: Ilia Evdokimov Cc: Andrei Zubkov , Alena Rybakina , pgsql-hackers , a.lepikhov@postgrespro.ru, jian he References: <53c47c2d-72a5-44f2-900c-9973b2af1808@tantorlabs.com> <4a902cea-54fb-41b5-b208-b84731a5f577@postgrespro.ru> <092adec6-4eae-4bd4-bd0d-473a9df1282b@tantorlabs.com> Content-Language: en-US From: Alena Rybakina In-Reply-To: <092adec6-4eae-4bd4-bd0d-473a9df1282b@tantorlabs.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-KSMG-AntiPhishing: NotDetected, bases: 2024/08/20 21:41:00 X-KSMG-AntiSpam-Interceptor-Info: not scanned X-KSMG-AntiSpam-Status: not scanned, disabled by settings X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.1.0.7854, bases: 2024/08/20 21:31:00 #26390795 X-KSMG-AntiVirus-Status: NotDetected, skipped X-KSMG-LinksScanning: not scanned, disabled by settings X-KSMG-Message-Action: skipped X-KSMG-Rule-ID: 1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk I think you've counted the above system tables from the database, but I'll double-check it. Thank you for your review! On 19.08.2024 19:28, Ilia Evdokimov wrote: > Are you certain that all tables are included in > `pg_stat_vacuum_tables`? I'm asking because of the following: > > > SELECT count(*) FROM pg_stat_all_tables ; >  count > ------- >    108 > (1 row) > > SELECT count(*) FROM pg_stat_vacuum_tables ; >  count > ------- >     20 > (1 row) > -- Regards, Alena Rybakina Postgres Professional: http://www.postgrespro.com The Russian Postgres Company