AWS in 1 Min · Episode 120

Amazon Redshift explained: the AWS data warehouse

SQL for billions of rows. Watch the one-minute video, then read the details.

David Gomez1:19 video · 3 min read

"Run your big reports on the app database." It works on day one. Then the data grows, finance runs a year-over-year report at 10 a.m., and checkout slows down for every customer. Your app database is built for many small reads and writes; big reports want to scan millions of rows. That second job belongs in a data warehouse, and on AWS that is Amazon Redshift.

What Redshift is

Redshift is a fully managed SQL data warehouse that scales from gigabytes to petabytes. It is based on PostgreSQL, so most SQL tools and BI dashboards connect with little change, but it is optimized for analysis (OLAP), not for serving your app's transactions (OLTP).

Why it is fast

Two design choices do most of the work:

  • Columnar storage. Data is stored column by column and compressed. A query that sums sales by region reads only those two columns, not every field of every row. Fewer bytes read means faster queries.
  • Massively parallel processing. A leader node parses the query and builds a plan. Compute nodes, split into slices, each scan their share of the data in parallel, and the leader combines the results.

Common mistake: treating Redshift like an app database with lots of single-row inserts and updates. Load data in bulk (for example with COPY from S3), and let the warehouse do what it is good at: big scans and aggregations.

Serverless or provisioned

  • Redshift Serverless: no cluster to size. Capacity scales with the workload, and you are not charged for compute while the warehouse is idle (storage is still billed). A good default for new or spiky workloads.
  • Provisioned clusters: you choose node type and count, which suits steady, predictable workloads where you want reserved pricing and full control.

Either way, data lives in Redshift Managed Storage, so storage and compute scale separately.

Getting data in

  • Load from Amazon S3 with COPY, the classic path. See Amazon S3.
  • Zero-ETL integrations replicate data from sources such as Amazon Aurora and DynamoDB into Redshift in near real time, without you building a pipeline.
  • Query in place: Redshift Spectrum reads files in S3 without loading them.

Where AI fits

Two features are worth knowing:

  • Generative SQL in Query Editor v2. In a query editor notebook, you ask a question in plain English ("top five products by revenue last quarter") and the assistant writes the SQL against your schema. AWS documentation currently calls it Amazon Q generative SQL; an administrator must turn it on, questions must be in English, and you should review the SQL before running it. Admins can upload a custom context (table notes, curated example queries) to improve its answers.
  • Redshift ML. One CREATE MODEL statement exports training data, lets Amazon SageMaker AI Autopilot pick and train the best model, and registers a SQL prediction function in Redshift. Churn or revenue predictions then run inside ordinary queries. Training is billed by SageMaker AI; inference with these models inside Redshift has no extra charge. Redshift ML can also call foundation models in Amazon Bedrock for tasks like summarizing or classifying text.

Quick recap

  • Redshift is for analysis, not for your app's transactions: keep heavy reports off the production database.
  • Columnar storage plus parallel compute nodes make large scans fast.
  • Serverless when you'd rather not size it; generative SQL and Redshift ML bring AI into plain SQL.
AWS in 1 Min #120 · 1:19

Need an AWS expert on your team?

I'm David, an AWS expert and fractional cloud consultant. I work alongside your team to run your cloud and infrastructure: architecture, security, cost and day-to-day operations. You get senior AWS experience when you need it, without the cost of a full-time hire.

  • Architecture reviews and a clear plan for what to fix first
  • Security hardening: IAM, networking, audits
  • Lower AWS bills without slowing your team down
  • Hands-on help with AI workloads on AWS