QuestionQ102
Data Operations and SupportA company operates a data-processing pipeline that runs multiple SQL queries sequentially against an Amazon Redshift cluster. The company merges with another company. The original company changes a query that aggregates sales-revenue data so that it joins sales tables from both companies. The first company’s sales table is named Table S1. The second company’s sales table is named Table S2. Table S1 has 10 billion records. Table S2 has 900 million records.
The query becomes slow after the change. A data engineer must improve query performance.
Which solutions meet these requirements?
Choose two
- A Use the KEY distribution style for both sales tables. Select a low cardinality column to use for the join.
- B Use the KEY distribution style for both sales tables. Select a high cardinality column to use for the join.
- C Use the EVEN distribution style for Table S1. Use the ALL distribution style for Table S2.
- D Use the Amazon Redshift query optimizer to review and select optimizations to implement.
- E Use Amazon Redshift Advisor to review and select optimizations to implement.
Community Discussion