Report analisi contatore motore di database di SQL Server
Funzionamento del report
Il report Contatori motore di database SQL visualizza un grafico con questi elementi relativi alle prestazioni:
Numero di deadlock al secondo
Timeout blocchi al secondo
Transazioni al secondo
Ricompilazioni SQL al secondo
Compilazioni SQL al secondo
Percentuale riscontri cache buffer
Quando si scelgono gli oggetti per i quali eseguire il report, occorre considerare i seguenti fattori
Il report visualizzerà solo i dati per le classi di tipo "motore di database di SQL" che rappresentano le installazioni di SQL 2016.
Per eseguire questo report per tutte le istanze del motore di database di SQL 2016 nel modo più diretto, fare clic su "Aggiungi gruppo..." e selezionare "Gruppo di motori di database SQL 2016"
È possibile anche usare il pulsante "Aggiungi oggetto..." per scegliere particolari istanze del motore di database di SQL per le quali eseguire il report, tuttavia è necessario conoscere i nomi di tali istanze e di quelle specifiche di SQL 2016.
Nel report viene visualizzato un grafico separato per ciascun oggetto selezionato. I dati vengono aggregati ai giorni di un mese.
Come usare il report
Quando viene eseguito dallo spazio di report:
La seconda colonna nei risultati della ricerca mostra il tipo di oggetti visualizzati. Assicurarsi di selezionare gli oggetti di tipo motore di database SQL.
Quando viene eseguito dallo spazio di monitoraggio:
Creare una vista stato o una vista prestazioni scegliendo il tipo motore di database SQL.
Parametri disponibili
Selezione data/ora: consente di selezionare una data fissa o relativa e un intervallo di tempo e un fuso orario.
Oggetto: consente di aggiungere oggetti per i quali eseguire il report
Base | Microsoft.SystemCenter.DataWarehouse.Report.Performance |
Target | Microsoft.SQLServer.2016.DBEngine |
Accessibility | Public |
Visible | True |
<LinkedReport ID="Report.SQLServer.2016.DatabaseCounters" Target="SQL2016Core!Microsoft.SQLServer.2016.DBEngine" Accessibility="Public" Visible="true" Base="ReportLibrary!Microsoft.SystemCenter.DataWarehouse.Report.Performance">
<ParameterBlock xmlns="http://schemas.microsoft.com/mom/reporting/2007/ReportParameterSettings" columns="6">
<Controls>
<Control type="Microsoft.SystemCenter.DataWarehouse.Report.ParameterControl.ComboBox" columnSpan="2">
<ReportParameters>
<ReportParameter name="DataAggregation">
<Prompt>Microsoft.SystemCenter.DataWarehouse.Report.Library!Microsoft.SystemCenter.DataWarehouse.Report.ParameterPrompt.DataAggregation</Prompt>
</ReportParameter>
</ReportParameters>
</Control>
<Control type="Microsoft.SystemCenter.DataWarehouse.Report.ParameterControl.LinkedPerformanceChartObjectPicker" columnSpan="4" rowSpan="3">
<ReportParameters>
<ReportParameter name="ObjectList">
<Prompt>Microsoft.SystemCenter.DataWarehouse.Report.Library!Microsoft.SystemCenter.DataWarehouse.Report.ParameterPrompt.ObjectList</Prompt>
</ReportParameter>
<ReportParameter name="ManagementGroupId" binding="GroupList"/>
</ReportParameters>
<Properties>
<Property name="ValueTemplate">
<Value>
<Data>
<Chart ObjectJoin="ChartPerObject">
<Series>
<Rule>$MPElement[Name="Microsoft.SQLServer.2016.NumberDeadlocksPerSecond"]$</Rule>
<Scale>1</Scale>
<Type>Line</Type>
<Color>63,63,255</Color>
</Series>
<Series>
<Rule>$MPElement[Name="Microsoft.SQLServer.2016.LockTimeoutsPerSecond"]$</Rule>
<Scale>1</Scale>
<Type>Line</Type>
<Color>0,159,0</Color>
</Series>
<Series>
<Rule>$MPElement[Name="Microsoft.SQLServer.2016.TransactionsPerSecond"]$</Rule>
<Scale>1</Scale>
<Type>Line</Type>
<Color>255,31,31</Color>
</Series>
<Series>
<Rule>$MPElement[Name="Microsoft.SQLServer.2016.SQLRecompilesPerSecond"]$</Rule>
<Scale>1</Scale>
<Type>Line</Type>
<Color>255,221,0</Color>
</Series>
<Series>
<Rule>$MPElement[Name="Microsoft.SQLServer.2016.SQLCompilationsPerSecond"]$</Rule>
<Scale>1</Scale>
<Type>Line</Type>
<Color>0,0,0</Color>
</Series>
<Series>
<Rule>$MPElement[Name="Microsoft.SQLServer.2016.BufferCacheHitRatio"]$</Rule>
<Scale>1</Scale>
<Type>Line</Type>
<Color>63,255,63</Color>
</Series>
</Chart>
</Data>
</Value>
</Property>
<Property name="ContextObjectBinding">
<Value>Containment</Value>
</Property>
<Property name="TypeFilter">
<Value>Microsoft.SQLServer.2016.DBEngine</Value>
</Property>
</Properties>
</Control>
<Control type="Microsoft.SystemCenter.DataWarehouse.Report.ParameterControl.BusinessRelativeDateTimePicker" columnSpan="2">
<ReportParameters>
<ReportParameter name="TimeZone" binding="TimeZone">
<Prompt>Microsoft.SystemCenter.DataWarehouse.Report.Library!Microsoft.SystemCenter.DataWarehouse.Report.ParameterPrompt.TimeZone</Prompt>
</ReportParameter>
<ReportParameter name="TimeZoneName" binding="TimeZoneName"/>
<ReportParameter name="StartDate_BaseType" binding="StartDate_BaseType"/>
<ReportParameter name="StartDate_BaseValue" binding="StartDate_BaseValue">
<Prompt>Microsoft.SystemCenter.DataWarehouse.Report.Library!Microsoft.SystemCenter.DataWarehouse.Report.ParameterPrompt.StartDateTime</Prompt>
</ReportParameter>
<ReportParameter name="StartDate_OffsetType" binding="StartDate_OffsetType"/>
<ReportParameter name="StartDate_OffsetValue" binding="StartDate_OffsetValue"/>
<ReportParameter name="EndDate_BaseType" binding="EndDate_BaseType"/>
<ReportParameter name="EndDate_BaseValue" binding="EndDate_BaseValue">
<Prompt>Microsoft.SystemCenter.DataWarehouse.Report.Library!Microsoft.SystemCenter.DataWarehouse.Report.ParameterPrompt.EndDateTime</Prompt>
</ReportParameter>
<ReportParameter name="EndDate_OffsetType" binding="EndDate_OffsetType"/>
<ReportParameter name="EndDate_OffsetValue" binding="EndDate_OffsetValue"/>
<ReportParameter name="TimeType" binding="TimeType"/>
<ReportParameter name="TimeWeekMap" binding="TimeWeekMap"/>
</ReportParameters>
</Control>
<Control type="Microsoft.SystemCenter.DataWarehouse.Report.ParameterControl.ComboBox">
<ReportParameters>
<ReportParameter name="AggregationType">
<Prompt>Microsoft.SystemCenter.DataWarehouse.Report.Library!Microsoft.SystemCenter.DataWarehouse.Report.ParameterPrompt.Histogram</Prompt>
</ReportParameter>
</ReportParameters>
</Control>
<Control type="Microsoft.SystemCenter.DataWarehouse.Report.ParameterControl.BooleanPicker">
<ReportParameters>
<ReportParameter name="Enable3D">
<Prompt>Microsoft.SystemCenter.DataWarehouse.Report.Library!Microsoft.SystemCenter.DataWarehouse.Report.ParameterPrompt.Chart3D</Prompt>
</ReportParameter>
</ReportParameters>
</Control>
</Controls>
</ParameterBlock>
</LinkedReport>