backfill needs to be run differently from these
refactor backfill() semantics; cleanup get_db_sums() SQL