Simplified _get_dbsmgr_for_db_instance and replaced it with _get_dbsmgr