Re: FW: huge SubtransSLRU and SubtransBuffer wait_event - Mailing list pgsql-performance

From Alvaro Herrera
Subject Re: FW: huge SubtransSLRU and SubtransBuffer wait_event
Date
Msg-id 202403010735.telrs2y7mlps@alvherre.pgsql
Whole thread Raw
In response to Re: FW: huge SubtransSLRU and SubtransBuffer wait_event  (James Pang <jamespang886@gmail.com>)
Responses Re: FW: huge SubtransSLRU and SubtransBuffer wait_event
List pgsql-performance
On 2024-Mar-01, James Pang wrote:

> one question:
>      we need to increase all SLRU buffers together , MULTIXACT, XACT,
> Subtrans, COMMIT TS ,  for example, got all of them doubled based on
> existing size ?

No need.

> or only increase Subtrans , or Subtrans and multixact ?

Just increase the sizes for the ones that are causing you pain. You can
have a look at pg_stat_slru for some metrics that might be useful in
determining which are those.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/



pgsql-performance by date:

Previous
From: James Pang
Date:
Subject: Re: FW: huge SubtransSLRU and SubtransBuffer wait_event
Next
From: Laurenz Albe
Date:
Subject: Re: Optimizing count(), but Explain estimates wildly off