postgresql-parallel-query

Parallel queries on CTE for writing operations in PostgreSQL

久未见 提交于 2019-12-07 06:18:12
问题 From PostgreSQL 9.6 Release Notes: Only strictly read-only queries where the driving table is accessed via a sequential scan can be parallelized. My question is: If a CTE ( WITH clause) contains only read operations, but its results is used to feed a writing operation, like an insert or update, is it also disallowed to parallelize sequential scans? I mean, as CTE is much like a temporary table which only exists for currently executing query , can I suppose that its inner query can take