Re: ERROR: Out of memory - when connecting to database

Поиск
Список
Период
Сортировка
От Jakub Ouhrabka
Тема Re: ERROR: Out of memory - when connecting to database
Дата
Msg-id 4CD86011.8050801@comgate.cz
обсуждение исходный текст
Ответ на Re: ERROR: Out of memory - when connecting to database  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: ERROR: Out of memory - when connecting to database  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
 > They clearly were: notice the reference to "Autovacuum context" in the
 > memory map.  I think you are right to suspect that auto-analyze was
 > getting blown out by the wide bytea columns.  Did you have any
 > expression indexes involving those columns?

Yes, there are two unique btree indexes:

(col1, col2, col3, md5(array_to_string(col_bytea_arr, ''::text)) where
col4 is not null

(col1, col2, col3, md5(array_to_string(col_bytea_arr, ''::text)) where
col4 is null

What is the cause of the out of memory then?

Thank you,

Kuba

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ERROR: Out of memory - when connecting to database
Следующее
От: Michael Glaesemann
Дата:
Сообщение: Removing pgsql_tmp files