private DatabaseConfiguration FindConfiguration(string db)
        {
            DatabaseConfiguration result;

            if (configurationMap.TryGetValue(db, out result))
            {
                return(result);
            }
            result = new DatabaseConfiguration(db);
            result.Lock();
            return(result);
        }