Database Clusters
Fully managed Postgres databases that scale automatically and belong to a project.
A database cluster is a fully managed Postgres database that belongs to one of your projects. Phemeral provisions the database, keeps it patched, and scales its compute up and down with your traffic.
Managed Postgres is available on the Pro plan.
What a Database Cluster Contains
Each cluster is an independent Postgres database with:
- A database and a role that owns it.
- A pooled connection URI your application uses to connect (recommended for most uses), plus a direct connection URI available when you need it.
- Its own compute, which scales independently of every other cluster.
Clusters and Projects
Database clusters are created inside a project, alongside that project's environments and deployments. A project can hold up to 20 database clusters.
Because clusters are associated to a project, they are deployed geographically close to that project's compute, reducing latency between your application and its database.
Automatic Scaling
Clusters scale their compute automatically as load changes.
- Compute scales between 0.25 and 8 vCPU, with 1 GB to 32 GB of RAM, rising and falling with your traffic.
- When a cluster receives no traffic for 5 minutes, it scales to zero. While a cluster is scaled to zero, it incurs no compute charge.
- A cluster that has scaled to zero scales back up within a few hundred milliseconds the next time it is accessed, so the first query after an idle period transparently wakes it.
Connection Pooling
Every cluster is fronted by a connection pooler.
A single cluster supports up to 10,000 concurrent connections through the pooler. The pooled connection URI is the default and is what you should use for most applications. A direct connection URI is also available for cases where you need to bypass the pooler, such as administrative tools or long-running sessions.
See the FAQ for guidance on configuring your application's database client for an environment where processes may be recycled between requests.
Extensions
Support for Postgres extensions is coming soon. Today, clusters run a standard Postgres 18 configuration.
More
For step-by-step instructions, see Create and Connect to a Database Cluster.
For more, see the Managed Postgres reference.