Average time per query in milliseconds. This counter is based on queries answered since the last counter measurement. This counter is polled every fifteen minutes.
Unlike most performance data collection rules, this rule requires administrator rights on the server in order for the data to be collected by the agent. As such this rule is configured to leverage the "SQL Server Monitoring Account" RunAs profile that is provided with the SQL. For systems where the default agent action account is not an administrator, you must configure the "SQL Server Monitoring Account" RunAs profile accordingly to ensure this performance data is collected.
Target | Microsoft.SQLServer.2008.AnalysisServices |
Category | PerformanceCollection |
Enabled | True |
Instance Name | $Target/Property[Type="SQL!Microsoft.SQLServer.AnalysisServices"]/PerformanceCounterObject$:Storage Engine Query |
Counter Name | Avg time/query |
Frequency | 900 |
Alert Generate | False |
Remotable | True |
Comment | Mom2008ID='{504858F9-B057-467C-AABD-D04ACC21522A}';MOM2008GroupID={467ECC75-C5DA-42BD-955C-A73BBB51AF74} |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
_42EB9816_B297_415D_83DD_3DA1A903A3E5_ | DataSource | System.Performance.DataProvider | Microsoft.SQLServer.SQLProbeAccount |
PerfMapper | ConditionDetection | System.Performance.DataGenericMapper | Default |
CollectPerfData | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
CollectPerfDataWarehouse | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.SQLServer.2008.MSAS_2008_Query_Avg_time_query_15.0_minutes_5_Rule" Target="SQL2008Core!Microsoft.SQLServer.2008.AnalysisServices" Enabled="true" ConfirmDelivery="false" Comment="Mom2008ID='{504858F9-B057-467C-AABD-D04ACC21522A}';MOM2008GroupID={467ECC75-C5DA-42BD-955C-A73BBB51AF74}">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="_42EB9816_B297_415D_83DD_3DA1A903A3E5_" Comment="{42EB9816-B297-415D-83DD-3DA1A903A3E5}" TypeID="SystemPerf!System.Performance.DataProvider" RunAs="SQL!Microsoft.SQLServer.SQLProbeAccount">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Avg time/query</CounterName>
<ObjectName>$Target/Property[Type="SQL!Microsoft.SQLServer.AnalysisServices"]/PerformanceCounterObject$:Storage Engine Query</ObjectName>
<Frequency>900</Frequency>
</DataSource>
</DataSources>
<ConditionDetection ID="PerfMapper" TypeID="SystemPerf!System.Performance.DataGenericMapper">
<ObjectName>SQL Analysis Services:Storage Engine Query</ObjectName>
<CounterName>$Data/CounterName$</CounterName>
<InstanceName>$Data/InstanceName$</InstanceName>
<Value>$Data/Value$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="CollectPerfData" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="CollectPerfDataWarehouse" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>