Skip to content

Instantly share code, notes, and snippets.

@brunomichetti
Created September 13, 2022 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brunomichetti/ec58553fc6c14e8d8846bd1508c5e732 to your computer and use it in GitHub Desktop.
Save brunomichetti/ec58553fc6c14e8d8846bd1508c5e732 to your computer and use it in GitHub Desktop.
print(MyModel.objects.filter(id=1).explain())
Seq Scan on myapp_mymodel (cost=0.00..7.12 rows=1 width=172) Filter: (id = 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment