Query Parallelism
Query Parallelism
Query Parallelism
Example: parallel sort, parallel search Example: Simultaneous sorting or searching query
A single operation sorting is parallelized The operations sorting and searching are parallelized
Intraoperation parallelism
• “Partitioned parallelism”
• Get all machines working to
compute a given operation
(scan, sort, join)
• Parallelism due to the
data being partitioned
• The degree of
parallelism
is increased based on
the large number of
records in a table
conti…
Within a same query or transaction, different
operations are concurrently executing
Pipeline Parallelism Independent Parallelism
Output record of one operation A are consumed by a Multiple operations in a query that do not depend on one
second operation B without completing the first operation another are executed in parallel
A e.g. indexed nested loop join.
Inter-operator parallelism. Each operator may run concurrently on a different site (exploits pipelining)