[feature] introduce db-gc and initial tests