Re: ERROR: invalid memory alloc request size when committing transaction

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: ERROR: invalid memory alloc request size when committing transaction
Дата
Msg-id CANbhV-GuYcsSx4y-=r5B2D=TOSvwDbQ1-RV=nUh0q2qFmQpfNw@mail.gmail.com
обсуждение исходный текст
Ответ на RE: ERROR: invalid memory alloc request size when committing transaction  (Michael Harris <michael.harris@ericsson.com>)
Список pgsql-general
On Thu, 12 Aug 2021 at 06:42, Michael Harris
<michael.harris@ericsson.com> wrote:
>
> Thanks Tom,
>
> > How many is "a large number"?
>
> 377k approx.

I'm going to guess that it is the invalidation messages for all the
DDL that is causing the memory allocation error. If you set wal_level
= minimal then this might work.

The total number indicates you are using too many partitions and
should probably lower that by a factor of about 100.
If you do that, you probably won't need to set wal_level.

-- 
Simon Riggs                http://www.EnterpriseDB.com/



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

Предыдущее
От: Michael Harris
Дата:
Сообщение: RE: ERROR: invalid memory alloc request size when committing transaction
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: 3867653, EMM1 cluster issue on 23rd May--core generated --design feedback