You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/hyperdrive/reference/faq.mdx
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,18 @@ Hyperdrive connects to your database using [Cloudflare's IP address ranges](http
15
15
16
16
You can use this to configure restrictions in your database firewall to restrict the IP addresses that can access your database.
17
17
18
+
### Does Hyperdrive support connecting to D1 databases?
19
+
20
+
Hyperdrive does not support [D1](/d1) because D1 provides fast connectivity from Workers by design.
21
+
22
+
Hyperdrive is designed to speed up connectivity to traditional, regional SQL databases.
23
+
Unlike D1, creating a secure database connection to a traditional SQL database
24
+
involves multiple round trips between the client (your Worker) and your database server.
25
+
See [How Hyperdrive works](/hyperdrive/configuration/how-hyperdrive-works/) for more detail on why round trips are needed
26
+
and how Hyperdrive solves this.
27
+
28
+
D1 does not require round trips to create database connections. D1 is designed to be performant for access from Workers by default, without needing Hyperdrive.
29
+
18
30
## Pricing
19
31
20
32
### Does Hyperdrive charge for data transfer / egress?
0 commit comments