db refine