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

fix: Add index to idx_e2e_messaging #446

Merged
merged 2 commits into from
Dec 28, 2022
Merged

Conversation

YoshihitoAso
Copy link
Member

We have detected an issue in our environment where the execution time of GET /e2e_messaging/messages is slightly longer.

Our search condition: type, offset

I analyzed the SQL execution plan, and it seems that the query cost is high when type is given to the search condition.

This PR fixes the above issue.

@YoshihitoAso YoshihitoAso changed the title fix: Add index to type of idx_e2e_messaging fix: Add index to idx_e2e_messaging Dec 28, 2022
Copy link
Member

@purplesmoke05 purplesmoke05 left a comment

Choose a reason for hiding this comment

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

LGTM

@YoshihitoAso YoshihitoAso merged commit bbb4727 into dev-23.3 Dec 28, 2022
@YoshihitoAso YoshihitoAso deleted the fix/add_e2em_index branch December 28, 2022 06:04
@YoshihitoAso YoshihitoAso added the enhancement New feature or request label Dec 28, 2022
@YoshihitoAso YoshihitoAso self-assigned this Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants