Re: Please HELP - URGENT - transaction wraparound error

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Please HELP - URGENT - transaction wraparound error
Дата
Msg-id 20051030135627.GA19496@svana.org
обсуждение исходный текст
Ответ на Please HELP - URGENT - transaction wraparound error  (John Sidney-Woollett <johnsw@wardbrook.com>)
Ответы Re: Please HELP - URGENT - transaction wraparound error  (John Sidney-Woollett <johnsw@wardbrook.com>)
Список pgsql-general
On Sun, Oct 30, 2005 at 08:50:18AM +0000, John Sidney-Woollett wrote:
> Oh my god!....
>
> DB is pg 7.4.6 on linux

Firstly, check pg_database, it should tell you which databases need to
be vacuumed. Any database you regularly vacuumed is fine so maybe the
corruption is in some other database you don't remember?

> 1) Why do have we data corruption? I thought we were doing everything we
> needed to stop any wraparound... Are the pg docs inadequate, or did I
> misunderstand what needed to be done?

You *may* have corruption. Anything you vacuumed recently should be
fine.

> 2) What can I do to recover the data?

Check whether anything is lost first.

> How do I stop this EVER happening again??!!!

Have you read this:

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

Hope this helps,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Вложения

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

Предыдущее
От: John Sidney-Woollett
Дата:
Сообщение: Please HELP - URGENT - transaction wraparound error
Следующее
От: David Fetter
Дата:
Сообщение: Re: mysql replace in postgreSQL?