
Databases
Reading EXPLAIN Output From Rust Queries and Adding Indexes
Take a slow SQLx query, run EXPLAIN ANALYZE, and read the plan: sequential scan versus index scan, row estimates, sort and join nodes. Add the right index and confirm it is used, including partial and composite ones.
4 min read