# Prisma Website Prisma provides Prisma ORM, Prisma Postgres, Prisma Compute, Prisma Studio, and the Prisma MCP Server. > Prisma changes frequently. Before implementing Prisma features, check the changelog at https://www.prisma.io/changelog for recent breaking changes or API updates. > Every page below marked [Markdown] has a Markdown rendition at its `.md` URL, served as `text/plain` so every assistant's URL fetcher accepts it. Key Pages and Product guides also serve Markdown at their normal URL when the request sends `Accept: text/markdown`. Documentation and blog pages have renditions too: append `.md` to any https://www.prisma.io/docs or https://www.prisma.io/blog URL. ## Key Pages - [`Prisma | Agent Infrastructure for TypeScript`](https://www.prisma.io/): Prisma Compute hosts TypeScript apps (Node.js, Bun or Next.js) next to Prisma Postgres in one project. Generally available since August 2026. Free plan, no credit card. Any Postgres client works; Prisma ORM is optional. Prisma makes Prisma ORM, Prisma Postgres and Prisma Compute. [Markdown](https://www.prisma.io/index.md) - [`Prisma ORM | Type-Safe ORM for TypeScript and Node.js`](https://www.prisma.io/orm): Prisma ORM is a type-safe ORM for TypeScript and Node.js. Model your data, run migrations, and query your database, with access your agent can't get wrong. [Markdown](https://www.prisma.io/orm.md) - [`Prisma Postgres | Serverless PostgreSQL database for TypeScript apps`](https://www.prisma.io/postgres): Prisma Postgres is a serverless cloud PostgreSQL database with instant setup, built-in connection pooling, automated backups, and usage-based pricing. [Markdown](https://www.prisma.io/postgres.md) - [`Prisma Compute | Host TypeScript apps (Node.js, Bun or Next.js) next to Postgres`](https://www.prisma.io/compute): Prisma Compute is a platform-as-a-service (PaaS) for TypeScript apps (Node.js, Bun or Next.js) that runs them next to Prisma Postgres. Generally available since August 2026. Free plan, no credit card. Any Postgres client works; Prisma ORM is optional. [Markdown](https://www.prisma.io/compute.md) - [`Prisma Pricing | Usage-Based Plans for Postgres and Compute`](https://www.prisma.io/pricing): Usage-based pricing for your whole stack — Prisma Compute app hosting and Prisma Postgres databases. Pay for the work your app does, not seats or deploys. Free tier with no time limit, hard spend limits on every paid plan. [Markdown](https://www.prisma.io/pricing.md) - [`Prisma Studio | Visual Database Browser and Editor`](https://www.prisma.io/studio): Explore, edit, and understand your data with a visual database browser for Prisma, locally or in Prisma Console. [Markdown](https://www.prisma.io/studio.md) - [`The Prisma Stack | ORM, Postgres, and Compute for TypeScript`](https://www.prisma.io/stack): ORM, Postgres, and Compute, one platform for your app and its database, with one shared context across your stack. [Markdown](https://www.prisma.io/stack.md) - [`Prisma Enterprise | ORM Support and Database Workflows for Teams`](https://www.prisma.io/enterprise): Enterprise-level support, security, and guidance for teams running Prisma in production. [Markdown](https://www.prisma.io/enterprise.md) - [`Prisma MCP Server | Manage Databases and Compute with AI`](https://www.prisma.io/mcp): Manage Prisma Postgres databases, Prisma Compute deployments, and Object Storage from your AI tools with the Prisma MCP server. [Markdown](https://www.prisma.io/mcp.md) - [`Free PostgreSQL Hosting | Prisma Postgres`](https://www.prisma.io/postgres/free-postgresql-hosting): Free PostgreSQL hosting on Prisma Postgres. Managed PostgreSQL 17 with 2 GB of storage, 200,000 operations a month and up to 50 databases. No credit card and no time limit. [Markdown](https://www.prisma.io/postgres/free-postgresql-hosting.md) - [`Prisma comparisons`](https://www.prisma.io/compare): Prisma ORM and Prisma Postgres set beside the tools people weigh them against, with every figure sourced and dated. [Markdown](https://www.prisma.io/compare.md) - [`Prisma Postgres vs Convex: standard Postgres or a reactive database?`](https://www.prisma.io/compare/convex): Convex is a reactive database with TypeScript query functions. Prisma Postgres is managed PostgreSQL, and Prisma ORM is optional. Checked November 2026. [Markdown](https://www.prisma.io/compare/convex.md) - [`Prisma ORM vs Kysely: contract file or SQL query builder?`](https://www.prisma.io/compare/kysely): Prisma ORM 8 drives typed queries and migrations from a contract file. Kysely is a type-safe SQL query builder without a schema file. Checked October 2026. [Markdown](https://www.prisma.io/compare/kysely.md) - [`Prisma ORM vs Mongoose: contract file or schema in application code?`](https://www.prisma.io/compare/mongoose): Prisma ORM 8 types MongoDB queries, aggregations, and migrations from a contract file. Mongoose models documents in application code. Checked October 2026. [Markdown](https://www.prisma.io/compare/mongoose.md) - [`Prisma Postgres vs Neon: TypeScript app hosting or Neon backend primitives?`](https://www.prisma.io/compare/neon): Both are managed PostgreSQL. Pick Prisma Postgres for optional Prisma ORM and Prisma Compute in one project. Pick Neon for Functions, Auth, Object Storage, and AI Gateway. Checked November 2026. [Markdown](https://www.prisma.io/compare/neon.md) - [`Prisma Postgres vs PlanetScale: TypeScript app hosting or database-first Postgres?`](https://www.prisma.io/compare/planetscale): Both are managed PostgreSQL. Pick Prisma Postgres for optional Prisma ORM, Prisma Compute, and a $0 free plan. Pick PlanetScale for database-first SKUs, Metal, and Neki. Checked November 2026. [Markdown](https://www.prisma.io/compare/planetscale.md) - [`Prisma Postgres vs Supabase: what's the difference and which should I pick?`](https://www.prisma.io/compare/supabase): Both are managed PostgreSQL. Pick Prisma Postgres for optional Prisma ORM and Prisma Compute in one project. Pick Supabase for Auth, Storage, Realtime, and Edge Functions. Checked November 2026. [Markdown](https://www.prisma.io/compare/supabase.md) - [`Prisma vs Vercel + Neon + Drizzle: two ways to build a TypeScript backend`](https://www.prisma.io/compare/vercel-neon-drizzle): Compare Prisma ORM, Prisma Postgres, and Prisma Compute with the Vercel, Neon, and Drizzle setup: one TypeScript platform, or a host, a database, and an ORM from three providers. Checked November 2026. [Markdown](https://www.prisma.io/compare/vercel-neon-drizzle.md) - [`Host a test version without replacing production: previews and staging (2026)`](https://www.prisma.io/blog/host-a-test-version-without-replacing-production): Deploy the new version from a Git branch to a preview or staging environment with its own URL and test database; only the main branch deploys production. Covers Fly.io, Netlify, Prisma Compute, Railway, Render and Vercel. [Markdown](https://www.prisma.io/blog/host-a-test-version-without-replacing-production.md) - [`Preview and staging environments per Git branch | Prisma Compute`](https://www.prisma.io/docs/compute/deploy-on-push): Set up deploy on push for Prisma Compute: every branch you push other than the default one gets a preview environment with its own URL, its own services and, for databases declared in the Composer module, its own new database; production data is not copied. If the app reads DATABASE_URL, a preview is only as separate as that value. The default branch deploys production, and a branch you keep, such as staging, works as a staging environment. [Markdown](https://www.prisma.io/docs/compute/deploy-on-push.md) ## Product guides - [What is PostgreSQL high availability, and do I need it?](https://www.prisma.io/postgres/high-availability): Usually not yet. A standby takes over when the primary fails. Failovers typically take under 35 seconds to two minutes, and most new apps need backups first. [Markdown](https://www.prisma.io/postgres/high-availability.md) - [What does a small production app need from Postgres?](https://www.prisma.io/postgres/small-production-app-postgres): For your first 100 to 1,000 users: tested backups, pooling, a spend limit and monitoring. Read replicas and high availability can wait for a clear signal. [Markdown](https://www.prisma.io/postgres/small-production-app-postgres.md) - [Where should I host my exported Bolt or Lovable app?](https://www.prisma.io/compute/bolt-lovable-export-hosting): Choose hosting for a Bolt or Lovable export by its actual runtime, preserve backend services first, and plan any move to managed Postgres separately. [Markdown](https://www.prisma.io/compute/bolt-lovable-export-hosting.md) - [Where can I host a TypeScript bot with Postgres?](https://www.prisma.io/compute/discord-slack-bot-postgres): Choose hosting for a Discord or Slack bot by its HTTP or persistent-connection model, then keep bot state and retry records in managed Postgres. [Markdown](https://www.prisma.io/compute/discord-slack-bot-postgres.md) - [Where can I host a TypeScript MCP server with Postgres?](https://www.prisma.io/compute/typescript-mcp-server-postgres): Host your own database-backed TypeScript MCP server with authenticated HTTP tools, server-side Postgres credentials and practical deployment checks. [Markdown](https://www.prisma.io/compute/typescript-mcp-server-postgres.md) - [Which managed Postgres providers have EU regions for GDPR needs?](https://www.prisma.io/postgres/eu-data-residency): Compare EU Postgres regions and verify data-residency requirements across contracts, backups, support access, logs and application services. [Markdown](https://www.prisma.io/postgres/eu-data-residency.md) - [Which managed Postgres fits an internal tool or admin dashboard?](https://www.prisma.io/postgres/internal-tool-database): Choose Postgres for a TypeScript admin tool by staff permissions, reporting queries, audit records and recovery, with practical setup checks. [Markdown](https://www.prisma.io/postgres/internal-tool-database.md) - [Which database should I use for a Next.js online store?](https://www.prisma.io/postgres/nextjs-online-store-database): Choose managed Postgres for a Next.js store, with durable orders, verified payment events, retry handling and separate product image storage. [Markdown](https://www.prisma.io/postgres/nextjs-online-store-database.md) - [Which database should I use for a TypeScript realtime chat app?](https://www.prisma.io/postgres/realtime-chat-database): Choose a chat database by durable messages, room permissions, realtime delivery and reconnect behavior. Compare Prisma Postgres and Supabase. [Markdown](https://www.prisma.io/postgres/realtime-chat-database.md) - [My Postgres app is slowing down as it grows. Do I need a read replica?](https://www.prisma.io/postgres/do-i-need-a-read-replica): A read replica helps with heavy reads, reports and distant readers, not slow queries or writes. What to check first, and how to use one from TypeScript. [Markdown](https://www.prisma.io/postgres/do-i-need-a-read-replica.md) - [Which Postgres providers have an MCP server for AI agents?](https://www.prisma.io/postgres/ai-agent-mcp-databases): Compare the Neon, Prisma and Supabase MCP servers: which tools let an AI agent create a database, run SQL and change the schema, and what access it receives. [Markdown](https://www.prisma.io/postgres/ai-agent-mcp-databases.md) - [Which Postgres setup should I use for integration tests in CI?](https://www.prisma.io/postgres/ci-integration-test-database): Compare temporary hosted Postgres, database branches and runner-local service containers for isolated, repeatable CI integration tests. [Markdown](https://www.prisma.io/postgres/ci-integration-test-database.md) - [Which Postgres backend should I use for an Expo app?](https://www.prisma.io/postgres/expo-react-native-backend): Choose a shared Postgres backend for Expo and React Native, with server-side credentials, authenticated API access and separate local storage. [Markdown](https://www.prisma.io/postgres/expo-react-native-backend.md) - [Which Postgres setup should I use for a multi-tenant SaaS app?](https://www.prisma.io/postgres/multi-tenant-saas-database): Choose shared tables or separate Postgres databases for SaaS tenants, with explicit authorization, routing, migrations and recovery boundaries. [Markdown](https://www.prisma.io/postgres/multi-tenant-saas-database.md) - [Which managed Postgres database fits a small team?](https://www.prisma.io/postgres/postgres-for-small-teams): Choose managed Postgres for a small TypeScript team by ownership, recovery, development isolation and the work needed to run the app. [Markdown](https://www.prisma.io/postgres/postgres-for-small-teams.md) - [Where can I host a Next.js API for form submissions?](https://www.prisma.io/compute/nextjs-form-submissions): Choose managed Next.js hosting that runs POST handlers, keeps credentials on the server and saves form submissions durably in Postgres. [Markdown](https://www.prisma.io/compute/nextjs-form-submissions.md) - [How can I practice restoring a hosted Postgres database?](https://www.prisma.io/postgres/practice-database-recovery): Compare managed Postgres recovery workflows, restore fictional data into a separate database and test the app before customer records depend on it. [Markdown](https://www.prisma.io/postgres/practice-database-recovery.md) - [Where should I host an app that imports spreadsheets?](https://www.prisma.io/postgres/spreadsheet-import-hosting): Keep imported customer records in managed Postgres, run the TypeScript importer on a managed host and preserve data through app updates. [Markdown](https://www.prisma.io/postgres/spreadsheet-import-hosting.md) - [TypeScript AI chat app times out before the answer appears: how do I stream the response and choose hosting?](https://www.prisma.io/compute/ai-chat-timeout-streaming): Stream model tokens as they arrive, set the host's duration limit, turn off proxy buffering and move long agent runs out of the request. [Markdown](https://www.prisma.io/compute/ai-chat-timeout-streaming.md) - [How should I host an AI API that charges credits?](https://www.prisma.io/compute/ai-usage-credits): Host a TypeScript AI API with managed Postgres for credit balances, request records and usage history that survives retries and deployments. [Markdown](https://www.prisma.io/compute/ai-usage-credits.md) - [How can I check my app and database in one place?](https://www.prisma.io/compute/app-database-health-checks): Choose hosting with app and database visibility, then combine service logs, a bounded database check and an outside-in customer workflow test. [Markdown](https://www.prisma.io/compute/app-database-health-checks.md) - [What hosting should I use for customer reports?](https://www.prisma.io/compute/customer-report-hosting): Host TypeScript report endpoints with Postgres data, private file storage and a durable workflow for longer PDF or CSV generation. [Markdown](https://www.prisma.io/compute/customer-report-hosting.md) - [My background job stops when my serverless function times out. Where should long-running tasks run?](https://www.prisma.io/compute/long-running-background-jobs): A serverless time limit also ends work started in the request. Save the job, return, and run it in a worker or a durable workflow service with retries. [Markdown](https://www.prisma.io/compute/long-running-background-jobs.md) - [API key works locally but is missing after deployment: where do production secrets go?](https://www.prisma.io/compute/missing-environment-variables-after-deploy): Your .env file isn't deployed. Set the key in your host's environment settings for the right environment, keep it server-side and redeploy. [Markdown](https://www.prisma.io/compute/missing-environment-variables-after-deploy.md) - [How should I host several separate TypeScript business apps?](https://www.prisma.io/compute/multiple-business-apps): Manage several TypeScript apps together while keeping their projects, databases, credentials, releases and recovery procedures separate. [Markdown](https://www.prisma.io/compute/multiple-business-apps.md) - [Where should I host a Next.js app with Stripe subscriptions?](https://www.prisma.io/compute/nextjs-stripe-subscriptions): Choose Next.js hosting and managed Postgres for Stripe subscriptions, with verified webhooks, durable processing and separate test credentials. [Markdown](https://www.prisma.io/compute/nextjs-stripe-subscriptions.md) - [Where should I host a quote calculator and save quotes?](https://www.prisma.io/compute/quote-calculator-hosting): Publish a TypeScript quote calculator with server-side pricing, saved quote snapshots in Postgres and a reliable follow-up workflow. [Markdown](https://www.prisma.io/compute/quote-calculator-hosting.md) - [Next.js cron job not running after deploy: how do I run scheduled jobs in production?](https://www.prisma.io/compute/scheduled-jobs-not-running): In-app timers like node-cron stop when no server process is running. Have a scheduler call an authenticated route, and make each run safe to repeat. [Markdown](https://www.prisma.io/compute/scheduled-jobs-not-running.md) - [Still billed after stopping a test deployment? How to find the app and database resources still running](https://www.prisma.io/compute/still-billed-after-stopping-deployment): Read the bill by day and resource, list what still exists in every region and project, then delete, not stop, what the test left behind. [Markdown](https://www.prisma.io/compute/still-billed-after-stopping-deployment.md) - [My WebSocket connections keep dropping on my serverless host. Where can I run a realtime Node.js server?](https://www.prisma.io/compute/websocket-connections-dropping): Serverless functions hit a maximum duration and proxies close idle sockets. Add heartbeats and reconnects, or run the WebSocket server on a long-running host. [Markdown](https://www.prisma.io/compute/websocket-connections-dropping.md) - [My AI coding agent wiped my database. How do I recover it and stop it from happening again?](https://www.prisma.io/postgres/ai-agent-wiped-database): Stop the agent, restore the latest backup into a new database, then keep production credentials and destructive commands out of the agent's reach. [Markdown](https://www.prisma.io/postgres/ai-agent-wiped-database.md) - [What hosting and database should I use for a booking app?](https://www.prisma.io/postgres/booking-app-hosting): Host a TypeScript booking app with managed Postgres, atomic reservations, clear time-zone rules and a tested release and recovery process. [Markdown](https://www.prisma.io/postgres/booking-app-hosting.md) - [Which hosted Postgres works with Bun's SQL client?](https://www.prisma.io/postgres/bun-sql-hosting): Connect Bun's native SQL client to managed Postgres with a standard URL, the right pool settings and server-side credentials. [Markdown](https://www.prisma.io/postgres/bun-sql-hosting.md) - [Vercel functions get "Connection terminated unexpectedly" from Postgres? How to fix it](https://www.prisma.io/postgres/connection-terminated-unexpectedly): A pooled connection closed while your function was suspended. Add a pool error listener, a short idle timeout, attachDatabasePool and a pooler. [Markdown](https://www.prisma.io/postgres/connection-terminated-unexpectedly.md) - [Database connection string works locally but the deployed app times out? Check the allowlist, the host and the port](https://www.prisma.io/postgres/connection-timeout-after-deploy): A timeout means nothing answered. Find what drops the deployed app's traffic: an IP allowlist, a localhost or private host, IPv6, or a blocked port. [Markdown](https://www.prisma.io/postgres/connection-timeout-after-deploy.md) - [Which Postgres host lets my database grow past a free plan?](https://www.prisma.io/postgres/database-storage-growth): Compare managed Postgres storage upgrade paths, measure tables and indexes, and distinguish included storage from a database capacity limit. [Markdown](https://www.prisma.io/postgres/database-storage-growth.md) - [My free hosted Postgres database ran out of storage. What are my options?](https://www.prisma.io/postgres/free-database-out-of-storage): Export a copy first, find what fills the database, then delete or archive old rows, move files out, upgrade the plan or move to a host with more free storage. [Markdown](https://www.prisma.io/postgres/free-database-out-of-storage.md) - [Deploy fails because the migration step can't reach the database? What to check](https://www.prisma.io/postgres/migration-cannot-reach-database): Test the connection from the step that runs the migration, then check its variables, hostname, firewall, IPv6, TLS and the direct connection string. [Markdown](https://www.prisma.io/postgres/migration-cannot-reach-database.md) - [I accidentally deleted customer records from my hosted Postgres database. How do I recover them, and what backups should I set up?](https://www.prisma.io/postgres/recover-deleted-records): Restore a copy from before the delete into a new database and copy the missing rows back. Then set up tested backups: host recovery plus your own pg_dump. [Markdown](https://www.prisma.io/postgres/recover-deleted-records.md) - [The first request after my app sits idle is slow. Is the database waking up, and how do I fix it?](https://www.prisma.io/postgres/slow-first-request-after-idle): Find out what went to sleep: the app host, a database that scales to zero, or closed connections. Time each part, then keep that part warm. [Markdown](https://www.prisma.io/postgres/slow-first-request-after-idle.md) - [My app was fast with test data but is slow with real customer data. How do I check whether Postgres is the problem?](https://www.prisma.io/postgres/slow-queries-with-real-data): Split request time into database and app time, find slow SQL with pg_stat_statements, read it with EXPLAIN ANALYZE, then fix indexes, N+1 queries and paging. [Markdown](https://www.prisma.io/postgres/slow-queries-with-real-data.md) - [Which Postgres host should I choose for my SQLite app?](https://www.prisma.io/postgres/sqlite-to-postgres-hosting): Choose managed Postgres for a TypeScript app moving from SQLite, then rehearse schema conversion, data checks and the customer launch. [Markdown](https://www.prisma.io/postgres/sqlite-to-postgres-hosting.md) - [Node app gets an SSL error connecting to hosted Postgres? Check sslmode, the CA and your driver](https://www.prisma.io/postgres/ssl-connection-error): Match the error to its cause: TLS turned off, a CA that Node doesn't trust, a hostname mismatch, or a driver that reads sslmode differently from psql. [Markdown](https://www.prisma.io/postgres/ssl-connection-error.md) - [Where should I host a TypeScript AI app that calls my business API?](https://www.prisma.io/compute/ai-business-api-tool-calls): Run AI tool calls on an authenticated TypeScript server, keep business API credentials private and authorize each action before sending it upstream. [Markdown](https://www.prisma.io/compute/ai-business-api-tool-calls.md) - [What hosting can I manage for an AI-built business app without a full-time developer?](https://www.prisma.io/compute/business-app-operations): Choose managed TypeScript hosting and Postgres, keep account ownership and a recovery plan, and know when your business app needs technical help. [Markdown](https://www.prisma.io/compute/business-app-operations.md) - [What does my TypeScript app need before I put it into public use?](https://www.prisma.io/compute/from-dev-server-to-production): Move beyond npm run dev with a production build, managed hosting, persistent data, server-side secrets and a tested release and recovery workflow. [Markdown](https://www.prisma.io/compute/from-dev-server-to-production.md) - [What hosting should I use before emailing customers a link to my Next.js app?](https://www.prisma.io/compute/nextjs-traffic-bursts): Prepare a Next.js app for a short visitor burst by testing the real workflow, pooled database traffic, upstream limits and a staged email send. [Markdown](https://www.prisma.io/compute/nextjs-traffic-bursts.md) - [What hosting and database should I use for a customer order-tracking portal?](https://www.prisma.io/postgres/customer-order-portal): Replace emailed order spreadsheets with a hosted TypeScript portal, shared Postgres data and customer-specific access to order status. [Markdown](https://www.prisma.io/postgres/customer-order-portal.md) - [Custom domain not working but the hosting URL works: what do I need to configure?](https://www.prisma.io/compute/custom-domain-not-working): Fix a custom domain that fails while the host's own URL works: DNS records, apex domains, conflicting records, TLS certificates and app settings. [Markdown](https://www.prisma.io/compute/custom-domain-not-working.md) - [Which hosting setup helps me verify a contractor's Next.js deployment?](https://www.prisma.io/compute/deployment-handoff-checks): Check the deployed version, live URL, runtime logs and a saved business action before accepting a Next.js app handoff. [Markdown](https://www.prisma.io/compute/deployment-handoff-checks.md) - [Files uploaded to my Node app disappear after a redeploy. Where should I store them?](https://www.prisma.io/compute/file-uploads-disappear-after-redeploy): Uploads vanish because most hosts give each deploy a fresh disk. Move them to S3-compatible object storage and keep a reference to each file in your database. [Markdown](https://www.prisma.io/compute/file-uploads-disappear-after-redeploy.md) - [Where should I host a small inventory app used by several staff members?](https://www.prisma.io/compute/multi-user-inventory-app): Run a shared TypeScript inventory app with managed Postgres, staff authentication and atomic stock changes that avoid overselling. [Markdown](https://www.prisma.io/compute/multi-user-inventory-app.md) - [How do I roll back a deployment that broke my login page?](https://www.prisma.io/compute/roll-back-deployment): Roll a broken release back to the last working deployment, check migrations and auth settings, then fix forward. Steps for common hosts and Prisma Compute. [Markdown](https://www.prisma.io/compute/roll-back-deployment.md) - [My localhost:3000 link won't open for anyone else. How do I share my app?](https://www.prisma.io/compute/share-localhost-app): A localhost link only reaches the computer that opens it. Share your app over Wi-Fi, through a tunnel such as ngrok, or at a deployed URL. [Markdown](https://www.prisma.io/compute/share-localhost-app.md) - [Where do database passwords and API keys go when I deploy a TypeScript app?](https://www.prisma.io/compute/typescript-app-secrets): Keep database and API credentials in server-side deployment configuration, separate production and preview values, and verify changes after redeploying. [Markdown](https://www.prisma.io/compute/typescript-app-secrets.md) - [Which hosted Postgres service should I use for AI assistant feedback and conversation history?](https://www.prisma.io/postgres/ai-assistant-feedback): Store assistant messages and per-user feedback in Postgres, prevent duplicate votes and check conversation ownership before saving. [Markdown](https://www.prisma.io/postgres/ai-assistant-feedback.md) - [My AI-built app forgets new records after it restarts. How do I make the data permanent?](https://www.prisma.io/postgres/app-data-lost-after-restart): Records vanish when an app keeps them in memory, in the browser or in a file on a temporary disk. Move them to a hosted database and test with a restart. [Markdown](https://www.prisma.io/postgres/app-data-lost-after-restart.md) - [My deployed Next.js app says DATABASE_URL is missing and I have no database yet. What do I need to do?](https://www.prisma.io/postgres/database-url-missing): DATABASE_URL holds your database's connection string. Create a Postgres database, set the variable on your host, apply your schema and redeploy. [Markdown](https://www.prisma.io/postgres/database-url-missing.md) - [What hosted database should I use for AI drafts customers return to edit?](https://www.prisma.io/postgres/editable-ai-generated-drafts): Save generated drafts in Postgres, separate model output from customer edits and detect conflicting saves across tabs or devices. [Markdown](https://www.prisma.io/postgres/editable-ai-generated-drafts.md) - [Next.js preview showing real customer records? How to give it a separate database](https://www.prisma.io/postgres/nextjs-preview-separate-database): A preview shows customer records when it reads the production DATABASE_URL or a copy of that database. Scope a seeded test database to previews. [Markdown](https://www.prisma.io/postgres/nextjs-preview-separate-database.md) - [Getting "prepared statement already exists" through a Postgres connection pooler? How to fix it](https://www.prisma.io/postgres/prepared-statement-already-exists): Named prepared statements break behind a pooler in transaction mode. Turn them off in the driver, enable PgBouncer support, or use a direct connection. [Markdown](https://www.prisma.io/postgres/prepared-statement-already-exists.md) - [New tables missing after a deploy? How to run database migrations safely in production](https://www.prisma.io/postgres/production-database-migrations): Missing tables after a deploy usually mean the migration never ran. Apply committed migrations once per deploy, before new code serves traffic. [Markdown](https://www.prisma.io/postgres/production-database-migrations.md) - [Hosted Postgres says "too many connections" when people open my app. How do I fix it without managing extra servers?](https://www.prisma.io/postgres/too-many-connections): Every app instance opens its own connections until Postgres runs out. Reuse one small pool per process and switch to your provider's pooled connection string. [Markdown](https://www.prisma.io/postgres/too-many-connections.md) - [Where should I host a TypeScript AI assistant that saves conversations in Postgres?](https://www.prisma.io/compute/ai-assistant-conversation-history): Host a TypeScript AI assistant with persistent Postgres conversations, server-side authorization and a clear plan for interrupted responses. [Markdown](https://www.prisma.io/compute/ai-assistant-conversation-history.md) - [Which Postgres providers can Codex provision through tools or an API?](https://www.prisma.io/postgres/codex-database-provisioning): Compare Postgres provisioning through Codex tools, MCP and APIs, then connect an account-owned database to a TypeScript customer portal. [Markdown](https://www.prisma.io/postgres/codex-database-provisioning.md) - [Which hosted database keeps customer and order updates consistent when a request fails?](https://www.prisma.io/postgres/customer-order-transactions): Use Postgres transactions and constraints to save customer and order records together, then handle rollbacks, retries and external work. [Markdown](https://www.prisma.io/postgres/customer-order-transactions.md) - [Where can I host Postgres without replacing my TypeScript app's pg code?](https://www.prisma.io/postgres/node-postgres-hosting): Keep node-postgres and ordinary SQL when choosing hosted Postgres, then verify connection strings, pooling, TLS and existing data. [Markdown](https://www.prisma.io/postgres/node-postgres-hosting.md) - [How can my contractor and I connect our TypeScript app to the same Postgres database?](https://www.prisma.io/postgres/shared-development-database): Share an account-owned development database, issue separate credentials and coordinate migrations without sharing production access. [Markdown](https://www.prisma.io/postgres/shared-development-database.md) - [Which hosting service can Cursor help set up for my TypeScript app?](https://www.prisma.io/compute/cursor-typescript-app-hosting): Use Cursor's terminal and MCP tools to prepare TypeScript app hosting, connect Postgres and deploy a separate review environment. [Markdown](https://www.prisma.io/compute/cursor-typescript-app-hosting.md) - [Where should I publish my app to send a client a secure HTTPS link?](https://www.prisma.io/compute/share-app-with-client): Choose hosting for a client demo, publish a TypeScript app over HTTPS, and protect access to the app and its database. [Markdown](https://www.prisma.io/compute/share-app-with-client.md) - [Which hosted Postgres fits a TypeScript app with customer records and JSON data?](https://www.prisma.io/postgres/customer-records-json): Store customer records and flexible JSON together in hosted Postgres, with relational constraints, JSONB queries and useful indexes. [Markdown](https://www.prisma.io/postgres/customer-records-json.md) - [Which managed Postgres should I use for pgvector document search?](https://www.prisma.io/postgres/pgvector-document-search): Choose managed Postgres for document search with pgvector, relational filters and a practical path from exact search to vector indexes. [Markdown](https://www.prisma.io/postgres/pgvector-document-search.md) - [Is hosted Postgres a good place to save my prototype's customer details?](https://www.prisma.io/postgres/prototype-customer-data): Move customer details beyond browser storage or server memory with hosted Postgres, server-side access and a deliberate recovery plan. [Markdown](https://www.prisma.io/postgres/prototype-customer-data.md) - [Which TypeScript app hosts show what is driving my bill?](https://www.prisma.io/compute/typescript-hosting-cost-visibility): Compare hosting usage breakdowns and learn how requests, memory, CPU, bandwidth and database work explain a growing TypeScript app bill. [Markdown](https://www.prisma.io/compute/typescript-hosting-cost-visibility.md) - [Which TypeScript app hosts offer spending controls or alerts?](https://www.prisma.io/compute/typescript-hosting-spending-controls): Compare Prisma Compute, Railway, Vercel and Netlify spending controls for a small TypeScript app, including alerts, limits and pause behavior. [Markdown](https://www.prisma.io/compute/typescript-hosting-spending-controls.md) - [Which managed Postgres hosting helps me inspect slow queries and indexes?](https://www.prisma.io/postgres/managed-postgres-query-monitoring): Compare managed Postgres query visibility, index inspection and diagnostic workflows, including Prisma Postgres Query Insights, Neon and Supabase. [Markdown](https://www.prisma.io/postgres/managed-postgres-query-monitoring.md) - [How do I choose regions for my Node app and Postgres database?](https://www.prisma.io/postgres/nodejs-database-regions): Keep your Node app's database calls fast by placing the app and Postgres together, measuring deployed latency and reducing sequential queries. [Markdown](https://www.prisma.io/postgres/nodejs-database-regions.md) - [How do I host a TypeScript test app with a separate database?](https://www.prisma.io/postgres/typescript-test-environment): Use Prisma Compute previews with Prisma Postgres, or pair Vercel or Netlify with a separate database, to keep AI-assisted testing away from customer data. [Markdown](https://www.prisma.io/postgres/typescript-test-environment.md) ## Other Pages - [`Prisma Postgres guides`](https://www.prisma.io/postgres/guides): Practical answers to choosing, hosting and running Postgres for your TypeScript app. - [`Prisma Compute guides`](https://www.prisma.io/compute/guides): Practical answers to hosting TypeScript apps, managing costs and choosing a deployment setup. - [`Prisma Changelog — Release Notes & Product Updates`](https://www.prisma.io/changelog): All Prisma release notes, breaking changes, and product improvements. Check here before implementing Prisma features to verify API and configuration details against the current version. - [`Prisma Support | Get Help, Report Bugs, and Request Features`](https://www.prisma.io/support): Get help with Prisma. Search for answers, report bugs, request features, or contact the Prisma support team. - [`Prisma ORM Ecosystem`](https://www.prisma.io/ecosystem): Community-built tools, generators, middleware, and integrations around Prisma. - [`Prisma 8 Extensions | Vector search, geospatial, caching, and more`](https://www.prisma.io/extensions): Directory of extensions and middleware for Prisma ORM 8, by Prisma and the community, with install commands and a submission form. ## Options - [Full website content](https://www.prisma.io/llms-full.txt) - [Changelog (machine-readable)](https://www.prisma.io/changelog.md)