cleanup db for live system