Re: GISTSTATE is too large

Поиск
Список
Период
Сортировка
От Andreas Karlsson
Тема Re: GISTSTATE is too large
Дата
Msg-id cc5e30ca-c479-2eac-3c78-5b453469a150@proxel.se
обсуждение исходный текст
Ответ на GISTSTATE is too large  (Andres Freund <andres@anarazel.de>)
Ответы Re: GISTSTATE is too large  (Zhihong Yu <zyu@yugabyte.com>)
Re: GISTSTATE is too large  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On 4/26/21 12:20 AM, Andres Freund wrote:
> It seems pretty clear that this should be changed to be something more
> like
> 
> [...]
> 
> with initGISTstate allocating based on
> IndexRelationGetNumberOfKeyAttributes() instead of using a constant.
> 
> And then subsequently change GIST_COL_STATE to embed the
> FunctionCallInfo, rather than initializiing them on the stack for every
> call.
> 
> 
> I'm not planning on doing this work, but I thought it's sensible to send
> to the list anyway.

I did the first part since it seemed easy enough and an obvious win for 
all workloads.

Andreas

Вложения

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

Предыдущее
От: Asif Rehman
Дата:
Сообщение: Re: [PATCH] expand the units that pg_size_pretty supports on output
Следующее
От: Zhihong Yu
Дата:
Сообщение: Re: GISTSTATE is too large