[db] saved state at end of day