Removing Transaction Log Files in SQL Server Suspends Database Mirroring
October 18, 2010 0 CommentsIn Microsoft SQL Server 2008, you can configure the database mirroring between two database. It improves database reliability and prevent data loss situations, if one database gets damaged due to any reason. In case of failure, you can restore the copy of your database from mirror database. However, if you unintentionally remove the transaction log files on SQL database, database mirroring session is broken by principle server. After this behavior, you can not restore the data from mirror server if principle server fails. It causes database corruption and require SQL Database Recovery to be fixed, if backup is not available.
As a practical instance of this problem, consider the underwritten scenario:
In Microsoft SQL SVR 2008 SP1 (Service Pack 1) or Microsoft SQL Server 2008, you configure mirroring between two databases.
You run ALTER DATABASE command along with REMOVE FILE clause for removing the transaction log files of SQL Server ...
read more
Subscribe