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

Enclave DB: add composite index for canonical batch height #2037

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

BedrockSquirrel
Copy link
Collaborator

Why this change is needed

Slow queries for getting head batch (6+ seconds with 1million batches).

PR checks pre-merging

Please indicate below by ticking the checkbox that you have read and performed the required
PR checks

  • PR checks reviewed and performed

Copy link
Collaborator

@tudor-malene tudor-malene left a comment

Choose a reason for hiding this comment

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

lgtm

@BedrockSquirrel BedrockSquirrel merged commit aaa489f into main Aug 27, 2024
2 checks passed
@BedrockSquirrel BedrockSquirrel deleted the matt/batch-composite-idx branch August 27, 2024 15:58
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