Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iB4Pk-0000mn-Er for pgsql-general@arkaria.postgresql.org; Thu, 19 Sep 2019 21:56:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iB4Ol-00073d-3m for pgsql-general@arkaria.postgresql.org; Thu, 19 Sep 2019 21:55:35 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iB4Ok-00073L-MW for pgsql-general@lists.postgresql.org; Thu, 19 Sep 2019 21:55:34 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iB4Oi-000200-E9 for pgsql-general@lists.postgresql.org; Thu, 19 Sep 2019 21:55:33 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x8JLtRA1016069; Thu, 19 Sep 2019 17:55:27 -0400 From: Tom Lane To: Adrian Klaver cc: Julie Nishimura , "pgsql-general@lists.postgresql.org" Subject: Re: is it safe to drop 25 tb schema with cascade option? In-reply-to: References: <71b7be3f-6f7f-cce4-ce76-87febd8295b0@aklaver.com> <15554.1568929375@sss.pgh.pa.us> Comments: In-reply-to Adrian Klaver message dated "Thu, 19 Sep 2019 14:49:48 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <16067.1568930127.1@sss.pgh.pa.us> Date: Thu, 19 Sep 2019 17:55:27 -0400 Message-ID: <16068.1568930127@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Adrian Klaver writes: > So this is the part I need some clarification on. If you start vacuuming > the tables that are setting the min then that should buy you some time? Yes, if there are some small tables that have relfrozenxid even further back than the big ones, vacuuming them first would be a win. regards, tom lane