DB refine