Limits
The following limits apply to Hyperdrive configuration, connections, and queries made to your configured origin databases.
Feature | Limit |
---|---|
Maximum configured databases | 25 per account |
Initial connection timeout | 15 seconds |
Idle connection timeout | 10 minutes |
Maximum cached query response size | 50 MB |
Maximum query (statement) duration | 60 seconds |
Maximum username length | 63 characters (bytes) 1 |
Maximum database name length | 63 characters (bytes) 1 |
Maximum potential origin database connections | approx. ~100 connections 2 |
-
This is a limit enforced by PostgreSQL. Some database providers may enforce smaller limits. ↩ ↩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. ↩