在 SQL Server 活动监视器上,我注意到以下查询在逻辑读取和 CPU 使用方面占用了大量资源。任何人都知道此查询的作用以及如何禁用它?
IF EXISTS
(SELECT * FROM MSSCrawlContent
WHERE CrawlID IN
(SELECT CrawlID FROM MSSCrawlHistory
WHERE CrawlID <> @CrawlID
AND (Status = @CRAWL_STATUS_START OR Status = @CRAWL_STATUS_PAUSE))
AND StartAddressID IN
(SELECT StartAddressID FROM MSSCrawlContent
WHERE CrawlID = @CrawlID))