問題:分離和附加可疑模式數據庫
備份,我們與下面的消息服務器的一個被失敗:(備份通過的Netbackup拍攝)
Could not allocate space for object 'dbo.backupfile'.'PK__backupfi__57D1800AC4FFEEA3'
in database 'msdb' because the 'PRIMARY' filegroup is full. Create disk space by deleting
unneeded files, dropping objects in the filegroup, adding additional files to the
filegroup, or setting autogrowth on for existing files in the filegroup.>
DBMS MSG - SQL Message <3009><[Microsoft][ODBC SQL Server Driver][SQL Server]Could not
insert a backup or restore history/detail record in the msdb database. This may indicate a
problem with the msdb database.
在辦理入住手續,我可以看到確定msdb主數據文件所在的Mount Drive已滿(總大小:99GB,可用空間:0字節)。該驅動器沒有任何不需要的文件,我可以刪除並獲得一些簡單的磁盤空間。於是我環顧了Drive,發現一個數據庫日誌文件大小爲6GB,其中超過5.5GB是免費的。我認爲收縮會釋放驅動器中的相當一部分空間,並暫時解決問題。但是當我試圖在日誌文件中收縮時,我收到一條錯誤消息,說'它已被恢復標記爲可疑「。最怕的是,我刷新了Object Explorer和Bingo中的數據庫列表..!它就在那裏,標記爲「可疑」