824: SQL Server detected a logical consistency-based I/O error (page corruption)
SQL Server의미
SQL Server가 페이지를 읽었지만 내용이 논리적으로 일관되지 않다(잘못된 checksum, torn page 또는 잘못된 page ID). 데이터 페이지가 손상되었다.
원인
스토리지 서브시스템 오류, 갑작스러운 정전/torn page, 컨트롤러 또는 드라이버 문제, PAGE_VERIFY CHECKSUM이 잡아낸 조용한 손상. 823과 마찬가지로 대부분 하드웨어/스토리지 관련.
해결 방법
DBCC CHECKDB를 실행해 손상 범위를 파악한다. 마지막 정상 백업에서 복원하거나 페이지 수준 복원으로 영향받은 페이지를 복구한다. msdb.dbo.suspect_pages를 확인한다. PAGE_VERIFY = CHECKSUM이 활성화되어 있는지 확인한다. 하드웨어/스토리지를 점검한다. REPAIR_ALLOW_DATA_LOSS는 최후의 수단이며 데이터 손실을 일으킨다.
같은 데이터베이스의 다른 항목
- 4060Cannot open database requested by the login. The login failed
- 233A connection was successfully established with the server, but then an error occurred (no process is on the other end of the pipe)
- 823The operating system returned error to SQL Server during a read/write at offset in file (I/O error)
- 701There is insufficient system memory in resource pool to run this query
- 845Time-out occurred while waiting for buffer latch
- 3201Cannot open backup device. Operating system error (backup device error)
- 8134Divide by zero error encountered