0% found this document useful (0 votes)
296 views

Types of Database Parallelism

There are different types of database parallelism that can improve performance. Horizontal parallelism partitions data across disks so queries can be processed concurrently on different parts of the data. Vertical parallelism runs different query operations like scanning, joining, and sorting in parallel pipelines. Intraquery parallelism executes a single long-running query simultaneously on multiple processors and disks to speed it up, while interquery parallelism runs different queries and transactions in parallel to improve overall transaction throughput without speeding up individual queries.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
296 views

Types of Database Parallelism

There are different types of database parallelism that can improve performance. Horizontal parallelism partitions data across disks so queries can be processed concurrently on different parts of the data. Vertical parallelism runs different query operations like scanning, joining, and sorting in parallel pipelines. Intraquery parallelism executes a single long-running query simultaneously on multiple processors and disks to speed it up, while interquery parallelism runs different queries and transactions in parallel to improve overall transaction throughput without speeding up individual queries.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

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.

Different architectures for parallel database systems are shared-memory, shared-disk,


shared-nothing, and hierarchical structures.

(a)Horizontal Parallelism: It means that the database is partitioned across multiple


disks, and parallel processing occurs within a specific task (i.e., table scan) that is
performed concurrently on different processors against different sets of data.

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

Thus, the primary use of Interquery parallelism is to scale up a transaction processing


system to support a more significant number of transactions per second.

You might also like