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 1ugPTe-002hxj-7g for pgsql-hackers@arkaria.postgresql.org; Mon, 28 Jul 2025 15:09:22 +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 1ugPTc-008dbS-G5 for pgsql-hackers@arkaria.postgresql.org; Mon, 28 Jul 2025 15:09:20 +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 1ugPTc-008dbJ-6B for pgsql-hackers@lists.postgresql.org; Mon, 28 Jul 2025 15:09:20 +0000 Received: from mail1.dalibo.net ([51.159.93.128] helo=mail.dalibo.com) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1ugPTa-001Dvw-2J for pgsql-hackers@lists.postgresql.org; Mon, 28 Jul 2025 15:09:19 +0000 Received: from [192.168.0.7] (5-49-10-71.hfc.dyn.abo.bbox.fr [5.49.10.71]) by mail.dalibo.com (Postfix) with ESMTPSA id 92D5F2769C; Mon, 28 Jul 2025 17:09:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dalibo.com; s=a; t=1753715356; bh=fffAimjTA52e848TTcEojSxi4ibMIUjtDFaf48E206o=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Nc24i/uXGjhLviv7CPd2AxgrFjXqoXT8mmQO9MJrGmFK6O0rOStbjxsiymgGTizCw EmAdp2e7ROamNH8tfMNVdEenG1r/l9lLPd7wyRLNHyEkagV+gOkMyXT4ZF9Q/20Isw Xdvq086MMoMuRDQZoLBHbNbsfgdh62T2dwQn6RXM= Message-ID: Date: Mon, 28 Jul 2025 17:09:15 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: vacuumdb changes for stats import/export To: Nathan Bossart Cc: Corey Huinker , Bruce Momjian , "David G. Johnston" , John Naylor , Masahiko Sawada , Jeff Davis , jian he , Matthias van de Meent , Tom Lane , Magnus Hagander , Stephen Frost , Ashutosh Bapat , Peter Smith , PostgreSQL Hackers , alvherre@alvh.no-ip.org References: <4b94ca16-7a6d-4581-b2aa-4ea79dbc082a@dalibo.com> <8320fa2e-9200-46e2-b905-4a4d84707020@dalibo.com> From: =?UTF-8?Q?Fr=C3=A9d=C3=A9ric_Yhuel?= Content-Language: fr, en-US Autocrypt: addr=frederic.yhuel@dalibo.com; keydata= xjMEXn3bgxYJKwYBBAHaRw8BAQdA6tX5FT/n5ztMWIoBdl6k5avvu65fv6ryfVzIx/aH3V3N JEYuIFlodWVsIDxmcmVkZXJpYy55aHVlbEBkYWxpYm8uY29tPsKWBBMWCAA+FiEEi7OTyf6H ePS+C6n11XGWhN8zGNUFAmZDVJ8CGwMFCQtfi90FCwkIBwIGFQoJCAsCBBYCAwECHgECF4AA CgkQ1XGWhN8zGNV65gEA6o+UrebFjn2CIAOYwP3CiiJugiM5TMH9yJyehQua5ZoA/2ChxiVn 8OUaAw/ErxJmQi1mSN0tNZBL/KhkUPBDUDQNzjgEXn3bgxIKKwYBBAGXVQEFAQEHQCuh5cLQ AtEBXHa2Fmtp0kduBu7msM7qO/gaEcdjFUdiAwEIB8J+BBgWCAAmAhsMFiEEi7OTyf6HePS+ C6n11XGWhN8zGNUFAmZDVJ8FCQtfi90ACgkQ1XGWhN8zGNWOOAEArSqePBqfd4Kx4ulACaWO 6fM+XSDfUlBAQXx9rU6DR4MBALwozl9g91tRysim6lKxggvBfp/PvbpTZNrxYLWB2fYP In-Reply-To: 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 7/28/25 16:47, Nathan Bossart wrote: > I can't remember who wrote this line, but it was borrowed from the > --analyze-in-stages description. The point is that if you use > --analyze-in-stages without --missing-stats-only, there will be a period > where existing statistics will be replaced with ones generated with lower > statistics targets. Aha, it makes sense now, thank you! > Obviously, this wording isn't clear enough. We might > need to either remove that sentence or add "When used in conjunction with > --analyze-in-stages..." I vote for the second option.