Commit Graph

4 Commits (05f90e3695c410526fc7fa79fc6a9bdaa717cb87)

Author SHA1 Message Date
Eugen Rochko f13afa1ee9
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
7 years ago
Eugen Rochko edb1de7800
Make CopyStatusStats migration use batches of 1000 to avoid locks (#8256) 7 years ago
Eugen Rochko be13e95d06
Fix null constraint violation in copy status stats migration (#8198) 7 years ago
Eugen Rochko 8e111b753a
Move status counters to separate table, count replies (#8104)
* Move status counters to separate table, count replies

* Migration to remove old counter columns from statuses table

* Fix schema file
7 years ago