Minimize Database Connect