From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Robert Treat <xzilla(at)users(dot)sourceforge(dot)net> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: tracking down temp files |
Date: | 2003-11-19 16:34:28 |
Message-ID: | 200311191634.hAJGYSs22695@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Robert Treat wrote:
> 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?
Yes, you should unless the backend died unexpectedly in which case they
would be left around until postmaster restart.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-11-19 16:35:47 | Re: Point-in-time data recovery - v.7.4 |
Previous Message | Robert Treat | 2003-11-19 16:22:16 | Re: 7.4RC2 --> 7.4 |