Skip to content
6 changes: 5 additions & 1 deletion src/content/docs/d1/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ Create new serverless SQL databases to query from your Workers and Pages project

<Plan type="workers-all" />

D1 is Cloudflare’s native serverless database. D1 allows you to build applications that handle large amounts of users at no extra cost. With D1, you can restore your database to any minute within the last 30 days.
D1 is Cloudflare's native serverless database. D1 allows you to build applications that handle large amounts of users at no extra cost. With D1, you can restore your database to any minute within the last 30 days.

D1 is Cloudflare's managed, serverless database with SQLite's SQL semantics, built-in disaster recovery, and Worker & HTTP API access.

D1 is designed for horizontal scale out across multiple, smaller (10 GB) databases, such as per-user, per-tenant or per-entity databases. D1 allows you to build applications with thousands of databases at no extra cost for isolating with multiple databases; D1 pricing is based only on query and storage costs.

Create your first D1 database by [following the Get started guide](/d1/get-started/), learn how to [import data into a database](/d1/build-with-d1/import-export-data/), and how to [interact with your database](/d1/build-with-d1/d1-client-api/) directly from [Workers](/workers/) or [Pages](/pages/functions/bindings/#d1-databases).

Expand Down
22 changes: 21 additions & 1 deletion src/content/docs/d1/platform/limits.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,24 @@ Limits for individual queries (listed above) apply to each individual statement

Cloudflare also offers other storage solutions such as [Workers KV](/kv/api/), [Durable Objects](/durable-objects/), and [R2](/r2/get-started/). Each product has different advantages and limits. Refer to [Choose a data or storage product](/workers/platform/storage-options/) to review which storage option is right for your use case.

<Render file="limits_increase" product="workers" />
<Render file="limits_increase" product="workers" />

## Frequently Asked Questions

Frequently asked questions related to D1 limits:

### How much data can I store in a D1 database?

- With a free plan, each D1 database can store up to 500 MB of data.
- With a Workers Paid plan, each D1 database can store up to 10 GB of data.

However, D1 is designed for horizontal scale out across multiple, smaller databases, such as per-user, per-tenant or per-entity databases. You can create thousands of D1 databases at no extra cost - D1 pricing is based only on query and storage costs.

:::caution
Note that the 10 GB limit of a D1 database cannot be further increased.
:::

### How many D1 databases can I create?

- With a free plan, you can create up to 10 D1 databases.
- With a Workers Paid plan, you can create up to 50,000 databases.
Loading