Re: HUGE pg_sorttemp files, can I delete?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: HUGE pg_sorttemp files, can I delete?
Дата
Msg-id 6514.974236425@sss.pgh.pa.us
обсуждение исходный текст
Ответ на HUGE pg_sorttemp files, can I delete?  (Micah Anderson <micah@colltech.com>)
Список pgsql-general
Micah Anderson <micah@colltech.com> writes:
> In my /var/postgres/base/database directory I've got a bunch of REALLY big
> files that are from several months ago:

> -rw-------    1 postgres postgres 191684608 Oct 30 23:35 pg_sorttemp10964.0
> -rw-------    1 postgres postgres 192126976 Oct 30 23:44 pg_sorttemp11353.0
> -rw-------    1 postgres postgres 192126976 Oct 30 23:44 pg_sorttemp11369.0

Looks like something crashed partway through a large sort :-(

If the backend that created the temp file is no longer running, it's
certainly safe to delete the file.  The number just after "temp"
is the PID of the creating backend.

It's odd that you seem to have several identically-sized sorttemp
files from different processes at the same time.  What were you
doing on Oct 30?  Don't suppose you have a postmaster log extending
back that far?

            regards, tom lane

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

Предыдущее
От: Gunnar R|nning
Дата:
Сообщение: Re: a request for some experienced input.....
Следующее
От: "Beth K. Gatewood"
Дата:
Сообщение: Re: a request for some experienced input.....