db set finish