Inter-Query Parallelism: Interquery and Intraquery Parallelism in Parallel Database
Inter-Query Parallelism: Interquery and Intraquery Parallelism in Parallel Database
Inter-query Parallelism
It is a form of parallelism where many different Queries or Transactions are executed in
parallel with one another on many processors.
Advantages
It increases Transaction Throughput. That is, number of transactions executed in a given time
can be increased.
It scales up the Transaction processing system. Hence, best suited for On-Line Transaction
Processing (OLTP) systems.
Intra-Query Parallelism
It is the form of parallelism where Single Query is executed in parallel on many processors.
Advantages
To speed up a single complex long running queries.
Best suited for complex scientific calculations (queries).
Types
Intra-operation parallelism – the process of speeding up a query through parallelizing the
execution of individual operations. The operations which can be parallelized are Sort, Join,
Projection, Selection and so on.
Inter-operation parallelism – the process of speeding up a query through parallelizing
various operations which are part of the query. For example, a query which involves join of
4 tables can be executed in parallel in two processors in such a way that each processor shall
join two relations locally and the result1 and result2 can be joined further to produce the final
result.