check dbsize