mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
docs: clarify that CREATE TABLE ... _AS_ can be parallelized
CREATE TABLE without AS doesn't have anything to parallelize.
This commit is contained in:
@@ -152,7 +152,7 @@ EXPLAIN SELECT * FROM pgbench_accounts WHERE filler LIKE '%x%';
|
|||||||
The query writes any data or locks any database rows. If a query
|
The query writes any data or locks any database rows. If a query
|
||||||
contains a data-modifying operation either at the top level or within
|
contains a data-modifying operation either at the top level or within
|
||||||
a CTE, no parallel plans for that query will be generated. As an
|
a CTE, no parallel plans for that query will be generated. As an
|
||||||
exception, the commands <literal>CREATE TABLE</literal>, <literal>SELECT
|
exception, the commands <literal>CREATE TABLE ... AS</literal>, <literal>SELECT
|
||||||
INTO</literal>, and <literal>CREATE MATERIALIZED VIEW</literal> which create a new
|
INTO</literal>, and <literal>CREATE MATERIALIZED VIEW</literal> which create a new
|
||||||
table and populate it can use a parallel plan.
|
table and populate it can use a parallel plan.
|
||||||
</para>
|
</para>
|
||||||
|
Reference in New Issue
Block a user