RE: Parallel INSERT (INTO ... SELECT ...)

From: "tsunakawa(dot)takay(at)fujitsu(dot)com" <tsunakawa(dot)takay(at)fujitsu(dot)com>
To: 'Amit Kapila' <amit(dot)kapila16(at)gmail(dot)com>
Cc: Greg Nancarrow <gregn4422(at)gmail(dot)com>, Antonin Houska <ah(at)cybertec(dot)at>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>, vignesh C <vignesh21(at)gmail(dot)com>, Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: RE: Parallel INSERT (INTO ... SELECT ...)
Date: 2021-02-22 01:59:28
Message-ID: TYAPR01MB299025FF1BD6D071F284EE87FE819@TYAPR01MB2990.jpnprd01.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
> It is quite possible what you are saying is correct but I feel that is
> not this patch's fault. So, won't it better to discuss this in a
> separate thread?
>
> Good use case but again, I think this can be done as a separate patch.

Agreed.
I think even the current patch offers great benefits and can be committed in PG 14, even if all my four feedback comments are left unaddressed. I just touched on them for completeness in terms of typically expected use cases. They will probably be able to be implemented along the current design.

> I think here you are talking about the third patch (Parallel Inserts).
> I guess if one has run inserts parallelly from psql then also similar
> behavior would have been observed. For tables, it might lead to better
> results once we have the patch discussed at [1]. Actually, this needs
> more investigation.
>
> [1] -
> https://www.postgresql.org/message-id/20200508072545.GA9701%40telsaso
> ft.com

That looks interesting and worth a try.

Regards
Takayuki Tsunakawa

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2021-02-22 02:24:07 Re: Catalog version access
Previous Message Tom Lane 2021-02-22 01:53:52 Re: Catalog version access