Re: Vacuum Problems (locking)

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: Vacuum Problems (locking)
Дата
Msg-id 20061026213721.GJ26892@nasby.net
обсуждение исходный текст
Ответ на Re: Vacuum Problems (locking)  (Mike Goldner <mgoldner@agmednet.com>)
Список pgsql-admin
On Wed, Oct 25, 2006 at 04:00:29PM -0400, Mike Goldner wrote:
> I just noticed that my nightly vacuum failed the previous three nights
> with the following error:
>
> [2032-jbossdb-postgres-2006-10-24 04:12:30.019 EDT]ERROR:  failed to re-
> find parent key in "jms_messages_pkey"
> [2032-jbossdb-postgres-2006-10-24 04:12:30.019 EDT]STATEMENT:  VACUUM
> ANALYZE;
>
> I'm not sure if it is related, but it seems pertinent.

Well, vacuuming a lot of databases once a day is bad enough. Not
vacuuming for 3 days...

IIRC you can fix that issue by reindexing jms_messages_pkey.
--
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)

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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: CLUSTER using more memory than expected
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Backing Up Partial Databases