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

More indices to improve query speeds #529

Merged
merged 1 commit into from
Apr 9, 2019
Merged

Conversation

talavis
Copy link
Contributor

@talavis talavis commented Mar 25, 2019

Describe the pull request:

  • Bug fix
  • Functional change
  • New feature
  • Code cleanup
  • Build system change
  • Documentation change
  • Language translation

Pull request long description:

More indices to improve the query speeds. The one affecting data.features improves the query speed for the top part of e.g. transcripts a lot.

@talavis
Copy link
Contributor Author

talavis commented Mar 25, 2019

CREATE INDEX features_transcript_type ON data.features (transcript, feature_type); is the only one that leads to a very notable improvement.

@talavis talavis changed the title three more indices to improve query speeds More indices to improve query speeds Mar 27, 2019
@viklund
Copy link
Member

viklund commented Apr 4, 2019

But the other ones lead to improvement?

@talavis
Copy link
Contributor Author

talavis commented Apr 4, 2019

But the other ones lead to improvement?

Yes, but as the other_names table is not that large nor used very often (only for searches) the improvement is not as notable.

@viklund viklund merged commit 781dda6 into develop Apr 9, 2019
@viklund viklund deleted the performance/new-indexes branch April 9, 2019 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants