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

From: Greg Nancarrow <gregn4422(at)gmail(dot)com>
To: Amit Langote <amitlangote09(at)gmail(dot)com>
Cc: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, "Hou, Zhijie" <houzj(dot)fnst(at)cn(dot)fujitsu(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, vignesh C <vignesh21(at)gmail(dot)com>, David Rowley <dgrowleyml(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Tsunakawa, Takayuki" <tsunakawa(dot)takay(at)fujitsu(dot)com>, "Tang, Haiying" <tanghy(dot)fnst(at)cn(dot)fujitsu(dot)com>
Subject: Re: Parallel INSERT (INTO ... SELECT ...)
Date: 2021-02-26 01:53:02
Message-ID: CAJcOf-cCDaKiCeU8_C_+e_E-xPMnzRXx8Pv8yxDmvLP-pDGvsw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Posting a new version of the patches, with the following updates:

- Added parallel-safety check for index predicate and added extra
tests for this.
- Removed fix for query rewriter hasModifyingCTE bug and instead
handle this by detecting a modifying CTE within the parallel-safety
checks (and returning UNSAFE if one is found).
- Updated registration of parallel-safety-checked partition OIDs as
plan dependencies (only do it for parallel plans).
- Integrated parallel_dml patch.

Regards,
Greg Nancarrow
Fujitsu Australia

Attachment Content-Type Size
v19-0001-Enable-parallel-SELECT-for-INSERT-INTO-.-SELECT.patch application/octet-stream 28.3 KB
v19-0005-Parallel-INSERT-and-or-SELECT-for-INSERT-INTO-tests-and-doc.patch application/octet-stream 22.3 KB
v19-0003-Add-new-parallel-dml-GUC-and-table-options.patch application/octet-stream 19.4 KB
v19-0004-Enable-parallel-INSERT-and-or-SELECT-for-INSERT-INTO.patch application/octet-stream 44.4 KB
v19-0002-Parallel-SELECT-for-INSERT-INTO-.-SELECT-tests-and-doc.patch application/octet-stream 69.8 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2021-02-26 02:34:47 Re: Disallow SSL compression?
Previous Message Peter Geoghegan 2021-02-26 00:58:30 Re: 64-bit XIDs in deleted nbtree pages