Re: Safe to delete files? - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Safe to delete files?
Date
Msg-id 8456979b-259a-787b-c08e-933bbefba9cf@aklaver.com
Whole thread Raw
In response to Safe to delete files?  (Paul van der Linden <paul.doskabouter@gmail.com>)
Responses Re: Safe to delete files?
List pgsql-general
On 4/13/19 7:10 AM, Paul van der Linden wrote:
> It was just 99 files of 1GB each for each id, and no I didn't vacuum.
> I did see disk usage dropping quite a lot after dropping those tables 
> though, so I expected postgres to delete all unneccesary files for all 
> the tables.
> 
> However when checking just now I saw that the files I was referring to 
> were indeed deleted somehow (don't have an autovacuum running).
> So not sure how or why, but my problem is solved

Did you DROP the tables in a transaction and look at the the directory 
previously before you issued COMMIT?


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Paul van der Linden
Date:
Subject: Re: Safe to delete files?
Next
From: Paul van der Linden
Date:
Subject: Re: Safe to delete files?