Web Analytics: Monitors the health of the Report Consolidator component (SharePoint Foundation 2010)
Применимо к: SharePoint Foundation 2010
Последнее изменение раздела: 2010-06-29
Rule Name: Web Analytics: Monitors the health of the Report Consolidator component
Summary: Typically, the Report Consolidator component should not take more than two hours to run. This rule is triggered if it takes longer than five hours.
Cause: The Report Consolidator component takes longer than five hours to run.
Resolution: Enable data trimming by using Windows PowerShell
You can enable data trimming using the Set-WebAnalyticsServiceApplication cmdlet. When data trimming is enabled, the number of rows of data in the tables in the reporting database is trimmed to 20,000 rows per day per component (site, site collection, Web application, etc.). This decreases the time that the Reporting Component takes to run.
Verify that you meet the following minimum requirements: См. статью Add-SPShellAdmin.
On the Start menu, click All Programs.
Click Microsoft SharePoint 2010 Products.
Click SharePoint 2010 Management Shell.
At the Windows PowerShell command prompt, type the following command:
Set-SPWebAnalyticsServiceApplication [-Identity <GUID>]-EnableDataTrimming
Where:
- <GUID> is GUID identifier of the Web Analytics service application. If you only have one Web Analytics service application, you do not need to specify the GUID.
For more information, see Set-SPWebAnalyticsServiceApplication.
Примечание
Для выполнения административных задач из командной строки мы рекомендуем использовать Windows PowerShell. Программа командной строки Stsadm является устаревшей, однако она добавлена для совместимости с предыдущими версиями продукта.