Re: tracking down temp files

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: tracking down temp files
Дата
Msg-id 200311191634.hAJGYSs22695@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: tracking down temp files  (Robert Treat <xzilla@users.sourceforge.net>)
Список 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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

В списке pgsql-general по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [ADMIN] Point-in-time data recovery - v.7.4
Следующее
От: Herbert Liechti
Дата:
Сообщение: Wanted: Trick for granting permissions to users with hyphens