Επεξεργασία

Κοινή χρήση μέσω


MSSQLSERVER_1457

Applies to: SQL Server Azure SQL Managed Instance

Details

Attribute Value
Product Name SQL Server
Event ID 1457
Event Source MSSQLSERVER
Component SQLEngine
Symbolic Name DBM_PAGE_UNDO_PENDING
Message Text Synchronization of the mirror database, '%.*ls', was interrupted, leaving the database in an inconsistent state. The ALTER DATABASE command failed. Ensure that the mirror database is back up and online, and then reconnect the mirror server instance and allow the mirror database to finish synchronizing.

Explanation

This messages indicates that the ALTER DATABASE database_name SET PARTNER OFF statement has failed. The failed attempt to remove database mirroring interrupted synchronization of the mirror database. The database is in an inconsistent state.

User Action

To resolve this error, you can take either of the following actions:

  • Restore contact between the mirror server and the principal server to allow for the mirror database to synchronize.

  • Drop the mirror database.

    After you drop the mirror database, you can create a new mirror database from backups.

    Note

    You can drop the mirror database when mirroring is still enabled only after a failed SET PARTNER OFF statement.

See Also

Database Mirroring (SQL Server)
ALTER DATABASE (Transact-SQL)
Setting Up Database Mirroring (SQL Server)
Removing Database Mirroring (SQL Server)
Prepare a Mirror Database for Mirroring (SQL Server)