Skip to content

Limits

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

FeatureLimit
Maximum configured databases25 per account
Initial connection timeout15 seconds
Idle connection timeout10 minutes
Maximum cached query response size50 MB
Maximum query (statement) duration60 seconds
Maximum username length63 characters (bytes) 1
Maximum database name length63 characters (bytes) 1
Maximum potential origin database connectionsapprox. ~100 connections 2

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.