Hi Álvaro,

On Mon, Nov 23, 2026 at 7:43 AM Álvaro Herrera <[email protected]>
wrote:
> Hmm, so I'm inclined to do this in master only, as I don't think
> tuplecid lists are very large generally.

Agreed.  In my tests a CREATE TABLE with 100 columns queues about 110
tuplecids, so a 10k list takes some 90 such tables in one
transaction.

Rajesh's v1 upthread passes the same tests as in October, on current
master:

- test_decoding passes.  The new permutation fails on the cmin Assert
  if the loop over the subxacts is removed.
- The same 60,000 random transactions decode identically to master,
  and the new Assert never fired.
- Without asserts, 50k tuplecids followed by 10k DML-only aborts go
  from 1056 ms to 19.5 ms.

One nit on its commit message: the empty-list return does not make
pure DML transactions faster than today, since master already does
nothing with an empty list.  What it does is keep the new subxacts[]
lookups from costing anything there.

Regards,
Manu


Reply via email to