Re: Deleting old files from pgsql_tmp - Mailing list pgsql-admin

From Bruce Momjian
Subject Re: Deleting old files from pgsql_tmp
Date
Msg-id 200511040308.jA438tp20814@candle.pha.pa.us
Whole thread Raw
In response to Deleting old files from pgsql_tmp  (John Barham <jbarham@gmail.com>)
List pgsql-admin
John Barham wrote:
> Is it safe to delete old files created in pgsql_tmp?  I ask because a
> rogue query created almost 800 GB of temporary files and I would like
> to reclaim that disk space.  The query was killed (using kill -9 which
> I know is not the right thing to do...) so did not get the chance to
> clean up after itself.

Yes, as long as the files are not associated with any running backend.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-admin by date:

Previous
From: "Jason Minion"
Date:
Subject: Re: How to start postresql db server as a administrator on windows platform?
Next
From: Joost Kraaijeveld
Date:
Subject: loggin of select statements