# Prisma Accelerate (/docs/accelerate)

Location: Prisma Accelerate

[Prisma Accelerate](https://www.prisma.io/accelerate) is a managed connection pool and global cache for your database. It works with Prisma ORM and supports PostgreSQL, MySQL, MongoDB, and more.

Prisma ORM supports connection pooling and query caching through Accelerate — you don't need a separate pooler or caching layer. Accelerate is included with [Prisma Postgres](/postgres) and also available as a standalone add-on for external databases.

**Connection pooling.** Accelerate manages a global connection pool across 15+ regions. This matters most in serverless and edge environments, where connection exhaustion is a real failure mode. Prisma ORM routes through the pool automatically once you swap in the Accelerate connection string.

**Query caching.** Add a `cacheStrategy` to any Prisma ORM query to cache results at the edge using TTL or stale-while-revalidate. Results are served from 300+ cache locations. No Redis, no Memcached, no separate service.

```typescript title="src/lib/posts.ts"
const posts = await prisma.post.findMany({
  cacheStrategy: { ttl: 60, swr: 10 }, // serve from cache for 60s (TTL); after TTL expires, serve stale for up to 10s while revalidating in the background (SWR)
})
```

Supported databases [#supported-databases]

Accelerate works with the database you already have, whether it is publicly accessible, or via an IP allowlist.

* PostgreSQL
* MySQL
* MariaDB
* PlanetScale
* CockroachDB
* MongoDB

Getting started [#getting-started]

* [Getting started](/accelerate/getting-started) - Learn how to get up and running with Prisma Accelerate
* [Local development](/accelerate/local-development) - Learn how to use Prisma Accelerate in a development environment
* [Examples](/accelerate/examples) - Check out ready-to-run examples for Prisma Accelerate

## Related pages

- [`Build faster with Prisma + AI`](https://www.prisma.io/docs/ai): Build faster with Prisma and AI coding tools like Cursor and ChatGPT
- [`Choose a setup path`](https://www.prisma.io/docs/getting-started): Choose the fastest path to start using Prisma ORM or Prisma Postgres in a new or existing project.
- [`CLI Overview`](https://www.prisma.io/docs/cli): The Prisma CLI is the command-line interface for Prisma ORM. Use it to initialize projects, generate Prisma Client, manage databases, run migrations, and more
- [`Console`](https://www.prisma.io/docs/console): Learn how to use the Console to manage and integrate Prisma products into your application.
- [`Guides`](https://www.prisma.io/docs/guides): A collection of guides for various tasks and workflows