add open different type of db support