Utilizing parallel query execution in Postgresql f

2019-09-17 16:36发布

Is parallel query execution in Postgresql supported for SELECT INTO queries?

1条回答
女痞
2楼-- · 2019-09-17 17:12

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 ...

查看更多
登录 后发表回答