Just deleted all the studies off Orthanc but the database size is still ~100Gb

Hi,
I’ve just deleted all the studies from my Orthanc server using the json interface. I’ve mounted my postgresql database on a different partition, but after this deletion, the size of the partition is still holding at about 100Gb, little changed to what it was before.
As my orthanc server is used to transfer images, I don’t want any record to remain, or I’ll run out of hard drive space.

How do I fix this?

Thanks
James

Hello,

This question is PostgreSQL-related, and has been asked several times on this forum, e.g.:
https://groups.google.com/d/msg/orthanc-users/fUo_UYUB8c8/gK2lUnrPAgAJ

HTH,
Sébastien-