ENES

Amazon Redshift

AWS's data warehouse: SQL over huge tables, built for analysis rather than apps.

A SQL query enters a leader node that splits the work among three compute nodes, each storing columns of a table

Redshift is the data warehouse of AWS: a database designed to answer analytical questions over very large amounts of data, like "revenue by country and month for the last five years". You load data from your apps, Amazon S3 or other sources, and analysts query it with SQL, usually through a dashboard tool.

Two design choices make it fast at that job. It stores data by column instead of by row, so a query that only needs country and amount reads just those two columns, highly compressed. And it splits each table across several machines (nodes) that work in parallel: a leader node plans the query, the compute nodes each scan their slice, and the leader combines the answers.

You can run it as a provisioned cluster with a fixed number of nodes, or as Redshift Serverless, where AWS adds capacity while queries run and you pay for the compute actually used. It can also query files that stay in S3 without loading them. What it is not good for is the stream of small reads and writes behind an app's checkout page; that is the job of a regular database like Amazon RDS or Amazon DynamoDB.

Keep in mind

Go deeper

Related terms

More in AWS