billflare.

Moving a blog to EmDash on the D1 free tier: row reads ran out and the author rolled back twice

tozai (@ccietry_tozai) tried moving a WordPress blog with about 800 daily unique visitors and 7,000 page views to EmDash on Cloudflare, exceeded D1’s 5 million daily rows-read free limit, and went back to WordPress rather than move to a paid plan without a hard cap.

Products
D1Workers
Source
Author experienceCCIE TOZAI blog (ccie-go.com)
Author
tozai (@ccietry_tozai)

Key points

  • The author reports about 1.1 million D1 rows read (22% of the free limit) on a normal day before the migration. During migration work it reached 107–123% of the 5 million daily limit, and on October 14 it peaked at 10,167,276 rows (203%).
  • He rolled back twice. On October 13 he rolled back at 17:40 JST with 90% of the day’s limit used, because the next reset (09:00 JST) was more than 15 hours away; on October 14 he rolled back at 19:44 after actually exceeding it. On October 13 the 13:00 hour alone, which he marks as heavy bot traffic, read 1.67 million rows.
  • Mitigations he applied: edge cache lifetimes extended from 5 minutes to 1 hour to 1 day, caching for image delivery, precomputed reading times for post listings, unnecessary aggregation queries disabled, WAF rules for scanned paths such as .env, Bot Fight Mode and regional rate limiting. He writes that reads still did not fit and that he never fully pinned down the cause.
  • He warns that changing cache settings, redeploying or purging clears the cache, after which every request lands on the database at once; his measurements show 1,620,396, 3,581,449 and 1,133,884 rows read at 19:00, 19:15 and 19:30.
  • He did not switch to Workers Paid because, as he puts it, $5 is a minimum charge rather than a plan price, and the paid plan has alerts but no hard stop. His conclusion is not to migrate to the free tier with more than 500 daily unique visitors; he has paused the migration and says he would revisit it if Cloudflare’s planned hard spending cap ships.
  • Official docs (rechecked 2026-10-15): on Workers Free, D1 includes 5 million rows read and 100,000 rows written per day, reset at 00:00 UTC; once the account hits a daily limit, D1 queries return errors, and upgrading to Workers Paid removes the limits, typically within minutes. Workers Paid includes 25 billion rows read per month, then $0.001 per million. Budget alerts are informational and do not pause or cap usage.

Original sources

  1. Published

    Why I Gave Up Migrating My Blog to Cloudflare

    Open original source

    tozai (@ccietry_tozai) tried moving a WordPress blog with about 800 daily unique visitors and 7,000 page views to EmDash on Cloudflare, exceeded D1’s 5 million daily rows-read free limit, and went back to WordPress rather than move to a paid plan without a hard cap.

    Read originalArchived

    This archive does not contain the complete text.

    Why I Gave Up Migrating My Blog to Cloudflare

    The reason is simple: I exceeded the free tier’s daily database read limit.
  2. The author’s 𝕏 article version: rolled back from EmDash after free-tier D1 exceeded the 5 million daily row-read limit (peak 10.1 million) on about 800 unique visitors and 7,000 page views, even with caching and bot mitigation; cache purges made it worse. He writes that the free tier fails safely and the paid plan, with alerts but no hard cap, does not.

    Read on 𝕏

    tozai

    @ccietry_tozai · Original 𝕏 post

    https://t.co/IuQQRAVw6o
    Read originalArchived

    tozai · @ccietry_tozai

    Why I Gave Up Migrating My Blog to Cloudflare

    A lot of people are saying you can migrate your blog to Cloudflare EmDash for free and that leaving WordPress is the smarter move. I’m deliberately sharing a caution based on real measurements. ⚠️ Rolled back from EmDash. Free-tier D1 exceeded the 5M daily row-read limit (peaked at 10.1M) on ~800 uniques / 7k PVs, even with caching and bot mitigation. Cache purges made it worse. Paid plan has no hard spending cap — alerts don’t stop charges. For a personal site, that risk is unacceptable. Uncapped usage means one bug or crawler spike can generate a multi-thousand-dollar bill while you’re asleep. Free tier fails safely. Paid does not. Details: https://ccie-go.com/cloudflare-emdash-migration-giveup-en/
  3. Reply: having no billing cap is frightening because admins cannot fully control D1 reads, so a burst of bot traffic could bring a bill of hundreds of thousands of yen; he went back to WordPress on a VPC until caps exist.

    Read on 𝕏

    tozai

    @ccietry_tozai · Original 𝕏 post

    @tsubasatwi 課金の上限設定がないのは本当に怖い。 特にD1の読み込みは管理者が完全コントロールできるものではないので、例えばBotが何かの拍子に大量アクセスしてきただけでウン十万円の請求が発生する可能性もある だから私は上限設定が実装されるまではVPCのWordpressに戻しました。 https://t.co/gnMwOCxj2N
Official docsWorkers +3

Activate Workers Paid, R2, and Zero Trust subscriptions from the Cloudflare CLI or MCP

On 2026-11-25 Cloudflare announced that accounts can activate subscriptions, including Workers Paid, R2, and Zero Trust, from the Cloudflare CLI (cf) or Cloudflare MCP servers, without switching to the dashboard. The changelog says this requires cf 1.0.0-rc.5 or later, a fresh cf auth login so the session receives updated OAuth scopes, a verified email address, and an existing billing profile with a payment method on file. MCP clients that support elicitation show the plan price and ask permission before activating; clients that do not are directed to the dashboard.

Other

hezhiqianye: a credit-card bill of 675 yuan traced to a $101 Cloudflare invoice, $62 of it KV Storage for 125 GB.

X user @hezhiqianye says in an X article that a Cloudflare credit-card bill of 675 yuan came as a shock, that the Cloudflare invoice showed a $101 charge without a breakdown, and that the usage details showed KV Storage alone at $62 because 125 GB was stored in KV; the author had used KV for SnapVee incremental updates deployed via GitHub Actions to avoid 429 errors and now thinks R2 would fit better. The article also urges readers to turn off Workers Observability, which it says will be charged from 12.01, and to review all paid items.

Author experienceWorkers +1

Ru Bite: In Spend Management, turn on Block usage under Billing → Spend limits; limits reset on the subscription billing period, the notification email must be filled in separately, and after Durable Objects are paused storage fees may still continue

On 2026-11-19, X user @JustLikeBit (Ru Bite) wrote a set of notes on metered cloud services having their free quota burned through by bots, and on Cloudflare Spend Management. The author says the entry point is Billing → Spend limits: select Workers or Durable Objects, set a limit, and turn on Block usage; once the limit is hit, supported operations are blocked automatically, and it does not rely only on email alerts. A follow-up adds: limits reset on the subscription billing period, not necessarily on the 1st of each month—for example, if the renewal date is the 15th, counting starts from the 15th; to receive emails at the 80% and 100% thresholds, notification_email must also be configured separately, and setting a limit does not fill in the notification email automatically; after Durable Objects are paused, storage fees for existing data may still continue. The author attached a link to the official documentation. These are the author's restatement of official capabilities and operational reminders, not an actual bill.