db iterators