Re: BUG #13492: drop database does not release disk space - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #13492: drop database does not release disk space
Date
Msg-id 32284.1436301326@sss.pgh.pa.us
Whole thread Raw
In response to BUG #13492: drop database does not release disk space  (ismaelbezerra@gmail.com)
List pgsql-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

pgsql-bugs by date:

Previous
From: ismaelbezerra@gmail.com
Date:
Subject: BUG #13492: drop database does not release disk space
Next
From: grb@skogoglandskap.no
Date:
Subject: BUG #13493: pl/pgsql doesn't scale with cpus (PG9.3, 9.4)