Re: tracking down temp files

From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: tracking down temp files
Date: 2003-11-19 06:40:18
Message-ID: 200311190140.18314.xzilla@users.sourceforge.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Monday 17 November 2003 21:38, Bruce Momjian wrote:
> Robert Treat wrote:
> > is there some way to determine the query that creates the file
> > pgsql_tmp15041.0? i thought maybe 15041 was the procpid but apparently
> > not... anyone know?
>
> It is the proc id. Perhaps the backend crashed. If so, a postmaster
> restart clears those sort directories.

Hmm... when I see those files created I look in pg_stat_activity, but I don't
see any corresponding query... shouldn't I?

Robert Treat
--
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Shridhar Daithankar 2003-11-19 06:55:39 Re: problem running postmaster
Previous Message Stephen Robert Norris 2003-11-19 05:12:44 Re: Tunning postgresql