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 1ncE2q-0004di-D8 for pgsql-general@arkaria.postgresql.org; Wed, 06 Apr 2022 22:22:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ncE2o-0003Oa-Th for pgsql-general@arkaria.postgresql.org; Wed, 06 Apr 2022 22:22:30 +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 1ncE2o-0003OR-JC for pgsql-general@lists.postgresql.org; Wed, 06 Apr 2022 22:22:30 +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 1ncE2j-0002JS-M6 for pgsql-general@lists.postgresql.org; Wed, 06 Apr 2022 22:22:30 +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 236MMM2F3185189; Wed, 6 Apr 2022 18:22:23 -0400 From: Tom Lane To: Chris Bisnett cc: pgsql-general@lists.postgresql.org Subject: Re: Per-Table vacuum_freeze_min_age In-reply-to: References: Comments: In-reply-to Chris Bisnett message dated "Wed, 06 Apr 2022 18:13:24 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <3185186.1649283742.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Wed, 06 Apr 2022 18:22:22 -0400 Message-ID: <3185187.1649283742@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Chris Bisnett writes: > The only downside I’ve seen is that this is a global setting and my > understanding is that this would cause decreased performance when used with > tables with a lot of writes and deletes. Is there a technical reason this > setting cannot be applied at the database or table context like other > autovacuum settings? There's an autovacuum_freeze_min_age reloption, isn't that what you need? regards, tom lane