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 1pAzWq-00083e-So for pgsql-hackers@arkaria.postgresql.org; Thu, 29 Dec 2022 20:29:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pAzWp-00071Q-Ml for pgsql-hackers@arkaria.postgresql.org; Thu, 29 Dec 2022 20:29:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pAzWp-00071G-Dc for pgsql-hackers@lists.postgresql.org; Thu, 29 Dec 2022 20:29:27 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pAzWi-0006WN-Qh for pgsql-hackers@lists.postgresql.org; Thu, 29 Dec 2022 20:29:26 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 2BTKTFee599742; Thu, 29 Dec 2022 15:29:15 -0500 From: Tom Lane To: Nathan Bossart cc: Justin Pryzby , Peter Geoghegan , postgresql@taljaren.se, pgsql-hackers@lists.postgresql.org, Michael Paquier Subject: Re: BUG #17717: Regression in vacuumdb (15 is slower than 10/11 and possible memory issue) In-reply-to: <20221229182657.GA165622@nathanxps13> References: <3439037.1671130590@sss.pgh.pa.us> <3544447.1671141436@sss.pgh.pa.us> <3672943.1671202149@sss.pgh.pa.us> <407579.1672258403@sss.pgh.pa.us> <20221229012354.GF1153@telsasoft.com> <451605.1672280274@sss.pgh.pa.us> <576868.1672334578@sss.pgh.pa.us> <20221229182657.GA165622@nathanxps13> Comments: In-reply-to Nathan Bossart message dated "Thu, 29 Dec 2022 10:26:57 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <599740.1672345755.1@sss.pgh.pa.us> Date: Thu, 29 Dec 2022 15:29:15 -0500 Message-ID: <599741.1672345755@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Nathan Bossart writes: > On Thu, Dec 29, 2022 at 12:22:58PM -0500, Tom Lane wrote: >> Justin Pryzby writes: >>> VACUUM (UPDATE_DATABASE_STATS {yes,no,only}) >>>> VACUUM (DATABASE_STATS {UPDATE,SKIP,ONLY}) > +1 for only introducing one option. IMHO UPDATE_DATABASE_STATS fits a > little better since it states the action like most of the other options, > but I think both choices are sufficiently clear. I tried to make a patch along these lines, and soon hit a stumbling block: ONLY is a fully-reserved SQL keyword. I don't think this syntax is attractive enough to justify requiring people to double-quote the option, so we are back to square one. Anybody have a different suggestion? regards, tom lane