Distributed Queries Flashcards
1
Q
How does Symmetric Repartitioning work?
A
- shuffle both tables on Join-key
- equality-based join on nodes
2
Q
How does asymmetric partitioning work?
A
- one table is partitioned on join key
- shuffle only the other table on the same key
3
Q
How does Fragment-and-Replicate work?
A
- replicate smaller table to all nodes
- join on all nodes
4
Q
Semi-reduction Join Idea
A
- compute projection of join keys on foreign table
- ship projection to other node
- execute semi-join only for relevant tuples
- send back result