Re: Temporary sorting space

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Temporary sorting space
Дата
Msg-id 8392.983938378@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Temporary sorting space  (Richard Boyes <r.boyes@auckland.ac.nz>)
Список pgsql-general
Richard Boyes <r.boyes@auckland.ac.nz> writes:
> Inside the $PGDATA/base/thedatabase I came across a rather
> large file called pg_sorttemp28193.0 (~ 587 MB). Our datbase
> is not anywhere near this large, so I can only guess this was
> a query gone awry that needed a large amount of sorting space.
> Around the time this file was created the database server
> also crashed, I'm wondering if this was a cause of it
> (the server crashed due to a memory problem). Could that be possible ?

Possibly, but this is not a lot of evidence.  Can you provide any
log file entries, core dump backtraces, etc?

> Also, would I now be safe in removing this file ?

If there's not currently a backend with PID 28193, then that's a
dead file.  Zap away.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: vacuum analyze returns "OID IS INVALID. TUPGONE 1" on pg_language
Следующее
От: will trillich
Дата:
Сообщение: need general optimization advice