Re: suboverflowed subtransactions concurrency performance optimize - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: suboverflowed subtransactions concurrency performance optimize
Date
Msg-id CANbhV-Ht6HUEWfLa6QaKQRX6OcYNa6T2g1irTaAbJazjmLphbg@mail.gmail.com
Whole thread Raw
In response to Re: suboverflowed subtransactions concurrency performance optimize  (Andrey Borodin <x4mmm@yandex-team.ru>)
List pgsql-hackers
On Wed, 1 Dec 2021 at 06:41, Andrey Borodin <x4mmm@yandex-team.ru> wrote:

> > On review, I think it is also possible that we update subtrans ONLY if
> > someone uses >PGPROC_MAX_CACHED_SUBXIDS.
> > This would make subtrans much smaller and avoid one-entry-per-page
> > which is a major source of cacheing.
> > This would means some light changes in GetSnapshotData().
> > Let me know if that seems interesting also?
>
> I'm afraid of unexpected performance degradation. When the system runs fine, you provision a VM of some vCPU\RAM, and
thensome backend uses a little more than 64 subtransactions and all the system is stuck. Or will it affect only backend
usingmore than 64 subtransactions? 

That is the objective: to isolate the effect to only those that
overflow. It seems possible.

--
Simon Riggs                http://www.EnterpriseDB.com/



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Readd use of TAP subtests
Next
From: "David G. Johnston"
Date:
Subject: Re: Question on not-in and array-eq