---
title: "Improving the developer experience for Prisma users"
description: "Neon shipped three changes to smooth Prisma integration: faster cold starts from scale-to-zero, simultaneous pooled (PgBouncer) and direct connection strings, and SQL-based role/database management that removes the need for a manual shadow database."
url: "https://swe.quest/articles/improving-the-developer-experience-for-prisma-users-d4c8593d4e6c3e9b"
canonical: "https://neon.com/blog/prisma-dx-improvements"
source: "Neon"
published: "2023-07-13"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 4
tags: ["postgres","serverless","schema-migrations","developer-tools"]
---

# Improving the developer experience for Prisma users

A post on [Neon](https://swe.quest/sources/neon.md), published 2023-07-13, 4 min read, Announcement. Original: [https://neon.com/blog/prisma-dx-improvements](https://neon.com/blog/prisma-dx-improvements)

## Summary

Neon shipped three changes to smooth Prisma integration: faster cold starts from scale-to-zero, simultaneous pooled (PgBouncer) and direct connection strings, and SQL-based role/database management that removes the need for a manual shadow database. Prisma 5 users in the same region as their database likely no longer need a raised connect\_timeout to avoid P1001 errors. Prisma Migrate fails over PgBouncer with a "prepared statement already exists" error, so the pooled \`-pooler\` endpoint goes in \`url\` and the direct endpoint in \`directUrl\` in schema.prisma. The \`shadowDatabaseUrl\` workaround can now be dropped.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [PostgreSQL](https://swe.quest/tags/postgres.md) (Data & databases)
- [Serverless](https://swe.quest/tags/serverless.md) (Backend & APIs)
- [Schema migrations](https://swe.quest/tags/schema-migrations.md) (Data & databases)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)

## Prerequisites

- Prisma ORM basics
- PostgreSQL connection strings ([easy posts on PostgreSQL](https://swe.quest/tags/postgres.md?difficulty=easy))

## Keywords

Neon, Prisma, Prisma Migrate, PgBouncer, PostgreSQL

## Related posts

- [Better Postgres with Prisma Experience](https://swe.quest/articles/better-postgres-with-prisma-experience-595f740758817ccf.md): Neon · 2024-03-07 · Medium · 4 min read · PostgreSQL, Schema migrations, Serverless, TypeScript
  Prisma users on Neon can now use a single pooled Postgres connection string for both serverless queries and schema migrations, replacing separate pooled, direct and shadow database URLs.
- [Postgres 17 is Now Available on Neon](https://swe.quest/articles/postgres-17-is-now-available-on-neon-84c88d00e9905bce.md): Neon · 2024-09-26 · Medium · 6 min read · PostgreSQL, SQL
  Postgres 17 is available on Neon for all plans, including Free, and can be provisioned in a few steps.
- [Using Neon’s Scale to Zero with Long-Running Applications](https://swe.quest/articles/using-neon-s-scale-to-zero-with-long-running-applications-bbe64dd8466d86d8.md): Neon · 2024-01-24 · Medium · 7 min read · PostgreSQL, Serverless, Resilience, JavaScript, Performance engineering
  Neon's scale to zero suspends a Postgres compute after an idle window (only when no WAL senders are active and autovacuum isn't running), which severs connections held by long-running servers.
- [How Shipsidekick replaced Neon with ClickHouse Managed Postgres for 10x faster queries and better reliability](https://swe.quest/articles/how-shipsidekick-replaced-neon-with-clickhouse-managed-postgres-for-10x-faster-4525525384ac6471.md): ClickHouse · 2026-10-23 · Medium · 8 min read · PostgreSQL, Databases, Performance engineering, Serverless
  Shipsidekick, a logistics platform built on Next.js and Vercel, moved its Postgres database from Neon to ClickHouse Managed Postgres after repeated outages.
- [A database for every preview environment using Neon, GitHub Actions, and Vercel](https://swe.quest/articles/a-database-for-every-preview-environment-using-neon-github-actions-and-vercel-dd5fe24cba2d12b5.md): Neon · 2023-04-14 · Medium · 14 min read · PostgreSQL, CI/CD, Deployment, Schema migrations
  Neon's copy-on-write branching can give every pull request its own production-like Postgres database, avoiding the bottlenecks of shared staging or shared preview databases.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
