- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
- Data

Set Up a Redshift Cluster with Distributed Data
In this lab, we will learn how to design schemas and create tables and views. Then, we will analyze complex queries and see the importance of choosing the right distribution style and sort key.

Lab Info
Table of Contents
-
Challenge
Create a Redshift Cluster
Launch the AWS management console, switch to Amazon Redshift service, and create a cluster.
-
Challenge
Create a Table and View
Use a SQL statement and create a schema and two tables. Then, create a view to restrict access to specific data.
-
Challenge
Improve Query Performance with Distribution Style
Use the SQL EXPLAIN statement to analyze the cost of executing a query with a “join” statement. Then, change the distribution style and the distribution key to see the performance improvement.
-
Challenge
Improve Query Performance with Sortkey
Write a query that filters data using a specific column in the where clause. Use the SQL EXPLAIN statement to analyze the cost of executing it. Update the table to use this column as the sort key and re-run the query to see the performance improvement.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.