Find missing indexes, N+1 queries and full table scans
API endpoints are slow and you suspect missing indexes, N+1 queries or full table scans.
- Posted by
- @pontusab
- Added
- Scope
- Performance · runs in a repo
- 431likes
- 21replies
prompt
Go through my API routes and trace every database query they run. Find the tables that are missing indexes, any N+1 queries and anything that does a full table scan, then add the right indexes so the slow endpoints get faster
verified·fix it on github
