X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id AB17730E8E0 for ; Mon, 16 Jun 2003 15:53:26 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 44946-08 for ; Mon, 16 Jun 2003 12:53:16 -0300 (ADT) Received: from fluor.cenes.de (pD9E7642D.dip.t-dialin.net [217.231.100.45]) by svr1.postgresql.org (Postfix) with ESMTP id D0C9230E358 for ; Mon, 16 Jun 2003 12:53:15 -0300 (ADT) Received: by fluor.cenes.de (Postfix, from userid 1000) id 75E5166348; Mon, 16 Jun 2003 17:55:03 +0200 (CEST) Subject: how do I get rid of huge sorttemp files? From: Markus Bertheau To: pgsql-admin@postgresql.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Message-Id: <1055778903.2212.5.camel@fluor> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.3- Date: 16 Jun 2003 17:55:03 +0200 X-Archive-Number: 200306/168 X-Sequence-Number: 9159 [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