How we cut peak database write latency during LiteLLM upgrades by 99%

Adding an index should make your database faster. During LiteLLM upgrades, ours was blocking spend-log writes.
This week, we changed how those indexes are built. In a local upgrade benchmark with 3 million spend-log rows, the slowest observed insert dropped from 1,859.8 ms to 19 ms: a 99% reduction.
