N+1 queries spike DB CPU at month-end

Billing export endpoint works for 50 rows locally but melts PostgreSQL CPU when finance runs the full month-end job.

N+1 queries spike DB CPU at month-end · Home · Support the platform