sql语句为:
select top 1 id,article_title,article_tags,article_contents,adtime from 表名 a with(nolock) where id=100264 option(maxdop 1)
现在表内数据有100万数据,但就这样造成了我们cpu100%,latch数值为18万多
在跟踪统计的时候,如图
有没有大神能帮我解决一下啊
sql语句为:
select top 1 id,article_title,article_tags,article_contents,adtime from 表名 a with(nolock) where id=100264 option(maxdop 1)
现在表内数据有100万数据,但就这样造成了我们cpu100%,latch数值为18万多
在跟踪统计的时候,如图
有没有大神能帮我解决一下啊