Catalog / Skills

Django Query Profiling

Find the Django ORM code and request path responsible for slow SQL by using APM traces, slow query logs, Django Debug Toolbar, query logging, and local reproduction. Use when a Django database performance issue is suspected but the exact queryset, view, serializer, template, or job causing it is not yet proven.

Djangov0.1.0MITdjangodatabaseprofilingapmdebug-toolbar

Install

npx skills add LVTD-LLC/skills --skill django-query-profiling

From `SKILL.md`

Use this skill to turn a vague slow-Django report into a specific queryset, SQL statement, and reproducible scenario.