Clean. Db operations optimized