mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 10:53:44 +00:00
Its key starts with the zone, so the economy compaction read the whole table twice for every day it merged into a month. With 900k old rows to merge on MariaDB the task went from 107 s to 14 s. The index holds only the day and the key, so the game's upsert that adds to a row's events never updates it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>