implementing database environments