add get slice for dbbench