SharePoint 2010 Web Analytics Overview
1. Web Analytics架構:
2. Web Analytics沒有數據產生:
1) 檢查Usage and Health service application的proxy是否處於啓動狀態,如果沒有啓動,需要啓動
2) 在所有的WFE上面檢查時候.usage文件能夠正常產生
3) 查看Logging DB中的requestusage view中的數據是否是最新的。
4) 在Logging DB這個階段可能出現數據超出DB的字段大小的問題,如下面錯誤信息:
03/15/201209:30:04.78 OWSTIMER.EXE (0x1E24) 0x2C98 SharePoint Foundation Health i0m6 High
Table RequestUsage_Partition19has 444858368 bytesthathas exceeded the max bytes 444858368
一般我們使用下面的powershell 命令去增大DB的Size,需要注意的是,這裏必須要重新創建一個新的Logging DB,才能應用上
$def=Get-SPUsageDefinition -Identity "page requests"
$def.MaxTotalSizeInBytes=12400000000
$def.update()
Get-spusageapplication | Set-SPUsageApplication-DatabaseServer <dbServer> -DatabaseName <newDBname>
5) 檢查數據從Logging DB到Staging DB是否有問題在Staging DB中
6) 檢查數據從Staging DB到Reporting DB過程中是否有問題。