Re: temporary data after diskspace error - Mailing list pgsql-general

From Willy-Bas Loos
Subject Re: temporary data after diskspace error
Date
Msg-id CAHnozTjyEodb+gu3joijHR15uCsW+x9fgHGYTxkn_heYPOzJhw@mail.gmail.com
Whole thread Raw
In response to Re: temporary data after diskspace error  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: temporary data after diskspace error
List pgsql-general
Ok, thanks everyone!
Will there be a lot of downtime to delete those 90GB of temp files?

Will postgres just delete those files without processing them or should I brace for some downtime?


Op ma 27 jan. 2020 17:15 schreef Tom Lane <tgl@sss.pgh.pa.us>:
Willy-Bas Loos <willybas@gmail.com> writes:
> And also: How can i make postgres clean up the files?
> Can it be done without restarting the cluster?
> Will restarting it help?

A restart will clean out temp files.  I don't think there's any
terribly safe way to do it without that.  You could manually
remove such files that haven't been accessed recently, but the
risk of human error is high.

                        regards, tom lane

pgsql-general by date:

Previous
From: Michael Lewis
Date:
Subject: Re: temporary data after diskspace error
Next
From: Adrian Klaver
Date:
Subject: Re: PostgresSQL 10 on remote server - Socket is not connected(0x00002749/10057)