Skip to content

Limits

FeatureLimit
Databases50,000 (Workers Paid) / 10 (Free)
Maximum database size10 GB (Workers Paid) / 500 MB (Free)
Maximum storage per account250 GB (Workers Paid) / 5 GB (Free)
Time Travel duration (point-in-time recovery)30 days (Workers Paid) / 7 days (Free)
Maximum Time Travel restore operations10 restores per 10 minute (per database)
Queries per Worker invocation (read subrequest limits)50 (Bundled) / 1000 (Unbound)
Maximum number of columns per table100
Maximum number of rows per tableUnlimited (excluding per-database storage limits)
Maximum string, BLOB or table row size1,000,000 bytes (1 MB)
Maximum SQL statement length100,000 bytes (100 KB)
Maximum bound parameters per query100
Maximum arguments per SQL function32
Maximum characters (bytes) in a LIKE or GLOB pattern50 bytes
Maximum bindings per Workers scriptApproximately 5,000
Maximum SQL query duration30 seconds
Maximum file import (d1 execute) size5 GiB

Cloudflare also offers other storage solutions such as Workers KV, Durable Objects, and R2. Each product has different advantages and limits. Refer to Choose a data or storage product to review which storage option is right for your use case.