make db plan.