823: The operating system returned error to SQL Server during a read/write at offset in file (I/O error)(操作系统在文件的偏移量处读/写时向 SQL Server 返回了错误(I/O 错误))
SQL Server含义
SQL Server 在读写数据/日志文件时收到了操作系统级别的 I/O 错误。这是严重的完整性警告,指向磁盘硬件或存储子系统问题。
原因
磁盘坏扇区、控制器/驱动故障、存储/SAN 问题、文件系统错误,或页面完全无法读取(硬 I/O 错误)。通常与硬件有关。
解决方法
立即进行一次完好的备份(如果可能)。检查 Windows 事件日志和存储日志,测试硬件/磁盘健康状况。运行 DBCC CHECKDB 检查完整性。检查 suspect_pages 表(msdb.dbo.suspect_pages)。如果存在损坏,从完好的备份恢复或执行页级还原。更换/修复硬件。
同一数据库的其他条目
- 229The SELECT/EXECUTE permission was denied on the object(拒绝了对对象的 SELECT/EXECUTE 权限)
- 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)(已成功与服务器建立连接,但随后发生错误(管道的另一端上无任何进程))
- 824SQL Server detected a logical consistency-based I/O error (page corruption)(SQL Server 检测到基于逻辑一致性的 I/O 错误(页损坏))
- 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)(无法打开备份设备。操作系统错误(备份设备错误))