Distributed Queries Flashcards

1
Q

How does Symmetric Repartitioning work?

A
  1. shuffle both tables on Join-key
  2. equality-based join on nodes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does asymmetric partitioning work?

A
  • one table is partitioned on join key
  • shuffle only the other table on the same key
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How does Fragment-and-Replicate work?

A
  • replicate smaller table to all nodes
  • join on all nodes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly