Learning objectives
What you will be able to explain
- You are evaluating a data processing application to run on a parallel database. Through profiling, you determine that 80% of the workload can be parallelized, while the remaining 20% is strictly serial. According to Amdahl's Law, how many processor cores () would you need to provision to achieve a speedup of exactly 4?
- An analytics team is scaling up their workload. As they add more processing power, they proportionately increase the size of the dataset they analyze. They observe that on a 100-node cluster, the scaled speedup is 90.1. Using Gustafson's Law, calculate the serial fraction () of this workload.
- What is the theoretical maximum speedup limit as for a program governed by Amdahl's Law if ?
- Which of the following phenomena can theoretically cause a super-linear speedup in a parallel database system?
- Which scaling metric describes the rate at which solution time varies with the number of processors for a fixed total problem size?
- In the context of distributed vs. parallel databases, which of the following is a defining characteristic of a strictly distributed database?
Section 01
You are evaluating a data processing application to run on a parallel database. Through profiling, you determine that 80% of the workload can be parallelized, while the remaining 20% is strictly serial. According to Amdahl's Law, how many processor cores () would you need to provision to achieve a speedup of exactly 4? to What is the theoretical maximum speedup limit as for a program governed by Amdahl's Law if ?
01
You are evaluating a data processing application to run on a parallel database. Through profiling, you determine that 80% of the workload can be parallelized, while the remaining 20% is strictly serial. According to Amdahl's Law, how many processor cores () would you need to provision to achieve a speedup of exactly 4?
02
An analytics team is scaling up their workload. As they add more processing power, they proportionately increase the size of the dataset they analyze. They observe that on a 100-node cluster, the scaled speedup is 90.1. Using Gustafson's Law, calculate the serial fraction () of this workload.
03
What is the theoretical maximum speedup limit as for a program governed by Amdahl's Law if ?
Section 02
Which of the following phenomena can theoretically cause a super-linear speedup in a parallel database system? to In the context of distributed vs. parallel databases, which of the following is a defining characteristic of a strictly distributed database?
01
Which of the following phenomena can theoretically cause a super-linear speedup in a parallel database system?
02
Which scaling metric describes the rate at which solution time varies with the number of processors for a fixed total problem size?
03
In the context of distributed vs. parallel databases, which of the following is a defining characteristic of a strictly distributed database?
Section 03
In a [Select: Shared Memory / Shared Disk / Shared Nothing] architecture, several nodes with multiple CPUs have their own private memory but access a single attached storage array (like a NAS or SAN). to According to the slides, what is a major problem for query processing in a heterogeneous distributed database?
01
In a [Select: Shared Memory / Shared Disk / Shared Nothing] architecture, several nodes with multiple CPUs have their own private memory but access a single attached storage array (like a NAS or SAN).
02
Which of the following are recognized challenges or limitations of the Shared-Nothing architecture as clusters scale up? (Select all that apply)
03
According to the slides, what is a major problem for query processing in a heterogeneous distributed database?
Section 04
To mitigate the bottlenecks of traditional Shared-Nothing architectures (like IP stack message passing), modern architectures propose separating state and compute. Which technology is specifically cited to handle ALL communication to enable this scalability? to Which of the following are characteristics of Pipeline Parallelism (Inter-Operator Parallelism) in databases? (Select all that apply)
01
To mitigate the bottlenecks of traditional Shared-Nothing architectures (like IP stack message passing), modern architectures propose separating state and compute. Which technology is specifically cited to handle ALL communication to enable this scalability?
02
Historically, how has the evolution of network bandwidth compared to CPU computing power?
03
Which of the following are characteristics of Pipeline Parallelism (Inter-Operator Parallelism) in databases? (Select all that apply)
Section 05
Utilizing the vector units of a CPU (e.g., SSE, MMX) to execute the exact same operation on different independent subsets of data is an example of: to Evaluate the following statements regarding Data Parallelism:
01
Utilizing the vector units of a CPU (e.g., SSE, MMX) to execute the exact same operation on different independent subsets of data is an example of:
02
Which type of parallelism is specifically highlighted as important for highly analytical scenarios (OLAP)?
03
Evaluate the following statements regarding Data Parallelism:
Section 06
What are the disadvantages of fully replicating a relation across all sites? (Select all that apply) to Which partitioning strategy guarantees an equal number of tuples per set but results in no apparent relationship between the tuples within that set?
01
What are the disadvantages of fully replicating a relation across all sites? (Select all that apply)
02
Complete the statement:
03
Which partitioning strategy guarantees an equal number of tuples per set but results in no apparent relationship between the tuples within that set?
Section 07
What is an extreme form of vertical partitioning mentioned in the lecture? to In a distributed transaction, what are the responsibilities of the local transaction manager? (Select all that apply)
01
What is an extreme form of vertical partitioning mentioned in the lecture?
02
Evaluate these statements about partitioning:
03
In a distributed transaction, what are the responsibilities of the local transaction manager? (Select all that apply)
Section 08
During the Two-Phase Commit (2PC) algorithm, what causes the coordinator to make an "abort" decision during the second phase? to Which failure type is unique to distributed systems compared to single-node monolithic systems?
01
During the Two-Phase Commit (2PC) algorithm, what causes the coordinator to make an "abort" decision during the second phase?
02
Why is the Two-Phase Commit (2PC) protocol fundamentally flawed in certain failure scenarios (often requiring 3PC as a solution)?
03
Which failure type is unique to distributed systems compared to single-node monolithic systems?
Section 09
Distributed join transfer volume: broadcasting vs partitioned shuffle to Regarding data distribution, the "Mantra" of Distributed DBMS is:
01
Distributed join transfer volume: broadcasting vs partitioned shuffle
Guided checkpoint
Compute network transfer volume for two execution strategies of .
| Node | Relation | Cardinality | Tuple size |
|---|---|---|---|
| A | 10,000 tuples | 100 bytes/tuple | |
| B | 10 tuples | 100 bytes/tuple |
Strategy 1 (Broadcasting)
Ship all of to Node A and execute the join locally on Node A.
Strategy 2 (Partitioned Shuffling)
Hash-partition both and perfectly evenly across Node A and Node B; each node joins its local halves.
Ignore the final result payload. Report only base-relation bytes transferred over the network.
02
When evaluating distributed join strategies, which of the following is an expected factor when extending the physical algebra?
03
Regarding data distribution, the "Mantra" of Distributed DBMS is:
Section 10
How does "skew" affect a parallel query execution even if "high locality" is achieved? to Which factors must a distributed query optimizer consider that a centralized optimizer does not? (Select all that apply)
01
How does "skew" affect a parallel query execution even if "high locality" is achieved?
02
Complete the statement:
03
Which factors must a distributed query optimizer consider that a centralized optimizer does not? (Select all that apply)
Section 11
According to the slides, what is the consequence of low locality in a partitioned database?
01
According to the slides, what is the consequence of low locality in a partitioned database?
Knowledge check
Turn understanding into recall.
The quiz now follows the same concepts in scored form. You can return to this lesson from the quiz whenever a gap appears.