db utilities