FOMO Daily
Feed
AWS Databases·

Use query statistics to find slow and expensive queries in Aurora DSQL

DatabasesAurora DSQLQuery OptimizationSQLIndexing

TL;DR

Aurora DSQL’s new query statistics reveal which SQL statements are slow and costly by recording execution time, rows scanned, and database resource consumption for every completed statement. The walkthrough uses CloudWatch Database Insights and PromQL to trace a slow order-history page to a missing index: each request scans roughly 5 million rows to return just 20, taking about 12 seconds and consuming 656 DPUs.

Relevant links

Sign in to save links
Read the original post Sign in to mark as read or skip