Re: PSQLException: ERROR: could not write to hash-join temporary file: No space left on device

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PSQLException: ERROR: could not write to hash-join temporary file: No space left on device
Дата
Msg-id 4961.1573656215@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PSQLException: ERROR: could not write to hash-join temporaryfile: No space left on device  (Calvin Kim <calvinkhkim@gmail.com>)
Список pgsql-novice
Calvin Kim <calvinkhkim@gmail.com> writes:
> What is strange for me is that I don't see any files in /base/pgsql_tmp and
> that temp_tablespaces is not set in postgresql.conf.
> I know that temp files supposed to be removed after process is completed,
> but not sure why I'm seeing such a huge numbers in pg_stat_database. Would
> there be any maintenance job that clears this?

Temp files get cleared as part of end-of-query cleanup, there's no
separate maintenance job for that.  So you'd only see them in the
filesystem if you looked while the query was running.

            regards, tom lane



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

Предыдущее
От: Calvin Kim
Дата:
Сообщение: Re: PSQLException: ERROR: could not write to hash-join temporaryfile: No space left on device
Следующее
От: "Heckler, Kim M"
Дата:
Сообщение: Dump and load