| From: | Manu <manuelreyesbravo(at)gmail(dot)com> |
|---|---|
| To: | "alvherre(at)kurilemu(dot)de" <alvherre(at)kurilemu(dot)de> |
| Cc: | Rajesh Kumar Thandapani <rajeshkumarth(at)google(dot)com>, Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>, Bingshuai Li <lucian1412(at)outlook(dot)com>, Zhijie Hou <houzhijie22(at)gmail(dot)com>, "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alexander Lakhin <exclusion(at)gmail(dot)com>, Mark Dilger <mark(dot)dilger(at)enterprisedb(dot)com>, Andrey Rachitskiy <pl0h0yp1(at)gmail(dot)com>, a(dot)kozhemyakin(at)postgrespro(dot)ru, pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | Re: Bug in logical decoding with DDL and subtransactions |
| Date: | 2026-11-23 23:39:00 |
| Message-ID: | 179547714076.2402290.16126257887640793565@gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi Álvaro,
On Mon, Nov 23, 2026 at 7:43 AM Álvaro Herrera <alvherre(at)kurilemu(dot)de>
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Rowley | 2026-11-23 23:44:08 | Make pg_strtok() a bit faster |
| Previous Message | Prashant Chinnam | 2026-11-23 23:33:33 | Re: [PATCH] pgcrypto: Fix sha-crypt rounds= values that do not fit in int (BUG #19743) |