DE Mastery GitHub

Foundations of distributed data · FND-02

Partitioning & shuffles

From your world. Redshift DISTKEY/DISTSTYLE choices; why a bad distribution key makes every join a network shuffle

Practice quiz with instant feedback. For a scored run that counts toward your local progress, use uv run de quiz FND-02.

1Two tables are both hash-partitioned on customer_id across the same number of partitions. A join on customer_id will:
2You hash-partition orders on company_id, but one of the three companies has 90% of the rows. What happens?
3What is the best practical signal that a partitioning is skewed?
4Why is a shuffle expensive?
5Which are valid fixes for a single hot key causing skew? (select all) (select all that apply)
6The best way for range partitioning to pick boundaries is: