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

store/postgres: Add an index on event_meta_data(source) #945

Merged
merged 1 commit into from May 15, 2019

Commits on May 15, 2019

  1. store/postgres: Add an index on event_meta_data(source)

    We find event_meta_data during block reversions by the source attribute,
    and not having an index on it slows down those queries, and therefore block
    reversion, dramatically. In one case, query time for a block reversion goes
    from 18s to 5ms after adding the index.
    lutter committed May 15, 2019
    Configuration menu
    Copy the full SHA
    e604f3c View commit details
    Browse the repository at this point in the history