Prisma Accelerate retires December 1
Two greps tell you how much work you have before Prisma retires Accelerate and its query caching.
Published here , tested on grep on a test project with fake keys · 3 sources · Resume reading
If your app talks to its database through Prisma Accelerate, Prisma retires that service on December 1, 2026. Two searches tell you how much work it is.
Find every Accelerate connection
Search the whole repo, not only .env files [1]:
grep -rn --exclude-dir=node_modules "accelerate.prisma-data.net" .The host matches both URL styles: prisma+postgres:// and prisma://. In my test project, it found the URL in two env files and in the CI workflow. Searching .env* alone missed the CI one.
You should see every file that contains an Accelerate connection string.
Find every cached query
Search for queries using cacheStrategy [1]:
grep -rn --exclude-dir=node_modules "cacheStrategy" .Prisma's changelog says the query caching has no replacement [1]. Remove cacheStrategy from your queries before you switch. Those reads will no longer be cached, so expect more database load. Check your busiest one first and estimate how often it runs.
You should see every query that will lose its cache.
Switch the connection
Your path depends on your current setup [2][3]:
Prisma Postgres through Accelerate: Move to the pooled connection or the serverless driver. Only the connection changes. Your database, data and plan stay as they are.
Accelerate in front of your own database: Remove it and connect directly, or move a PostgreSQL database to Prisma Postgres.
The Transition tab on the Accelerate page in the Prisma Console links the guide for your database.
After the switch
Watch database CPU and connection count for a few days. Queries that were cached now hit the database directly.
In my test (Nov 7, throwaway folder, fake key): the host grep found 3 hits (.env, .env.production, the CI file). The cacheStrategy grep found 2 queries. A clean project returned nothing.
Local prisma+postgres://localhost URLs are not affected.
Send this to the teammate whose app connects through Prisma Accelerate before December 1.
Keep this guide
Filed under Dev tools
Questions about this guide
What happens to the query cache?
Prisma's changelog says the query caching has no replacement. Remove cacheStrategy from your queries before you switch.
Are local connections affected?
No. Local prisma+postgres://localhost URLs are not affected.
Sources
- Prisma docs: connection URLsprisma.io
- Prisma docs: serverless driverprisma.io