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

perf(su): alter message table index for faster reads #745

Merged
merged 1 commit into from
May 29, 2024

Conversation

jrdn91
Copy link
Contributor

@jrdn91 jrdn91 commented May 29, 2024

Adds migrations to remove the previous index for process_id and adds a new index combining process_id and timestamp. This speeds up queries to retrieve messages significantly.

@jrdn91 jrdn91 requested a review from VinceJuliano May 29, 2024 15:46
Copy link
Collaborator

@VinceJuliano VinceJuliano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jrdn91
Copy link
Contributor Author

jrdn91 commented May 29, 2024

🚀

@jrdn91 jrdn91 merged commit 5b88ce9 into main May 29, 2024
2 checks passed
@jrdn91 jrdn91 deleted the perf-su-alter-indexing branch May 29, 2024 15:50
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.

2 participants