The short answer
Redshift is a data warehouse; Postgres is the database your application runs on. They share much of their SQL, and most Postgres client tools connect to both with few changes, which makes them look interchangeable, but Redshift gave up the things that make Postgres a good application database (indexes, enforced constraints, cheap single-row updates) in exchange for columnar storage and queries spread across many nodes. For most Supabase teams the real question is whether analytics has outgrown the database you already run, and whether you want to operate a warehouse on AWS when it has.
- Stay in Postgres while your reporting can be served from pre-calculated tables, materialized views or a read replica, and your metrics need the same row-level permissions as your app.
- Add Redshift when you already run on AWS, analysts need SQL over years of history joined with data from other systems and from S3, and you have someone to own the pipeline and the warehouse.
- Keep Postgres as the source of truth either way. Redshift is fed from it, not the other way round.
Side by side
| Postgres (Supabase) | Amazon Redshift | |
|---|---|---|
| Built for | Transactions (OLTP): many small reads and writes to individual rows. | Analytics (OLAP) and BI: complex queries over large datasets, run in parallel across nodes. |
| How it runs | One database server your app, API and tools connect to. | A managed AWS warehouse: a provisioned cluster (a leader node plus compute nodes) or a Redshift Serverless workgroup. Data sits in Redshift Managed Storage, backed by Amazon S3. |
| Storage layout | Row-oriented heap: each row's columns are stored together. | Column-oriented with compression encodings; each table is spread across nodes by a distribution style and ordered by sort keys. |
| Indexes and constraints | B-tree, GIN, BRIN and more; primary, unique, foreign key and check constraints enforced. | No indexes. Primary, unique and foreign keys can be declared but are informational only: the planner uses them, nothing enforces them. |
| Data types | uuid, jsonb, arrays, enums and ranges, all common in Supabase schemas. | None of those. Semi-structured data goes in the SUPER type; everything else needs a mapping on the way in. |
| Access control | Roles and Row Level Security policies (what Supabase's auth relies on). | Its own users, roles, column-level grants and RLS policies. Postgres RLS does not travel with replicated data. |
| For a Supabase team | Already running: it is your project's database. | A second system in an AWS account, fed by CDC or batch loads; Supabase Pipelines does not list it as a destination. |
| Price | Part of your Supabase plan and compute size; see supabase.com/pricing. | Separate AWS bill: node hours or Serverless compute, plus managed storage and data transfer; see aws.amazon.com/redshift/pricing. |
Prices change and depend on usage, region and plan, so this page quotes none. Check Supabase's pricing (including how read replicas are billed) and Amazon Redshift's pricing, plus the cost of whatever pipeline moves the data between them.
Same family, different database
AWS's own documentation says Redshift is based on PostgreSQL but that its storage and query engine are completely different, and that features suited to OLTP, such as secondary indexes and efficient single-row changes, were left out. In practice that means a Supabase schema rarely copies across as it is:
- Types. Redshift does not support
uuid,json, arrays, enums, range types orserial. Supabase tables lean on several of these (auth.usersis keyed byuuid), so every replicated table needs a type mapping, usually strings for IDs andSUPERorVARCHARfor JSON. Your replication tool decides the defaults; check them before the first load. - Features. Triggers, sequences, table partitioning, full-text search and enforced constraints are not supported. Logic that lives in Postgres functions and triggers stays in Postgres.
- Tuning.Instead of indexes you choose distribution styles and sort keys (or let Redshift's automatic table optimization choose them).
VACUUMandCOPYshare Postgres's names but behave differently.
Why the same query behaves so differently
“Monthly revenue by plan and region for the last three years” reads a few columns across a very large number of rows. Postgres stores each row's columns together, so it reads whole rows to reach the ones it needs, on the same CPU, memory and connections your application uses. Our piece on analytical query performance on Supabase Postgres goes through where that cost shows up.
Redshift reads only the columns a query names, compressed, and splits the work across compute nodes that each hold a slice of every table. Sort keys let it skip blocks that can't match a filter. The trade-off runs the other way: looking up or updating one row is comparatively slow, and nothing stops a duplicate primary key from landing in a table, so loads have to be written to avoid them.
When Postgres is enough
Most early-stage analytics is a small set of numbers asked for repeatedly: revenue, signups, activation, retention. Postgres covers them well when you:
- Pre-calculate. Refresh materialized views or aggregate tables on a schedule, so dashboards read a few hundred rows instead of millions. Our guide to SaaS revenue metrics calculated in Postgres shows the common ones in SQL.
- Move heavy reads off the primary. A read replica isolates analytical load from your app, though it stores data the same row-oriented way.
- Need your permissions to hold.Analytics that must respect Supabase's Row Level Security, per tenant or per user, is simplest when it never leaves Postgres.
- Want one system to run. A warehouse means a second schema, a replication pipeline to watch, an AWS account to secure and a second bill.
Our piece on what warehouse-style analytics actually requires goes further into how much of a warehouse's job Postgres already does.
When Redshift earns its place
- Your company already runs on AWS, and other sources (other databases, files in S3, SaaS tools) need to land in one place next to your Supabase data.
- Analysts query years of history ad hoc through BI tools, and the questions change too often to pre-aggregate.
- You want to query files in S3 alongside warehouse tables, which Redshift Spectrum does without loading them first.
- You have a data engineer, or will hire one, to own the pipeline, the type mappings and the warehouse's own tuning.
If what you need is fast scans over large event tables rather than a company-wide warehouse, a columnar engine may be a lighter step: compare ClickHouse vs Postgres for a separate analytical database Supabase can replicate to, and DuckDB vs Postgres for an embedded engine with no server to run.
Getting Supabase data into Redshift
Two AWS shortcuts are easy to find and don't apply as-is. Redshift's federated queries read live Postgres data only from Amazon RDS for PostgreSQL and Aurora PostgreSQL, and Supabase's managed Pipelines (in public alpha) list BigQuery, ClickHouse, DuckLake and Snowflake as destinations, not Redshift. That leaves three routes:
AWS DMS, or zero-ETL built on it
AWS Database Migration Service can read a Postgres source over logical replication, and Supabase's manual replication guide has DMS-specific settings, including setting the plugin to test-decoding. AWS also offers zero-ETL integrations from self-managed databases that reuse a DMS source endpoint; note that they need a provisioned Redshift cluster as the target, not Redshift Serverless. Check both sets of docs against your project before you plan around either.
A third-party CDC tool
Supabase's same guide covers Airbyte, Estuary, Fivetran and Stitch as Postgres sources, with the settings each needs. Check the tool's own list of destinations for Redshift support and how it maps uuid and jsonb columns. Supabase recommends an XL or larger instance and the IPv4 add-on for manual replication, and sizing max_slot_wal_keep_sizefor your write rate, then monitoring the replication slot so a stalled consumer doesn't fill your disk with WAL.
Batch exports through S3
If daily freshness is enough, export the tables you analyse to Parquet or CSV in an Amazon S3 bucket on a schedule, then load them with Redshift's COPY or query them in place with Spectrum. Production only sees the export query, and there is no replication slot to watch.
Permissions do not come along
Rows copied into Redshift leave your Supabase RLS policies behind. Redshift has its own row-level security and column-level grants, so tenant or user isolation can be rebuilt there, but it is a second set of policies to write and keep in step with the first. Replicate only the columns analysts need, and leave anything from the auth schema out unless there is a reason to copy it. Our piece on multi-tenant analytics isolation in Supabase sets out the patterns.
A quick way to decide
- List the questions your dashboards, reports and agents ask most. If each can be answered from a table you refresh on a schedule, stay in Postgres.
- For the ones that can't, check where the rest of the data lives. If it is mostly in AWS (S3, RDS, other services) and analysts need it joined with your app data, a warehouse there is a fair candidate.
- Pick the pipeline before the warehouse: DMS or zero-ETL, a CDC tool, or batch exports. Map your
uuid,jsonband array columns before the first load. - Decide where per-tenant permissions will live, and price both setups for your volume on the vendors' own pricing pages before committing.