Skip to content
Cloudflare Docs

Limits

The following limits apply to Hyperdrive configuration, connections, and queries made to your configured origin databases.

FeatureFreePaid
Maximum configured databases10 per account25 per account
Initial connection timeout15 seconds15 seconds
Idle connection timeout10 minutes10 minutes
Maximum cached query response size50 MB50 MB
Maximum query (statement) duration60 seconds60 seconds
Maximum username length 163 characters (bytes)63 characters (bytes)
Maximum database name length 163 characters (bytes)63 characters (bytes)
Maximum potential origin database connections 2approx. ~20 connectionsapprox. ~100 connections

Footnotes

  1. This is a limit enforced by PostgreSQL. Some database providers may enforce smaller limits. 2

  2. Hyperdrive is a distributed system, so it is possible for a client to be unable to reach an existing pool. In this scenario, a new pool will be established, with its own allocation of connections. This favors availability over strictly enforcing limits, but does mean that it is possible in edge cases to overshoot the normal connection limit.