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

Consider using indexes to improve database performance #3077

Open
david-venhoff opened this issue Sep 26, 2024 · 0 comments
Open

Consider using indexes to improve database performance #3077

david-venhoff opened this issue Sep 26, 2024 · 0 comments
Labels
💡 feature New feature or request ❓ question Further information is requested 😱 effort: high Big change, which requires >12h

Comments

@david-venhoff
Copy link
Member

david-venhoff commented Sep 26, 2024

Motivation

According to the django documentation, adding indexes should be priority number one to improve performance. However, after doing a quick code search I noticed that we did not set up a single index for any model.

Proposed Solution

Analyze and benchmark existing slow queries and add indexes where appropriate

Alternatives

Do nothing. Though if we want to improve the performance of the cms, we should really investigate this with the highest priority

User Story

Design Requirements

Use explain to figure out if an index would be useful
Basic profiling can be done with the django debug toolbar

@david-venhoff david-venhoff added 💡 feature New feature or request ❓ question Further information is requested 😱 effort: high Big change, which requires >12h labels Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💡 feature New feature or request ❓ question Further information is requested 😱 effort: high Big change, which requires >12h
Projects
None yet
Development

No branches or pull requests

1 participant