Re: how do I get rid of huge sorttemp files?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: how do I get rid of huge sorttemp files?
Дата
Msg-id 6100.1055791331@sss.pgh.pa.us
обсуждение исходный текст
Ответ на how do I get rid of huge sorttemp files?  (Markus Bertheau <bertheau@bab24.de>)
Список pgsql-admin
Markus Bertheau <bertheau@bab24.de> writes:
>  PostgreSQL 7.1.3 on i686-pc-linux-gnu, compiled by GCC 2.96

> How do I get rid of these huge files

"rm" will do fine, assuming that you are certain the creating backends
aren't around anymore.

> and how do I prevent them from being created again?

An update to something newer than 7.1 might help.  I'm guessing that you
are running into some bug that causes backends to crash every now and
then --- a backend should remove all its temp files at normal exit, but
on crash that doesn't happen.

7.2 and later also have code to auto-remove leftover temp files during
postmaster start, but that code is not in 7.1.

            regards, tom lane

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

Предыдущее
От: Ernest E Vogelsinger
Дата:
Сообщение: Re: psql sequence question
Следующее
От: "scott.marlowe"
Дата:
Сообщение: Re: Run 4 postgresql session on ONE server?