pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Bertheau <bertheau@bab24.de>
To: pgsql-admin@postgresql.org
Subject: how do I get rid of huge sorttemp files?
Date: 16 Jun 2003 17:27:59 +0200
Message-ID: <1055777279.2213.2.camel@fluor> (raw)

[root@ds80-237-200-79 6221984]# pwd
/var/lib/pgsql/data/base/6221984
[root@ds80-237-200-79 6221984]# ls -lh --sort=size | head -10
total 9.9G
-rw-------    1 postgres postgres     1.0G Jan  7 12:36
pg_sorttemp10742.0
-rw-------    1 postgres postgres     1.0G Jan  7 12:36
pg_sorttemp10749.0
-rw-------    1 postgres postgres     1.0G Jan  7 12:36
pg_sorttemp10771.0
-rw-------    1 postgres postgres     1.0G Jan  7 12:36
pg_sorttemp10795.0
-rw-------    1 postgres postgres     1.0G Jan  8 17:13
pg_sorttemp3029.0
-rw-------    1 postgres postgres     779M Jan  4 11:39
pg_sorttemp10464.0
-rw-------    1 postgres postgres     599M Jan  7 16:56
pg_sorttemp12913.0
-rw-------    1 postgres postgres     515M Jan  9 17:44
pg_sorttemp2457.0
-rw-------    1 postgres postgres     349M Jan  7 12:36
pg_sorttemp10742.1

template1=# select version();
                           version                           
-------------------------------------------------------------
 PostgreSQL 7.1.3 on i686-pc-linux-gnu, compiled by GCC 2.96
(1 row)

How do I get rid of these huge files and how do I prevent them from
being created again? The dump of the whole database is ~50 Megabytes
gzipped.

Thanks

-- 
Markus Bertheau
Cenes Data GmbH





view thread (3+ messages)  latest in thread

Message-ID: <1055777279.2213.2.camel@fluor>
Permalink:  ../1055777279.2213.2.camel@fluor/
Also on:    postgresql.org/message-id/1055777279.2213.2.camel@fluor

 · 

reply

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: bertheau@bab24.de
  Subject: Re: how do I get rid of huge sorttemp files?
  In-Reply-To: <1055777279.2213.2.camel@fluor>
  References: <1055777279.2213.2.camel@fluor>

* 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