Re: SLRUs in the main buffer pool - Page Header definitions

Поиск
Список
Период
Сортировка
От Bagga, Rishu
Тема Re: SLRUs in the main buffer pool - Page Header definitions
Дата
Msg-id D663D8DD-6B13-4DF4-9A8D-045D5F0F2A7E@amazon.com
обсуждение исходный текст
Ответ на Re: SLRUs in the main buffer pool - Page Header definitions  ("Bagga, Rishu" <bagrishu@amazon.com>)
Ответы Re: SLRUs in the main buffer pool - Page Header definitions  (vignesh C <vignesh21@gmail.com>)
Список pgsql-hackers

Hi,

 

 

Rebased and updated a new patch addressing the critical section issue in
RecordNewMultliXact.In GetNewMultiXactId, we now make our ReadBuffer
calls before starting the critical section, but while holding the
MultiXactGenLock, so we always fetch the correct buffers. We store them
in an array that is accessed later in RecordNewMultiXact.
This way we can keep the existing functionality of only holding the MultiXactGenLock while reading in buffers, but can let go when we are writing,
to preserve the existing concurrency paradigm.

 

 

Let me know your thoughts on this approach.

 

 

 

Sincerely,

 

Rishu Bagga, Amazon Web Services (AWS)

 

 

Вложения

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

Предыдущее
От: Nathan Bossart
Дата:
Сообщение: Re: wake up logical workers after ALTER SUBSCRIPTION
Следующее
От: David Christensen
Дата:
Сообщение: Re: [PATCH] Teach pg_waldump to extract FPIs from the WAL