D1 has the insights command in wrangler: https://developers.cloudflare.com/d1/observability/metrics-
D1 has the insights command in wrangler: https://developers.cloudflare.com/d1/observability/metrics-analytics/#query-insights, which can show the most executed queries, slowest, reading the most rows/writing the most rows, etc
Cloudflare Docs
D1 exposes database analytics that allow you to inspect query volume, query latency, and storage size across all and/or each database in your account.





