re database