billflare.

Database indexes · Content tag

Browse cases and guides discussing database indexes.

6 matching items

Cases · 3

D1

D1 row reads: a $134.14 invoice from unindexed queries.

Justin Ahinon reports that his April 21, 2026 Cloudflare invoice was $134.14, with $127.60 from 127,599,130,859 D1 row reads on a 765,000-row database. He attributes it to full table scans in queries that ran on every page load.

Reported amount · USD

$134.14

Reported cause: Read volumefullstacksveltekit.com
First reported: Latest update:

Guides · 3

GuideD1Workers

Watch D1’s daily row quotas while testing

Michal Raczka (@michalraczka) warns that D1’s daily row read and write quotas can stop all D1 queries until midnight UTC, notes that indexes trade reads for extra writes, and moves heavy tests to local Miniflare.