From: | Ajin Cherian <itsajin(at)gmail(dot)com> |
---|---|
To: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> |
Cc: | Peter Smith <smithpb2250(at)gmail(dot)com>, "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>, vignesh C <vignesh21(at)gmail(dot)com>, "Zhijie Hou (Fujitsu)" <houzj(dot)fnst(at)fujitsu(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Proposal: Filter irrelevant change before reassemble transactions during logical decoding |
Date: | 2025-06-04 10:22:34 |
Message-ID: | CAFPTHDbQb1tBNwL_UuQT4a4RphT2VjRjzjDmU1tAoEX6aSNZmg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Jun 3, 2025 at 4:25 PM Ajin Cherian <itsajin(at)gmail(dot)com> wrote:
>
> On Tue, Jun 3, 2025 at 3:55 PM Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
> >
> >
> > You haven't shared the exact test scenario, but I am assuming the
> > above tests are for very large transactions, as you are comparing
> > streaming and non-streaming modes. Can we see results with short
> > transaction size (say one insert or one update, or one delete) as
> > well?
> >
>
> Attaching the scripts I used for my tests. Yes, I used transactions
> with large inserts. I will redo the tests with short single inserts
> and share the results here.
I redid the tests with 10k small transactions (single inserts) and the
results are not great with the patch:
No transactions published: Patched code performs 12.33% faster than head code.
Half transactions published: Patched code is 4.97% slower than head.
All transactions published: Patched code is 6.70% slower than head.
Attaching the script and the bar graph.
regards,
Ajin Cherian
Fujitsu Australia
Attachment | Content-Type | Size |
---|---|---|
small_txn_streaming.png | image/png | 99.6 KB |
pg_recv_perf_v6.zip | application/zip | 1.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | shveta malik | 2025-06-04 10:25:40 | Re: Conflict detection for update_deleted in logical replication |
Previous Message | Peter Eisentraut | 2025-06-04 10:16:09 | Re: Enable data checksums by default |