T
T
tisprk2019-06-14 13:02:02
PostgreSQL
tisprk, 2019-06-14 13:02:02

How to free up space after deleting postgreSQL database?

Recently upgraded PostgreSQL from version 9.5 to version 9.6. When updating, I used links to the old cluster. Now, when the database is deleted (tried through pgAdmin4 and through psql), the database is deleted, but the disk space is not released.
How to free up space occupied by remote databases?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Melkij, 2019-06-14
@tisprk

pg_upgrade --link ?
Useless datadir from 9.5 removed? pg_upgrade created a delete_old_cluster script after the upgrade to do this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question