gearheads
/
mastodon
Archived
2
0
Fork 0
Commit Graph

5 Commits (ca5baf072918b55fabf393dd5cf987308229fbd6)

Author SHA1 Message Date
Eugen Rochko 886af5ce19
Add fallback for PostgreSQL without upsert in CopyStatusStats ()
Fix 
2018-10-07 04:40:37 +02:00
Eugen Rochko f13afa1ee9
Do not use WHERE NOT IN in CopyStatusStats migration ()
Fix 

As the batch operation progresses, the statuses_stats table grows,
and the WHERE NOT IN subquery becomes more expensive
2018-08-19 02:01:49 +02:00
Eugen Rochko edb1de7800
Make CopyStatusStats migration use batches of 1000 to avoid locks () 2018-08-18 03:44:50 +02:00
Eugen Rochko be13e95d06
Fix null constraint violation in copy status stats migration () 2018-08-14 20:24:36 +02:00
Eugen Rochko 8e111b753a
Move status counters to separate table, count replies ()
* Move status counters to separate table, count replies

* Migration to remove old counter columns from statuses table

* Fix schema file
2018-08-14 19:19:32 +02:00