From: Tom Lane <tgl@sss.pgh.pa.us>
To: Markus Bertheau <bertheau@bab24.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: how do I get rid of huge sorttemp files?
Date: Mon, 16 Jun 2003 15:22:11 -0400
Message-ID: <6100.1055791331@sss.pgh.pa.us> (raw)
In-Reply-To: <1055777279.2213.2.camel@fluor>
References: <1055777279.2213.2.camel@fluor>
Markus Bertheau <bertheau@bab24.de> writes:
> PostgreSQL 7.1.3 on i686-pc-linux-gnu, compiled by GCC 2.96
> How do I get rid of these huge files
"rm" will do fine, assuming that you are certain the creating backends
aren't around anymore.
> and how do I prevent them from being created again?
An update to something newer than 7.1 might help. I'm guessing that you
are running into some bug that causes backends to crash every now and
then --- a backend should remove all its temp files at normal exit, but
on crash that doesn't happen.
7.2 and later also have code to auto-remove leftover temp files during
postmaster start, but that code is not in 7.1.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, bertheau@bab24.de
Subject: Re: how do I get rid of huge sorttemp files?
In-Reply-To: <6100.1055791331@sss.pgh.pa.us>
References: <1055777279.2213.2.camel@fluor> <6100.1055791331@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox