Is parallel query execution in Postgresql supported for SELECT INTO queries?
相关问题
- SQL join to get the cartesian product of 2 columns
- sql execution latency when assign to a variable
- Difference between Types.INTEGER and Types.NULL in
- php PDO::FETCH_ASSOC doesnt detect select after ba
- Bulk update SQL Server C#
No. Parallel execution is not available for DDL statements - only for read only queries.
The deprecated
SELECT .. INTO ...
creates a new table and thus it qualifies as DDL.It is also recommended to use
CREATE TABLE .. AS SELECT ...
instead.Update: Postgres 11 (to be released end of 2018) will support parallel query execution for
CREATE TABLE ... AS SELECT ...