faster db cleaning