Skip to content

feature request: retroactively add indexes to already-synced indexers #1186

Description

@dmitryn

Summary

When adding @index directives to schema.graphql on an already-synced indexer, the only option is to re-sync from scratch. For large indexers with millions of rows, this can take hours or days.

Expected Behavior

There should be a way to apply new indexes to an existing database without requiring a full re-sync. Not sure of the best approach, but it would be a helpful feature for bigger indexers.

Use Case

After profiling slow queries on a large, fully-synced indexer, you discover a missing index. Currently there is no way to add it without losing all progress and re-syncing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions