reduce db & log