pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: ismaelbezerra@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #13492: drop database does not release disk space
Date: Tue, 07 Jul 2015 16:35:26 -0400
Message-ID: <32284.1436301326@sss.pgh.pa.us> (raw)
In-Reply-To: <20150707184524.1187.70040@wrigleys.postgresql.org>
References: <20150707184524.1187.70040@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

ismaelbezerra@gmail.com writes:
> I'm having problem to drop a database. When performing the drop database
> command postgresql does not release the disk space. The directory with oid
> database remains on disk. This database has been updated from version 9.3.4
> to 9.4.4 with the -k option pg_upgrade. What can it be?

If you forgot to rm -rf the 9.3 database directory after you were finished
upgrading, then all those files are still hard-linked into the 9.3 tree,
so they wouldn't disappear after being dropped from the 9.4 tree.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)

Message-ID: <32284.1436301326@sss.pgh.pa.us>
Permalink:  ../32284.1436301326@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/32284.1436301326@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ismaelbezerra@gmail.com
  Subject: Re: BUG #13492: drop database does not release disk space
  In-Reply-To: <32284.1436301326@sss.pgh.pa.us>
  References: <20150707184524.1187.70040@wrigleys.postgresql.org> <32284.1436301326@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox