pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #13492: drop database does not release disk space
2+ messages / 2 participants
[nested] [flat]

* BUG #13492: drop database does not release disk space
@ 2015-07-07 18:45 ismaelbezerra@gmail.com
  2015-07-07 20:35 ` Re: BUG #13492: drop database does not release disk space Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: ismaelbezerra@gmail.com @ 2015-07-07 18:45 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      13492
Logged by:          Ismael Bezerra
Email address:      ismaelbezerra@gmail.com
PostgreSQL version: 9.4.4
Operating system:   Linux CentOS 6
Description:        

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?


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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #13492: drop database does not release disk space
  2015-07-07 18:45 BUG #13492: drop database does not release disk space ismaelbezerra@gmail.com
@ 2015-07-07 20:35 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2015-07-07 20:35 UTC (permalink / raw)
  To: ismaelbezerra@gmail.com; +Cc: 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


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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2015-07-07 20:35 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-07-07 18:45 BUG #13492: drop database does not release disk space ismaelbezerra@gmail.com
2015-07-07 20:35 ` Tom Lane <tgl@sss.pgh.pa.us>

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