Answer to Question #212526 in Databases | SQL | Oracle | MS Access for mak

Question #212526

(a) What is data parallelism explain with example?

(b) Under what condition an operation can be executed in parallel?


1
Expert's answer
2021-07-02T04:10:45-0400

Data Parallelism means concurrent execution of the same task on each multiple computing core. Let's take an example, summing the contents of an array of size N. For a single-core system, one thread would simply sum the elements [0] . . . ... So the Two threads would be running in parallel on separate computing cores

Parallelism

The term "parallelism" means the ability to run many processes concurrently accessing the same data at the same time. As you know, in such a system, for the correct processing of parallel processes without the occurrence of conflict situations, a certain method of concurrency control is used.


The standard method for resolving such problems is the blocking method. Locking is not a feasible feasible approach in dealing with the concurrency control problem. Using the blocking method causes other problems, among which the most famous is the deadlock problem. A formal criterion for the correct execution of a set of concurrent transactions in the concept of ordering ability.



Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS