Re: System crash and trying to run vacuum getting errors

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: System crash and trying to run vacuum getting errors
Дата
Msg-id 2879.1068049812@sss.pgh.pa.us
обсуждение исходный текст
Ответ на System crash and trying to run vacuum getting errors  (Dave Smith <dave.smith@candata.com>)
Ответы Re: System crash and trying to run vacuum getting errors  (Dave Smith <dave.smith@candata.com>)
Re: System crash and trying to run vacuum getting errors  (Greg Stark <gsstark@mit.edu>)
Список pgsql-general
Dave Smith <dave.smith@candata.com> writes:
> After a abnormal system shutdown I am trying to run a
> vacuum full verbose ANALYZE and getting the following error.

> NOTICE:  Analyzing classification
> NOTICE:  RelationBuildDesc: can't open pg_temp_5821_0: No such file or
> directory
> NOTICE:  --Relation pg_temp_5821_0--
> ERROR:  _mdfd_getrelnfd: cannot open relation pg_temp_5821_0: No such
> file or directory

You should be able to DROP that table even though it doesn't have an
underlying file.  My guess is that you are running atop a non-crash-safe
filesystem and it lost the directory entry for the just-created file.
You might want to think about switching to a journaling file system.

            regards, tom lane

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

Предыдущее
От: Michael Glaesemann
Дата:
Сообщение: Re: Help on update that subselects other records in table, uses joins
Следующее
От: Dave Smith
Дата:
Сообщение: Re: System crash and trying to run vacuum getting errors