Re: PARALLEL CTAS

Rob Sargent <robjsargent@gmail.com>

From: Rob Sargent <robjsargent@gmail.com>
To: pgsql-sql@lists.postgresql.org
Date: 2022-12-12T17:25:08Z
Lists: pgsql-sql
On 12/12/22 10:13, Shane Borden wrote:
> The issue is there are certain performance benefits to be had by doing 
> parallel CTAS operations and when converting from Oracle to PostgreSQL 
> switching to a “COPY” operation isn’t feasible.
> ---
>
> Thanks,
>
Today I suspect you're left with something like the following:
- CTAS from source where 1=2 (i.e. table definition via select semantics)
- copy from stdin (filled with intended CTAS select)