Analyse des verrous de SQL Server

Report.SQLServer.2012.LockAnalysis (LinkedReport)

Rapport d'analyse des verrous de SQL Server

Knowledge Base article:

Résumé

Comment fonctionne ce rapport ?

Le rapport Analyse des verrous de SQL affiche un graphique avec ces éléments de performances :

Le rapport trouve des données si les objets fournis sont de type

Moteur de base de données SQL

Rechercher des objets avec le contenu et l'instance (par exemple « Instance1 »)

Le rapport affiche un graphique distinct pour chaque objet sélectionné. Les données sont présentées en heures par jour pour les heures de pointe (7h-19h).

Procédure d'utilisation de ce rapport

Lors d'une exécution à partir de l'espace des rapports :

La deuxième colonne des résultats de la recherche indique le type des objets affichés. Vérifiez que vous sélectionnez des objets de type « Moteur de base de données SQL ».

Lors d'une exécution à partir de l'espace d'analyse :

Créez une vue d'états ou une vue de performances en choisissant le type « Moteur de base de données SQL ».

Quels sont les paramètres proposés ?

Sélection de date et heure : permet de sélectionner une plage de dates et d'heures relative ou fixe, ainsi que le fuseau horaire.

Objet : permet d'ajouter des objets pour lesquels exécuter ce rapport

Element properties:

BaseMicrosoft.SystemCenter.DataWarehouse.Report.Performance
TargetMicrosoft.SQLServer.2012.DBEngine
AccessibilityPublic
VisibleTrue

Source Code:

<LinkedReport ID="Report.SQLServer.2012.LockAnalysis" Target="SQL2012Core!Microsoft.SQLServer.2012.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>
&lt;Data&gt;
&lt;Chart ObjectJoin="ChartPerObject"&gt;
&lt;Series&gt;
&lt;Rule&gt;$MPElement[Name="Microsoft.SQLServer.2012.NumberDeadlocksPerSecond"]$&lt;/Rule&gt;
&lt;Scale&gt;1&lt;/Scale&gt;
&lt;Type&gt;Line&lt;/Type&gt;
&lt;Color&gt;63,63,255&lt;/Color&gt;
&lt;/Series&gt;
&lt;Series&gt;
&lt;Rule&gt;$MPElement[Name="Microsoft.SQLServer.2012.LockWaitsPerSecond"]$&lt;/Rule&gt;
&lt;Scale&gt;1&lt;/Scale&gt;
&lt;Type&gt;Line&lt;/Type&gt;
&lt;Color&gt;0,159,0&lt;/Color&gt;
&lt;/Series&gt;
&lt;Series&gt;
&lt;Rule&gt;$MPElement[Name="Microsoft.SQLServer.2012.LockRequestsPerSecond"]$&lt;/Rule&gt;
&lt;Scale&gt;1&lt;/Scale&gt;
&lt;Type&gt;Line&lt;/Type&gt;
&lt;Color&gt;255,31,31&lt;/Color&gt;
&lt;/Series&gt;
&lt;/Chart&gt;
&lt;/Data&gt;
</Value>
</Property>
<Property name="ContextObjectBinding">
<Value>Containment</Value>
</Property>
<Property name="TypeFilter">
<Value>Microsoft.SQLServer.2012.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>