Re: Vacuum & Memory Exhausted error

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Vacuum & Memory Exhausted error
Дата
Msg-id 13376.1055866394@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Vacuum & Memory Exhausted error  (Greg Spiegelberg <gspiegelberg@cranel.com>)
Список pgsql-admin
Greg Spiegelberg <gspiegelberg@cranel.com> writes:
> The problem is that the "VACUUM ANALYZE;" results in a
>    ERROR:  Memory exhausted in AllocSetAlloc(1048575996)

If you do VACUUM and ANALYZE separately, which part shows the failure?
(I'm betting on ANALYZE.)  And have you narrowed down which table it
fails on?  (Adding the VERBOSE option would let you track that.)

This looks to me like a data-corruption problem, specifically a bad
value of the length word in a variable-length field.  (Adjacent data
is probably clobbered too, but the length problem is showing itself
first.)  See previous threads in the archives for general advice about
tracking down broken rows and getting rid of them.

            regards, tom lane

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

Предыдущее
От: Greg Spiegelberg
Дата:
Сообщение: Vacuum & Memory Exhausted error
Следующее
От: "Donald Fraser"
Дата:
Сообщение: Redhat 9.0