Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Amazon Redshift Cookbook

You're reading from  Amazon Redshift Cookbook

Product type Book
Published in Jul 2021
Publisher Packt
ISBN-13 9781800569683
Pages 384 pages
Edition 1st Edition
Languages
Authors (3):
Shruti Worlikar Shruti Worlikar
Profile icon Shruti Worlikar
Thiyagarajan Arumugam Thiyagarajan Arumugam
Profile icon Thiyagarajan Arumugam
Harshida Patel Harshida Patel
Profile icon Harshida Patel
View More author details
Toc

Table of Contents (13) Chapters close

Preface 1. Chapter 1: Getting Started with Amazon Redshift 2. Chapter 2: Data Management 3. Chapter 3: Loading and Unloading Data 4. Chapter 4: Data Pipelines 5. Chapter 5: Scalable Data Orchestration for Automation 6. Chapter 6: Data Authorization and Security 7. Chapter 7: Performance Optimization 8. Chapter 8: Cost Optimization 9. Chapter 9: Lake House Architecture 10. Chapter 10: Extending Redshift's Capabilities 11. Other Books You May Enjoy Appendix

Loading data from Amazon S3 using COPY

Amazon Redshift is a relational database management system (RDBMS) that supports a number of data model structures, including dimensional, denormalized, and aggregate (rollup) structures. This makes it optimal for analytics.

In this recipe, we will set up two separate sample datasets in Amazon Redshift that are publicly available:

  • A dimensional model by using a Star Schema Benchmark (SSB) (https://www.cs.umb.edu/~poneil/StarSchemaB.pdf), a retail system-based dataset.
  • A denormalized model by using the Amazon.com customer product reviews dataset.

For loading the datasets, we will use the COPY command, which allows data to be copied from Amazon S3 to Amazon Redshift. This is the recommend approach for loading large amounts of data.

Getting ready

To complete this recipe, you will need to do the following:

  • Deploy an Amazon Redshift cluster in AWS region eu-west-1.
  • Create Amazon Redshift cluster master user...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}