'This is analogous to other backends\' `_nodb_connection` property,
which allows access to an "administrative" connection which can
be used to manage the test databases.
For Oracle, the only connection that can be used for that purpose
is the main (non-test) connection.'

@cached_property
def _maindb_connection(self):

    settings_dict = settings.DATABASES[self.connection.alias]
    user = (settings_dict.get('SAVED_USER') or settings_dict['USER'])
    password = (settings_dict.get('SAVED_PASSWORD') or settings_dict['PASSWORD'])
    settings_dict = settings_dict.copy()
    settings_dict.update(USER=user, PASSWORD=password)
    DatabaseWrapper = type(self.connection)
    return DatabaseWrapper(settings_dict, alias=self.connection.alias)
