Could not continue scan with NOLOCK due to data movement
Posted ljhdo
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Could not continue scan with NOLOCK due to data movement相关的知识,希望对你有一定的参考价值。
SQL Server版本是Microsoft SQL Server 2017 (RTM-CU15-GDR) (KB4505225),在执行SP时,SQL Server抛出错误,错误消息是:
Could not continue scan with NOLOCK due to data movement
错误的原因,很有可能是:SQL Server对表进行全表扫描,表带有NOLOCK锁提示,在扫描的当前位置缺少一个或多个数据页,但是缺失的数据页并不能说明数据库中存在损坏问题,此错误的根本原因是由于DML语句引起的页面拆分导致页面被删除或移动,因此SQL Server无法继续扫描操作。为了验证是否是数据页导致的,可以使用CHECKDB命令:
DBCC CHECKDB(MY_DATABASE) WITH PHYSICAL_ONLY
参考文档:
Error 601: Could not continue scan with NOLOCK due to SQL Server data movement
以上是关于Could not continue scan with NOLOCK due to data movement的主要内容,如果未能解决你的问题,请参考以下文章
电脑开机弹出scan对话框Could not start service
Xcode will continue when iPad is finished. "Could not find Developer Disk Image"
could not create Vfs.Dir from url. ignoring the exception and continuing,nacos-client-2.0.3,启动报错
zabbix调试脚本报错(Not all processes could be identified, non-owned process info will not be shown, you w
Asp.Net程序报错 - error CS2001: Source file 'C:WindowsTEMPeulevokb.0.cs' could not be found w
Could not locate device support files.《This iPhone 5 (Model A1429) is running iOS 7.0.4 (11B554a), w