Minimization of the number of DB transaction for performance issues.