pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_sorttemp files
5+ messages / 3 participants
[nested] [flat]

* pg_sorttemp files
@ 2000-05-03 02:32  brianb <brianb-pgadmin@edsamail.com>
  0 siblings, 0 replies; 5+ messages in thread

From: brianb @ 2000-05-03 02:32 UTC (permalink / raw)
  To: pgsql-admin


I found a couple of pg_sorttemp* files in my database directory. Is it safe
to delete these? They're quite large (around 40MB each) and have a creation
date of a couple of days ago.

Brian
--
Brian Baquiran <brianb@edsamail.com>
http://www.baquiran.com/
AIM: bbaquiran



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* RE: pg_sorttemp files
@ 2000-05-03 08:30  Nicolas Huillard <nhuillard@ghs.fr>
  0 siblings, 1 reply; 5+ messages in thread

From: Nicolas Huillard @ 2000-05-03 08:30 UTC (permalink / raw)
  To: 'brianb' <brianb-pgadmin@edsamail.com>; pgsql-admin

As soon as every postgres back-end server if closed, it is safe to delete these files.
I do a...
ps axf | grep -e "[P]ID" -e "[p]ost"
... to check for living back-ends...

Nicolas Huillard

-----Message d'origine-----
De:	brianb [SMTP:brianb-pgadmin@edsamail.com]
Date:	mercredi 3 mai 2000 04:32
À:	pgsql-admin@postgresql.org
Objet:	[ADMIN] pg_sorttemp files 


I found a couple of pg_sorttemp* files in my database directory. Is it safe
to delete these? They're quite large (around 40MB each) and have a creation
date of a couple of days ago.

Brian
--
Brian Baquiran <brianb@edsamail.com>
http://www.baquiran.com/
AIM: bbaquiran



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: pg_sorttemp files
@ 2000-05-03 09:56  brianb <brianb-pgadmin@edsamail.com>
  parent: Nicolas Huillard <nhuillard@ghs.fr>
  0 siblings, 1 reply; 5+ messages in thread

From: brianb @ 2000-05-03 09:56 UTC (permalink / raw)
  To: Nicolas Huillard <nhuillard@ghs.fr>; +Cc: pgsql-admin


Ok, thanks. But why are they there in the first place, then?

Nicolas Huillard writes:

> As soon as every postgres back-end server if closed, it is safe to delete these files.
> I do a...
> ps axf | grep -e "[P]ID" -e "[p]ost"
> ... to check for living back-ends...
> 
> Nicolas Huillard
> 
> -----Message d'origine-----
> De:	brianb [SMTP:brianb-pgadmin@edsamail.com]
> Date:	mercredi 3 mai 2000 04:32
> À:	pgsql-admin@postgresql.org
> Objet:	[ADMIN] pg_sorttemp files 
> 
> 
> I found a couple of pg_sorttemp* files in my database directory. Is it safe
> to delete these? They're quite large (around 40MB each) and have a creation
> date of a couple of days ago.
> 
> Brian
> --
> Brian Baquiran <brianb@edsamail.com>
> http://www.baquiran.com/
> AIM: bbaquiran


--
Brian Baquiran <brianb@edsamail.com>
http://www.baquiran.com/
AIM: bbaquiran



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* RE: pg_sorttemp files
@ 2000-05-03 10:15  Nicolas Huillard <nhuillard@ghs.fr>
  0 siblings, 0 replies; 5+ messages in thread

From: Nicolas Huillard @ 2000-05-03 10:15 UTC (permalink / raw)
  To: 'brianb' <brianb-pgadmin@edsamail.com>; +Cc: pgsql-admin

These files are temporary files used by back-ends while sorting (as their names tell). They where probably forgotten when the back-end finished (either a died back-end or some sort or abnormal thing). The fact that these files are big can mean that the corresponding back-ends had problems with the involved queries, thus died without erasing the files.

Nicolas Huillard

-----Message d'origine-----
De:	brianb [SMTP:brianb-pgadmin@edsamail.com]
Date:	mercredi 3 mai 2000 11:56
À:	Nicolas Huillard
Cc:	pgsql-admin@postgresql.org
Objet:	Re: [ADMIN] pg_sorttemp files 


Ok, thanks. But why are they there in the first place, then?

Nicolas Huillard writes:

> As soon as every postgres back-end server if closed, it is safe to delete these files.
> I do a...
> ps axf | grep -e "[P]ID" -e "[p]ost"
> ... to check for living back-ends...
> 
> Nicolas Huillard
> 
> -----Message d'origine-----
> De:	brianb [SMTP:brianb-pgadmin@edsamail.com]
> Date:	mercredi 3 mai 2000 04:32
> À:	pgsql-admin@postgresql.org
> Objet:	[ADMIN] pg_sorttemp files 
> 
> 
> I found a couple of pg_sorttemp* files in my database directory. Is it safe
> to delete these? They're quite large (around 40MB each) and have a creation
> date of a couple of days ago.
> 
> Brian
> --
> Brian Baquiran <brianb@edsamail.com>
> http://www.baquiran.com/
> AIM: bbaquiran


--
Brian Baquiran <brianb@edsamail.com>
http://www.baquiran.com/
AIM: bbaquiran



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: pg_sorttemp files
@ 2000-05-03 10:16  Peter Eisentraut <e99re41@DoCS.UU.SE>
  parent: brianb <brianb-pgadmin@edsamail.com>
  0 siblings, 0 replies; 5+ messages in thread

From: Peter Eisentraut @ 2000-05-03 10:16 UTC (permalink / raw)
  To: brianb <brianb-pgadmin@edsamail.com>; +Cc: Nicolas Huillard <nhuillard@ghs.fr>; pgsql-admin

On Wed, 3 May 2000, brianb wrote:

> Ok, thanks. But why are they there in the first place, then?

A backend crash during sorting


-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden




^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2000-05-03 10:16 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-05-03 02:32 pg_sorttemp files brianb <brianb-pgadmin@edsamail.com>
2000-05-03 08:30 RE: pg_sorttemp files Nicolas Huillard <nhuillard@ghs.fr>
2000-05-03 09:56 ` brianb <brianb-pgadmin@edsamail.com>
2000-05-03 10:16   ` Peter Eisentraut <e99re41@DoCS.UU.SE>
2000-05-03 10:15 RE: pg_sorttemp files Nicolas Huillard <nhuillard@ghs.fr>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox