Utilizing parallel query execution in Postgresql for SELECT INTO

偶尔善良 提交于 2019-12-11 17:56:17

问题


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


回答1:


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



来源:https://stackoverflow.com/questions/47057891/utilizing-parallel-query-execution-in-postgresql-for-select-into

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!