Searching in rdb