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

Merge indexes for reblog on statuses table #5831

Merged
merged 1 commit into from
Nov 27, 2017

Commits on Nov 27, 2017

  1. Merge indexes for reblog on statuses table

    We added an index for `[account_id, reblog_of_id]`, but we already have a similar index for `reblog_of_id`. Those index will be bigger according to statuses count. For example, `reblog_of_id` index uses 800MB for 10GB statuses table.
    
    So this patch swaps indexed columns like `[reblog_of_id, account_id]`, then it will covers both usage with single index.
    
    Since those index creation may take a while, I've also disabled previous index creation.
    unarist committed Nov 27, 2017
    Configuration menu
    Copy the full SHA
    1c42640 View commit details
    Browse the repository at this point in the history