Deleting old files from pgsql_tmp
Deleting old files from pgsql_tmp
От:
John Barham <jbarham@gmail.com>
Дата:
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. John Barham
Re: Deleting old files from pgsql_tmp
От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
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