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

Improve indexers indexes #1068

Merged
merged 4 commits into from
Jan 20, 2025
Merged

Conversation

marc-aurele-besner
Copy link
Member

Improve indexers indexes

Since we don't use subquery graphql engine, we don't make much use of all the gist(*, _block_range) indexes.
Even if removed from the init-db, they get recreated everytime the indexer start if they are defined in the schema, so I removed them from the schema, and added indexes that are relevant to our most use queries.

clostao
clostao previously approved these changes Jan 20, 2025
DaMandal0rian
DaMandal0rian previously approved these changes Jan 20, 2025
Base automatically changed from feat/optimize-consensus-indexer-logic to main January 20, 2025 14:06
@marc-aurele-besner marc-aurele-besner dismissed stale reviews from DaMandal0rian and clostao January 20, 2025 14:06

The base branch was changed.

Copy link

netlify bot commented Jan 20, 2025

Deploy Preview for dev-astral canceled.

Name Link
🔨 Latest commit 5ce33c4
🔍 Latest deploy log https://app.netlify.com/sites/dev-astral/deploys/678e58868a62a100085c588e

@marc-aurele-besner marc-aurele-besner merged commit 71c9d2f into main Jan 20, 2025
12 checks passed
@marc-aurele-besner marc-aurele-besner deleted the feat/improve-indexer-indexes branch January 20, 2025 14:18
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.

3 participants