Re: [GENERAL] pg_psort files

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: Steven Saner <ssaner(at)southwind(dot)net>
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] pg_psort files
Date: 1999-12-14 16:55:46
Message-ID: Pine.BSF.4.21.9912141253580.34471-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 14 Dec 1999, Steven Saner wrote:

> I have a fairly simple database (two tables and a few indecies). In
> the data/base/xxxx directory I find the following files:
>
> -rw------- 1 postgres postgres 7734146 Dec 14 06:36 pg_psort.13268.0
> -rw------- 1 postgres postgres 7707487 Dec 14 06:36 pg_psort.13268.1
> -rw------- 1 postgres postgres 7776602 Dec 14 06:36 pg_psort.13268.2
> -rw------- 1 postgres postgres 936026112 Dec 14 07:20 pg_psort.13268.3
> -rw------- 1 postgres postgres 8208384 Dec 14 06:36 pg_psort.13268.4
> -rw------- 1 postgres postgres 15699116 Dec 14 06:36 pg_psort.13268.5
> -rw------- 1 postgres postgres 19002244 Dec 14 06:36 pg_psort.13268.6
> -rw------- 1 postgres postgres 2097152 Dec 9 06:33 pg_psort.25350.0
> -rw------- 1 postgres postgres 2146304 Dec 9 06:33 pg_psort.25350.1
> -rw------- 1 postgres postgres 2277376 Dec 9 06:33 pg_psort.25350.2
> -rw------- 1 postgres postgres 1597440 Dec 9 06:33 pg_psort.25350.3
> -rw------- 1 postgres postgres 1064960 Dec 9 06:33 pg_psort.25350.4
> -rw------- 1 postgres postgres 1327104 Dec 9 06:33 pg_psort.25350.5
> -rw------- 1 postgres postgres 0 Dec 9 06:32 pg_psort.25350.6
>
> I have another database that is almost identical on a different
> machine. There are no pg_psort.xxxx files there. I am wondering:
>
> 1. What are these files?

sort files for stuff like ORDER BY queries...

> 2. Do I need them?

as long as you aren't running a query, you can safely remove them...

> 3. If I don't need them is it safe to remove them?

yes...

Also, what version of PostgreSQL are you running? I swore that more
recent versions of PostgreSQL cleaned up better behind itself...

Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Egon Schmid 1999-12-14 17:13:16 Re: [GENERAL] Announce: Postgres Access Control Tool
Previous Message Rosa.Carro 1999-12-14 16:54:52 Embedded SQL (II)