Amazon Redshift ALL Distribution Style for Small Tables
Short answer
C Use the ALL distribution style for rarely updated small tables to eliminate data redistribution during joins.
Question
Key Takeaways
The exam tests knowledge of Redshift table design, specifically that the ALL distribution style is optimal for small, rarely updated tables to avoid data redistribution during joins.
This question addresses optimizing Amazon Redshift query performance without scaling cluster size by selecting the correct distribution style for tables of varying sizes.
Common mistake: Learners often select Option D because it sounds comprehensive, but specifying partition keys is not a standard Redshift optimization technique in this context, and primary/foreign keys do not drive distribution.
Expert Analysis
Why the Answer Is Correct
Option C is the correct solution because the ALL distribution style replicates the entire table on every node in the cluster. For small tables (less than 10 MB), this overhead is negligible, but it eliminates the need to redistribute data during join operations, significantly boosting performance. The constraint 'rarely updated' is critical because updating an ALL-distributed table requires modifying copies on all nodes, which is expensive.
Why the Other Options Are Wrong
Option A is incorrect because EVEN distribution spreads data randomly, causing massive data movement (shuffle) during joins between large and small tables. Option B is inefficient because storing full copies of large tables on every node wastes storage and increases maintenance costs unnecessarily. Option D is invalid because Amazon Redshift does not support partition keys; it uses sort keys for ordering and distribution keys for placement.
Community Comment Notes
Community consensus strongly supports C, with users noting that 'ALL distribution is appropriate only for relatively slow moving tables'. One commenter highlighted that this approach 'eliminates the need for data redistribution or shuffling', while another asked 'why not D?', pointing out that some learners mistakenly believe partitioning exists in Redshift.
Official Reference
https://docs.aws.amazon.com/redshift/latest/dg/c_choosing_dist_sort.html
This link opens the official vendor documentation in a new tab.
Exam Strategy
Always check table size and update frequency when choosing distribution styles. Use ALL for small lookup tables (<10MB) and EVEN or KEY for large fact tables.
Frequently Asked Questions
Why can't we use partition keys in Redshift?
When should I use KEY distribution instead of EVEN?
Community Votes
100% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 4 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 4
-
rralucard_ 👍 8 Answered CUse the ALL Distribution Style for Rarely Updated Small Tables. This approach optimizes the performance of joins involving these smaller tables and is a common best practice in Redshift data warehousing. For the larger tables, maintaining the EVEN distribution style or considering a KEY-based distribution (if there are common join columns) could be more appropriate.
-
pypelyncar 👍 3 Answered CFor small tables (less than 10 MB in size) that are rarely updated, using the ALL distribution style can provide better query performance. With the ALL distribution style, each compute node stores a copy of the entire table, eliminating the need for data redistribution or shuffling during certain queries. This can significantly improve query performance, especially for joins and aggregations involving small tables.
-
DevoteamAnalytix 👍 2 Answered C"ALL distribution is appropriate only for relatively slow moving tables; that is, tables that are not updated frequently or extensively." (https://docs.aws.amazon.com/redshift/latest/dg/c_choosing_dist_sort.html)
-
jk15997 👍 3why not D?
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All DEA-C01 Questions
Access 100 questions with complete answers and detailed explanations.
View Full DEA-C01 Practice Test →