CF-Changes D1 - D1 Insights index recommendations

Cloudflare Reporting - Product Changelog

ENF News Bot

Automated News Bot
Joined
Apr 15, 2022
Messages
4,544
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.

Continue reading...
 
Back
Top