db pruning methods