Skip to content

Commit dce68f6

Browse files
blog(serverless-postgres): Supabase branches are data-less by default, so only Neon's start with the parent's data
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 9592fcc commit dce68f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/blog/content/blog/serverless-postgres

‎apps/blog/content/blog/serverless-postgres/index.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ Below that crossover, operation billing keeps you off always-on costs; above it,
167167

168168
Beyond billing and idle behavior, a production choice touches a few more things. They rarely decide the shortlist, but they can break a tie:
169169

170-
- **Branching.** Two models. Copy-on-write branches start with the parent's data: Neon includes 10 branches per project free; Supabase bills $0.01344 per branch-hour; PlanetScale runs each branch as its own billed cluster. Prisma Postgres branches per Git branch instead: with deploy on push on Prisma Compute, every pushed branch other than the default one gets its own new database with your migrations applied (for a `postgres()` database), deleted with the branch unless pinned, at no per-branch fee (checked 2026-12-01). Pick copy-on-write when previews need production data, and per-branch databases when they should start clean. On any host, a [GitHub Actions workflow in the Prisma docs](https://www.prisma.io/docs/guides/integrations/github-actions) gives each pull request its own new database to test against, with your schema and seed data, and deletes it when the pull request closes; these are new databases, not copy-on-write copies (checked 2026-11-26). Free includes 50 databases, paid plans 1,000.
170+
- **Branching.** Neon's copy-on-write branches start with the parent's data, with 10 branches per project free. Supabase branches are data-less by default, built from your migrations (a seed file or the "Include data" option adds data), and bill $0.01344 per branch-hour; PlanetScale runs each branch as its own billed cluster. Prisma Postgres branches per Git branch: with deploy on push on Prisma Compute, every pushed branch other than the default one gets its own new database with your migrations applied (for a `postgres()` database), deleted with the branch unless pinned, at no per-branch fee (checked 2026-12-01). Pick copy-on-write when previews need production data, and per-branch databases when they should start clean. On any host, a [GitHub Actions workflow in the Prisma docs](https://www.prisma.io/docs/guides/integrations/github-actions) gives each pull request its own new database to test against, with your schema and seed data, and deletes it when the pull request closes; these are new databases, not copy-on-write copies (checked 2026-11-26). Free includes 50 databases, paid plans 1,000.
171171
- **Connection pooling.** Serverless functions open connections fast, and Postgres tolerates a limited number. Prisma Postgres, Neon, and Supabase build in a pooler. On Aurora the answer is RDS Proxy, a separately billed service that holds connections open and, as a result, prevents auto-pause from ever engaging.
172172
- **Ecosystem.** Aurora buys into the full AWS stack; Supabase bundles auth, storage, and realtime; PlanetScale brings its Vitess and Metal operational heritage.
173173

0 commit comments

Comments
 (0)