3.1.5.22 proc_MSS_CrawlReportCleanup
The proc_MSS_CrawlReportCleanupstored procedure is called to remove items from the Crawl Item Set for which the value of TimeStamp attribute is greater than the specified number of days. Crawl Used Error Set and Crawl Used Content Source Set MUST be updated in accordance with updated Crawl Item Set (see section 3.1.1.3). The stored procedure also removes entries from the following tables for crawls completed before the specified number of days:
-
MSSCrawlDeletedURL, see [MS-SRCHTP] section 2.2.5.9.
-
MSSCrawlLinksLog, see [MS-SRCHTP] section 2.2.5.12.
-
MSSCrawlURLLog, see [MS-SRCHTP] section 2.2.5.8.
The T-SQL syntax for the stored procedure is as follows:
PROCEDURE proc_MSS_CrawlReportCleanup( @CleanupInterval int );
@CleanupInterval: The number of days to keep crawl log data. This value MUST NOT be NULL.
Return Code Values: This stored procedure returns an integer value that MUST be ignored.
Result Sets: SHOULD NOT<19> return any result set. The protocol client MUST ignore any result sets returned by this stored procedure.