]> cat aescling's git repositories - mastodon.git/commit
Do not use WHERE NOT IN in CopyStatusStats migration (#8281)
authorEugen Rochko <eugen@zeonfederated.com>
Sun, 19 Aug 2018 00:01:49 +0000 (02:01 +0200)
committerGitHub <noreply@github.com>
Sun, 19 Aug 2018 00:01:49 +0000 (02:01 +0200)
commitf13afa1ee92ceb40ce2e44f6457bd6e75b80adb5
treef1e6ae6caa23a5f56a2ea7259dbf32e7911809c2
parent0fc0980de1d8b9fd94da5aa4ce5f222f57649eff
Do not use WHERE NOT IN in CopyStatusStats migration (#8281)

Fix #8275

As the batch operation progresses, the statuses_stats table grows,
and the WHERE NOT IN subquery becomes more expensive
db/migrate/20180812173710_copy_status_stats.rb