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

HotFix: GetMessagesでtimeをtruncateする #1430

Merged
merged 1 commit into from
Apr 24, 2022

Conversation

motoki317
Copy link
Member

nanosecond精度だとMariaDBがindexをなぜか使ってくれないため

MariaDB optimizer does not use temporal index if nanosecond is included in query, for some reason: this lead to almost full scan of the message table in timeline queries
@motoki317 motoki317 requested a review from logica0419 April 24, 2022 16:32
@motoki317 motoki317 merged commit 907698f into master Apr 24, 2022
@motoki317 motoki317 deleted the hotfix/timeline-performance branch April 24, 2022 16:41
@motoki317
Copy link
Member Author

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