re db