Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

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.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 45m
Published
Clock icon Nov 07, 2024

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Create a Redshift Cluster

    Launch the AWS management console, switch to Amazon Redshift service, and create a cluster.

  2. 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.

  3. 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.

  4. 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.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

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.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans