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

Drop created index on merklized state tables #1565

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

jbearer
Copy link
Member

@jbearer jbearer commented Jun 7, 2024

Empirically we observe that having this index causes the query planner to sometimes use it when it should use the multi-column primary key, leading to queries occasionally taking in the tens of seconds when they should take <1s.

This PR:

Drops the created index on block and fee state.

@jbearer jbearer merged commit ee94100 into main Jun 7, 2024
14 checks passed
@jbearer jbearer deleted the jb/merklized_state_indexes branch June 7, 2024 14:29
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