| From: | "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> |
|---|---|
| To: | 'Amit Kapila' <amit(dot)kapila16(at)gmail(dot)com> |
| Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Tomas Vondra <tomas(at)vondra(dot)me>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>, Andrei Lepikhov <lepihov(at)gmail(dot)com>, "Zhijie Hou (Fujitsu)" <houzj(dot)fnst(at)fujitsu(dot)com>, wenhui qiu <qiuwenhuifx(at)gmail(dot)com> |
| Subject: | RE: Parallel Apply |
| Date: | 2026-04-14 12:21:41 |
| Message-ID: | OS9PR01MB121496AF1675D15EC75831D5FF5252@OS9PR01MB12149.jpnprd01.prod.outlook.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Dear Amit,
Thanks for the comment.
> + if (!replica_identity_table)
> + replica_identity_table = replica_identity_create(ApplyContext,
> + REPLICA_IDENTITY_INITIAL_SIZE,
> + NULL);
>
> We can add some comments why we create this in ApplyContext. BTW, can
> we consider a separate ParallelApplyContext for this though I am not
> sure if that will be really helpful. Do you have any thoughts on the
> same?
I did not separate the context because it can work as-is. However, dividing
context allows tracking the growth of hash table easily by using
pg_log_backend_memory_contexts() or MemoryContextStats() (via gdb). Now new memory context
is used.
New version would be posted soon.
Best regards,
Hayato Kuroda
FUJITSU LIMITED
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Shlok Kyal | 2026-04-14 12:25:24 | Re: Support EXCEPT for ALL SEQUENCES publications |
| Previous Message | vignesh C | 2026-04-14 11:31:07 | Re: Support EXCEPT for TABLES IN SCHEMA publications |