Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize queries with indexing #1

Open
krishnans2006 opened this issue Apr 4, 2024 · 0 comments
Open

Optimize queries with indexing #1

krishnans2006 opened this issue Apr 4, 2024 · 0 comments

Comments

@krishnans2006
Copy link
Member

Django supports Model indexing, which allows for optimizing certain queries as explained here.

Some Tin queries are slow. The most notable example is submissions.Submission, which currently has >340,000 rows in production. Below are a few potentially-optimizable queries for the submissions app:

Implementing indexing may (or may not) improve the performance of these queries, and this must be tested thoroughly to ensure real performance improvements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant