Skip to content

Commit 4ff4e7e

Browse files
elithrarthomasgauvin
authored andcommitted
d1: fix footnote for limits (#24158)
1 parent a53d963 commit 4ff4e7e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/content/docs/d1/platform/limits.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { Render, Details } from "~/components";
1010

1111
| Feature | Limit |
1212
| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------- |
13-
| Databases | 50,000 (Workers Paid)[^1] / 10 (Free) |
13+
| Databases | 50,000 (Workers Paid)[^0] / 10 (Free) |
1414
| Maximum database size | 10 GB (Workers Paid) / 500 MB (Free) |
1515
| Maximum storage per account | 1 TB (Workers Paid)[^1] / 5 GB (Free) |
1616
| [Time Travel](/d1/reference/time-travel/) duration (point-in-time recovery) | 30 days (Workers Paid) / 7 days (Free) |
@@ -31,6 +31,7 @@ import { Render, Details } from "~/components";
3131
Limits for individual queries (listed above) apply to each individual statement contained within a batch statement. For example, the maximum SQL statement length of 100 KB applies to each statement inside a `db.batch()`.
3232
:::
3333

34+
[^0]: The maximum number of databases per account can be increased by request on Workers Paid and Enterprise plans, with support for millions to tens-of-millions of databases (or more) per account. See the guidance on limit increases on this page to request an increase.
3435
[^1]: The maximum storage per account can be increased by request on Workers Paid and Enterprise plans. See the guidance on limit increases on this page to request an increase.
3536
[^2]: A single Worker script can have up to 1 MB of script metadata. A binding is defined as a binding to a resource, such as a D1 database, KV namespace, [environmental variable](/workers/configuration/environment-variables/), or secret. Each resource binding is approximately 150-bytes, however environmental variables and secrets are controlled by the size of the value you provide. Excluding environmental variables, you can bind up to \~5,000 D1 databases to a single Worker script.
3637
[^3]: Requests to Cloudflare API must resolve in 30 seconds. Therefore, this duration limit also applies to the entire batch call.
@@ -54,4 +55,4 @@ Cloudflare also offers other storage solutions such as [Workers KV](/kv/api/), [
5455

5556
Frequently asked questions related to D1 limits:
5657

57-
<Render file="faq-limits" product="d1"/>
58+
<Render file="faq-limits" product="d1"/>

0 commit comments

Comments
 (0)