Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZNxt-0006Tt-Na for pgsql-admin@arkaria.postgresql.org; Mon, 15 Aug 2016 19:54:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bZNxt-0006ep-8M for pgsql-admin@arkaria.postgresql.org; Mon, 15 Aug 2016 19:54:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bZNw4-0004b4-VF for pgsql-admin@postgresql.org; Mon, 15 Aug 2016 19:52:37 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bZNw0-0001qu-TA for pgsql-admin@postgresql.org; Mon, 15 Aug 2016 19:52:36 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1bZNvy-0000JK-Dd; Mon, 15 Aug 2016 15:52:30 -0400 Date: Mon, 15 Aug 2016 15:52:30 -0400 From: Bruce Momjian To: Jerry Sievers Cc: pgsql-admin@postgresql.org Subject: Re: Thanks to pg_upgrade,. we'll reclaim 1.4T of total disk !! Message-ID: <20160815195230.GA25150@momjian.us> References: <86a8gerl1t.fsf@jerry.enova.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86a8gerl1t.fsf@jerry.enova.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -2.5 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org On Mon, Aug 15, 2016 at 12:36:46PM -0500, Jerry Sievers wrote: > Still, the discovery was rather shocking and a couple hours of > investigation ensude to explain the matter. > > Oh, and those 700G of space was actual logged table data, not temp or > UNlogged, ergo our standby system is likewise bloated by this amount. > > When we do the rescheduled upgrade thus we'll be saving 1.4T. OH yeah > baby!! This is on our TODO list since at least 2006: https://wiki.postgresql.org/wiki/Todo Check for unreferenced table files created by transactions that were in-progress when the server terminated abruptly https://www.postgresql.org/message-id/200606081508.k58F85m29270@candle.pha.pa.us -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription + -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin