Re: SLRU optimization - configurable buffer pool and partitioning the SLRU lock
От | Alvaro Herrera |
---|---|
Тема | Re: SLRU optimization - configurable buffer pool and partitioning the SLRU lock |
Дата | |
Msg-id | 202401251633.r7redum4aoga@alvherre.pgsql обсуждение исходный текст |
Ответ на | Re: SLRU optimization - configurable buffer pool and partitioning the SLRU lock (Alvaro Herrera <alvherre@alvh.no-ip.org>) |
Ответы |
Re: SLRU optimization - configurable buffer pool and partitioning the SLRU lock
|
Список | pgsql-hackers |
On 2024-Jan-25, Alvaro Herrera wrote: > Here's a touched-up version of this patch. > diff --git a/src/backend/storage/lmgr/lwlock.c b/src/backend/storage/lmgr/lwlock.c > index 98fa6035cc..4a5e05d5e4 100644 > --- a/src/backend/storage/lmgr/lwlock.c > +++ b/src/backend/storage/lmgr/lwlock.c > @@ -163,6 +163,13 @@ static const char *const BuiltinTrancheNames[] = { > [LWTRANCHE_LAUNCHER_HASH] = "LogicalRepLauncherHash", > [LWTRANCHE_DSM_REGISTRY_DSA] = "DSMRegistryDSA", > [LWTRANCHE_DSM_REGISTRY_HASH] = "DSMRegistryHash", > + [LWTRANCHE_COMMITTS_SLRU] = "CommitTSSLRU", > + [LWTRANCHE_MULTIXACTOFFSET_SLRU] = "MultixactOffsetSLRU", > + [LWTRANCHE_MULTIXACTMEMBER_SLRU] = "MultixactMemberSLRU", > + [LWTRANCHE_NOTIFY_SLRU] = "NotifySLRU", > + [LWTRANCHE_SERIAL_SLRU] = "SerialSLRU" > + [LWTRANCHE_SUBTRANS_SLRU] = "SubtransSLRU", > + [LWTRANCHE_XACT_SLRU] = "XactSLRU", > }; Eeek. Last minute changes ... Fixed here. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/ "La primera ley de las demostraciones en vivo es: no trate de usar el sistema. Escriba un guión que no toque nada para no causar daños." (Jakob Nielsen)
Вложения
В списке pgsql-hackers по дате отправления: