복구 보류 중인 상태 원인
데이터베이스가 종료되고 로그파일이 삭제될 때 COMMIT 되지 않은 활성화된 트랜잭션이 있을 수도 있습니다.
복구 보류 중인 상태 해결하기
해결책은 2가지가 있습니다.
해결책 1
Northwind 데이터베이스를 복구하는 경우, 다음의 쿼리를 실행해 주세요.
ALTER DATABASE Northwind SET EMERGENCY;
GO
ALTER DATABASE Northwind SET SINGLE_USER;
GO
DBCC CHECKDB (Northwind, REPAIR_ALLOW_DATA_LOSS) WITH ALL_ERRORMSGS;
GO
ALTER DATABASE Northwind SET MULTI_USER;
GO
The REPAIR_ALLOW_DATA_LOSS option is a supported feature but it may not always be the best option for bringing a database to a physically consistent state. If successful, the REPAIR_ALLOW_DATA_LOSS option may result in some data loss. In fact, it may result in more data lost than if a user were to restore the database from the last known good backup.
Microsoft always recommends a user restore from the last known good backup as the primary method to recover from errors reported by DBCC CHECKDB. The REPAIR_ALLOW_DATA_LOSS option is not an alternative for restoring from a known good backup. It is an emergency "last resort" option recommended for use only if restoring from a backup is not possible.
스크랩 주소 : https://mozi.tistory.com/310