Re: Lock contention high

2021-10-25 Thread Andres Freund
Hi, On 2021-10-25 18:38:40 -0600, Michael Lewis wrote: > On Mon, Oct 25, 2021, 5:36 PM Andres Freund wrote: > If your hot data set is actually larger than s_b, I'd recommend trying a > larger s_b. It's plausible that a good chunk of lock contention is from > that. > How much larger might you go?

Re: Lock contention high

2021-10-25 Thread Michael Lewis
On Mon, Oct 25, 2021, 5:36 PM Andres Freund wrote: If your hot data set is actually larger than s_b, I'd recommend trying a larger s_b. It's plausible that a good chunk of lock contention is from that. How much larger might you go? Any write ups on lock contention as it relates to shared buffers

Re: Lock contention high

2021-10-25 Thread Andres Freund
Hi, On 2021-10-12 13:05:12 +0530, Ashkil Dighin wrote: > PostgreSQL version: 13.3 You could try postgres 14 - that did improve scalability in some areas. > Perf data for 24vu(TPC-C) > > > 18.99% postgres postgres[.] LWLockAcquire > 7.0