Ugh.

  • RoundSparrow@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    lemmy.ca staff was so frustrated with performance problems a couple weekends ago they cloned a copy of their database Running AUTO_EXPLAIN revealed site_aggregates logic in Lemmy was doing comment = comment + 1 counting against 1500 rows, for every known Lemmy instance in the database, instead of just writing 1 row.