Re: Tables dissapearing

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Tables dissapearing
Дата
Msg-id 11127.1188260835@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Tables dissapearing  (Kamil Srot <kamil.srot@nlogy.com>)
Ответы Re: Tables dissapearing
Список pgsql-general
Kamil Srot <kamil.srot@nlogy.com> writes:
> Erik Jones wrote:
>> Have you verified that the table's files are still on disk after
>> it's "disappeared"?

> Do not have any idea how to do it... I wasn't able to access it using
> any DML/DDL commands... can try it on a binary backup of the damaged DB
> if you'll guide me...

Make a note now of the table's "relfilenode" value (it'll be different
in each database), and confirm that you see it in the filesystem.  After
the next disappearance, see if anything's still there.  For background
read
http://www.postgresql.org/docs/8.2/static/storage.html

Note that certain operations like TRUNCATE and CLUSTER change the
relfilenode, so if you're using any of those then it might get harder to
track where the file is.

            regards, tom lane

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

Предыдущее
От: Kamil Srot
Дата:
Сообщение: Re: Tables dissapearing
Следующее
От: Kamil Srot
Дата:
Сообщение: Re: Tables dissapearing