Skip to content
Back to feed

November 25, 2026 · Cloudflare

D1 Insights index recommendations

What changed

D1 Insights index recommendations: Suggests indexes with CREATE INDEX statements, affected queries and usage metrics; toggle in dashboard, CLI or API.

D1 Insights now recommends indexes for your D1 databases. Each recommendation includes a CREATE INDEX statement, the queries it is expected to speed up, and usage metrics for those queries.

You can turn recommendations on or off in the dashboard, with the Cloudflare CLI, or with the API.

Review recommendations on the Metrics tab of a database in the dashboard, or list them with the Cloudflare CLI:

npx cf@latest d1 insights recommendations

For more information, refer to Index recommendations.

Get the week’s Cloudflare changes in one email

Free, every Monday: only what changed in Cloudflare that week. We email you a link to confirm.

See last week’s digest

Free. Unsubscribe any time.

All D1 changes