trimmed db_name max length - 2