Assume the removal of hash means erase db