Re: Possible DB corruption

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Possible DB corruption
Дата
Msg-id 20070528221414.GA65888@winnie.fuhr.org
обсуждение исходный текст
Ответ на Possible DB corruption  (Justin M Wozniak <jwozniak@cse.nd.edu>)
Ответы Re: Possible DB corruption  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-general
On Fri, May 25, 2007 at 04:47:52PM -0400, Justin M Wozniak wrote:
>     We noticed that some records were mysteriously disappearing from
> our DB.  I went in with psql and found that the \dt command no longer
> works, providing the output below.  Is this a sure sign of DB corruption?
> Running psql (PostgreSQL) 7.4.8 on Linux 2.4.27.

You might be suffering from transaction ID wraparound.  Are you
vacuuming regularly?

http://www.postgresql.org/docs/7.4/interactive/maintenance.html#VACUUM-FOR-WRAPAROUND

"...every table in the database must be vacuumed at least once every
billion transactions."

--
Michael Fuhr

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Possible DB corruption
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Possible DB corruption