Re: Undead record haunts my database, need exorcism

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Undead record haunts my database, need exorcism
Дата
Msg-id 23809.1022076147@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Undead record haunts my database, need exorcism  (Kevin Sterner <sterner@hep.upenn.edu>)
Ответы Re: Undead record haunts my database, need exorcism
Список pgsql-novice
Kevin Sterner <sterner@hep.upenn.edu> writes:
> My PostgreSQL 6.5.3 database is having a serious problem.

6.5.3?  You are past due for an update ...

> Lately, however, the entries in "sets" and "dblock" have gotten badly out
> of joint.  New records disappear, in "sets", while new records in "dblock"
> revert to old, deleted ones that can't be re-deleted.

Hmm.  How large is your pg_log file?  I suspect that you have suffered
transaction ID wraparound.  If the pg_log file is 1Gb in size (enough
to store commit bits for 4 billion transactions) that would confirm the
suspicion.

Whether that's the problem or not, 6.5.3 is enough features and bugfixes
ago that I would wholeheartedly recommend an immediate update to 7.2.1.

            regards, tom lane

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

Предыдущее
От: John Taylor
Дата:
Сообщение: optimising data load
Следующее
От: Tom Sheehan
Дата:
Сообщение: Re: Better way to bulk-load millions of CSV records into postgres?