> ## Documentation Index
> Fetch the complete documentation index at: https://supastack.dev/llms.txt
> Use this file to discover all available pages before exploring further.
> For the full documentation corpus in one file, fetch: https://supastack.dev/llms-full.txt

# Supabase vs plain Postgres + Drizzle for a SaaS in 2026

Compare Supabase with a server-side Drizzle stack on Neon, RDS, or your own Postgres, including RLS, auth, migrations, hosting costs, and what moves with your data.

_Published 2026-12-01._
_Updated 2026-12-01._

> **Should I use Supabase or plain Postgres with Drizzle for my SaaS?**
> It depends on whether you want a backend platform or a database for a server you already own. Supabase is useful when you need its Data API, Auth, Storage, or Realtime together. If a Node backend already owns auth and data access, Postgres with Drizzle keeps that architecture simpler. You can still use Supabase to host that Postgres database without adopting Supabase Auth.

## Choose where your application boundary lives

Use Supabase as a backend platform if your clients need its Data API, Auth, Storage, or Realtime and you want those services to work together. If all reads and writes go through your Node server already, plain Postgres with Drizzle is often the simpler architecture. You own the authentication and authorization path either way; the question is where the checks run and which services you maintain.

Supabase is Postgres hosting as well as a platform. Drizzle is a TypeScript ORM, not a database host. You can point Drizzle at Supabase Postgres and leave the Data API out of the architecture. That is a separate choice from adopting the whole platform.


## RLS depends on who is allowed to query the database

When browser clients use the Supabase Data API to query tenant data, enable RLS on exposed tables and test policies using the roles those clients actually have. Never ship a service-role credential to the client. A passing test from a privileged admin connection proves little about a tenant policy.

When requests go through your backend, authenticate the session and derive the tenant from live membership before running a Drizzle query. Postgres RLS can still add protection, but if you want it to catch a missing tenant filter, make sure the application connection uses a role subject to the policy. [Postgres RLS and workspace auth](https://supastack.dev/blog/postgres-rls-and-workspace-auth.md) goes deeper on those two layers.


## Compare Neon, RDS, and self-hosting on the same workload

Look at Neon if you want managed Postgres with branching and compute that can suspend when idle; measure the wake-up on your first request. RDS fits when the app is already on AWS and you want Postgres in its private network with managed backups and a clear path to Multi-AZ. Price the instance, storage and I/O for the chosen configuration, not just the smallest dev instance.

Self-hosting trades a cheaper-looking server line for your team's time. Price a second copy of the data, test restores, and decide who patches the host. With Supabase, include the platform usage you will actually incur, such as Storage egress; if you only want the database, compare the database resources and backup retention on equivalent plans. An idle staging database and a busy production database rarely favor the same cost model.


## Find out what a database dump leaves behind

Pick one owner for schema changes. If Drizzle generates the migration, commit and review the SQL rather than making the same change manually in a dashboard. Use a migration connection that supports the SQL and session behavior you need. A transaction pooler may suit short app queries but is not always a drop-in replacement for a direct or session-pooled migration connection.

Practice restoring your application schema and a scrubbed dataset to a second host. If you use Supabase Auth, check what must change for user IDs, sign-in, and existing sessions. If you use its Storage, a SQL dump is not a copy of the uploaded files. List any provider-specific extensions or policies before promising the move is just a URL change.


## Supastack treats Supabase as a deployment choice

Supastack's server uses Postgres through Drizzle, with schema and committed migrations in the database package. The kit documents local Postgres and using Supabase as the hosted database. In Supabase mode, the kit still uses its own application authentication and workspace checks; plugging in a connection string does not switch sign-in to Supabase Auth.

The kit's Supabase instructions use a session-pooled connection for migrations and audit what the Data API can reach after schema changes. Compare that setup in [the database guide](https://supastack.dev/docs/web/setup-database.md) with [Supabase's connection options](https://supabase.com/docs/guides/database/connecting-to-postgres). If you evaluate another host, verify migrations, connection mode, and the backup restore on that host before moving customer data.
