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

Missing index for species.wiki_score #79

Open
wagenet opened this issue Dec 18, 2020 · 0 comments
Open

Missing index for species.wiki_score #79

wagenet opened this issue Dec 18, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@wagenet
Copy link
Contributor

wagenet commented Dec 18, 2020

When looking at the app via Skylight I discovered a very slow query: https://oss.skylight.io/app/applications/nz7MAOv6K6ra/1608176820/4h54m/endpoints/Explore::SpeciesController%23index?responseType=html

image

A quick check of the database tells me that there is no index on wiki_score which may well explain the slowness.

@wagenet wagenet added the bug Something isn't working label Dec 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants