Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 5 additions & 11 deletions src/content/docs/hyperdrive/platform/limits.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,23 @@ The following limits apply to Hyperdrive configuration, connections, and queries
| Idle connection timeout | 10 minutes |
| Maximum cached query response size | 50 MB |
| Maximum query (statement) duration | 60 seconds |
| Maximum username length | 63 characters (bytes) <sup>1</sup> |
| Maximum database name length | 63 characters (bytes) <sup>1</sup> |
| Maximum username length | 63 characters (bytes) [^1] |
| Maximum database name length | 63 characters (bytes) [^1] |
| Maximum origin database connections per region | 10-20 |
| Maximum potential origin database connections | 10 \* number of regions serving traffic (approx. \~80 - 100 connections) <sup>2</sup> |
| Maximum potential origin database connections | 10 \* number of regions serving traffic (approx. \~80 - 100 connections) [^2] |

:::note


Hyperdrive does not have a hard limit on the number of concurrent *client* connections made from your Workers.

As many hosted databases have limits on the number of unique connections they can manage, Hyperdrive attempts to keep number of concurrent pooled connections to your origin database lower.


:::

<sup>1</sup> This is a limit enforced by PostgreSQL. Some database providers may enforce smaller limits.
[^1]: This is a limit enforced by PostgreSQL. Some database providers may enforce smaller limits.

<sup>2</sup> Hyperdrive maintains semi-regional connection pools to balance between latency, reliability and overall load on your origin database.
[^2]: Hyperdrive maintains semi-regional connection pools to balance between latency, reliability and overall load on your origin database.

:::note


You can request adjustments to limits that conflict with your project goals by contacting Cloudflare. Not all limits can be increased. To request an increase, submit a [Limit Increase Request](https://forms.gle/ukpeZVLWLnKeixDu7) and we will contact you with next steps.


:::
20 changes: 3 additions & 17 deletions src/content/docs/hyperdrive/platform/pricing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,8 @@ sidebar:

Hyperdrive is automatically enabled when subscribed to a Workers Paid plan, and does not require you to pay any additional fees to use. Hyperdrive's [connection pooling and query caching](/hyperdrive/configuration/how-hyperdrive-works/) do not incur any additional charges, and there are no hidden limits other than those [published](/hyperdrive/platform/limits/).

## Frequently Asked Questions
:::note

Frequently asked questions related to Hyperdrive pricing:
For questions about pricing, refer to the [pricing FAQs](/hyperdrive/reference/faq/#pricing).

* Does Hyperdrive charge for data transfer / egress?

No.

* Is Hyperdrive available on the [Workers Free](/workers/platform/pricing/#workers) plan?

Not at this time.

* Are there any limits to Hyperdrive?

Refer to the published [limits](/hyperdrive/platform/limits/) documentation.

* Does Hyperdrive charge for additional compute?

Hyperdrive itself does not charge for compute (CPU) or processing (wall clock) time. Workers querying Hyperdrive and computing results: for example, serializing results into JSON and/or issuing queries, are billed per [Workers pricing](/workers/platform/pricing/#workers).
:::
30 changes: 30 additions & 0 deletions src/content/docs/hyperdrive/reference/faq.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
pcx_content_type: concept
title: FAQ
sidebar:
order: 10

---

Below you will find answers to our most commonly asked questions regarding Hyperdrive.

## Pricing

### Does Hyperdrive charge for data transfer / egress?

No.

### Is Hyperdrive available on the [Workers Free](/workers/platform/pricing/#workers) plan?

Not at this time.

### Does Hyperdrive charge for additional compute?

Hyperdrive itself does not charge for compute (CPU) or processing (wall clock) time. Workers querying Hyperdrive and computing results: for example, serializing results into JSON and/or issuing queries, are billed per [Workers pricing](/workers/platform/pricing/#workers).

## Limits

### Are there any limits to Hyperdrive?

Refer to the published [limits](/hyperdrive/platform/limits/) documentation.

Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ pcx_content_type: navigation
title: Wrangler commands
external_link: /workers/wrangler/commands/#hyperdrive
sidebar:
order: 10
order: 12

---
Loading