Extract db clear to support file