Types of Database Parallelism
Types of Database Parallelism
Parallelism is used to support speedup, where queries are executed faster because more
resources, such as processors and disks, are provided. Parallelism is also used to provide
scale-up, where increasing workloads are managed without increase response-time, via
an increase in the degree of parallelism.
(b)Vertical Parallelism: It occurs among various tasks. All component query operations
(i.e., scan, join, and sort) are executed in parallel in a pipelined fashion. In other words,
an output from one function (e.g., join) as soon as records become available.
37.7M
84
Intraquery Parallelism
Intraquery parallelism defines the execution of a single query in parallel on multiple
processors and disks. Using Intraquery parallelism is essential for speeding up long-
running queries.
Interquery parallelism does not help in this function since each query is run sequentially.
Interquery Parallelism
In Interquery parallelism, different queries or transaction execute in parallel with one
another.
This form of parallelism can increase transactions throughput. The response times of
individual transactions are not faster than they would be if the transactions were run in
isolation.