Re: SLRUs in the main buffer pool, redux

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: SLRUs in the main buffer pool, redux
Дата
Msg-id c119ffc2-110e-f614-09ab-73d046238982@iki.fi
обсуждение исходный текст
Ответ на Re: SLRUs in the main buffer pool, redux  (Shawn Debnath <clocksweep@gmail.com>)
Ответы Re: SLRUs in the main buffer pool, redux  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers
On 20/01/2023 19:00, Shawn Debnath wrote:
> On Mon, Jul 25, 2022 at 11:54:36AM +0300, Heikki Linnakangas wrote:
> 
>> Oh I just saw that you had a comment about that in the patch and had hacked
>> around it. Anyway, calling ResourceOwnerEnlargeBuffers() might be a
>> solution. Or switch to a separate "CriticalResourceOwner" that's guaranteed
>> to have enough pre-allocated space, before entering the critical section.
> 
> Wanted to bump up this thread. Rishu in my team posted a patch in the other
> SLRU thread [1] with the latest updates and fixes and looks like performance
> numbers do not show any regression. This change is currently in the
> January commitfest [2] as well. Any feedback would be appreciated!

Here's a rebased set of patches.

The second patch is failing the pg_upgrade tests. Before I dig into 
that, I'd love to get some feedback on this general approach.

- Heikki

Вложения

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

Предыдущее
От: Bharath Rupireddy
Дата:
Сообщение: Re: Allow logical replication to copy tables in binary format
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Stale references to guc.c in comments/tests