Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This section includes the following topics:

 

...

 

...

 

...

 

...

 

...

 

...

 

...

 

...

 

...

Anchor

...

AbouttheFindingsview

...

AbouttheFindingsview
About the Findings view

 

The Findings view displays recommendations that can be used to create a better execution plan and improve the performance of a statement. The Findings vary according to the type of operation in a statement, the Precise product and the technology. 

Anchor
AbouttheHighlightsarea

...

AbouttheHighlightsarea
About the Highlights area

...

The Highlights area displays a brief description of the findings for the selected type of operation. 

Anchor
AbouttheWhattodonextarea

...

AbouttheWhattodonextarea
About the What to do next area

...

The What to do next area displays one or more recommended steps to identify the cause of the problem. Carefully review all data for the finding before continuing. 

Anchor
AbouttheAdvicearea

...

AbouttheAdvicearea
About the Advice area

 

The Advice area displays one or more recommended options to resolve or reduce the problem for the selected finding. Carefully review all data for the finding and then perform the advice that best suits your needs. 

Anchor
Howtoinvestigatefindings

...

Howtoinvestigatefindings
How to investigate findings

...

When you start investigating the findings, it is good practice to start with the finding that has the highest severity ranking in the Findings table.

To investigate a finding

 

...

  1. Identify the finding with the highest severity ranking in the Findings table.

 

 

...

  1. Select the finding type to view additional information on the selected type of operation.

 

...

  1. Read the Highlights and What to do next areas for the finding.

 

...

  1. After you have studied all of the information provided, read the Advice area and perform the recommendation that best suits your needs.

 

...

  1. Follow up on performance to verify that the problem was resolved.

...

Anchor
AboutStatementfindings

...

AboutStatementfindings
About Statement findings

 

The following statement findings can help you tune your system:

 

...

  • Heavy Statement

 

...

  • Heavy Collapsed Statement

 

...

  • Major Statement in Batch

 

...

  • Heavy Operators

 

...

  • Missing Indexes

 

...

  • Missing Statistics

 

...

  • Table Schema Change May Increase Its Accessing Time

 

...

  • Statement Is Not Scalable

 

...

  • Table Growth May Increase Its Accessing Time

 

...

  • Increase in Resource Consumption

 

...

  • Statement or Batch Was Locked

 

...

  • Statement Activity Consistently High

...

 

Heavy Statement

The statement is a major consumer of MS-SQL resources. By tuning the statement, you can free resources needed by other statements and processes.

 

Table 13-1    Heavy 1 Heavy Statement findings 

Column

...

Description
What to do

...

nextTry to determine what is causing the statement’s high resource consumption. In the SQL tab, examine the text of the relevant statement, and its findings, execution plan, change data and statistics.
Advice

...

The following scenarios indicate what factors can lead to heavy resource consumption and what steps you can take:

...

  • A heavy operator was identified. Use the SQL findings to identify the heaviest operator.

...

  • A missing index was identified (SQL Server 2005 only). The SQL Server optimizer identified missing indexes when the access plan was created. Detailed index information can be found in the Recommend tab in the SQL tab.

...

  • Missing statistics were identified. The SQL Server optimizer identified missing statistics when the access plan was created. Detailed information on missing statistics for this statement can be found in the Recommend tab in the SQL tab.

...

  • An increase of In MS-SQL time was identified. Use Precise for SQL Server to try and locate the cause. Check schema changes, major table growth and scalability changes.

 

Heavy Collapsed Statement

A collapsed statement includes several statements that use the same text, but not the same constants.

 

 

A set of collapsed statements constitute a major consumer of MS-SQL resources. By tuning the set of statements, you can free resources needed by other statements and processes.

 

Table 13-2    Heavy 2 Heavy collapsed statement findings 

Column

...

Description
What to do

...

nextIn the SmarTune tab, examine the text of the relevant statements. Check their scalability and associated list of statements. Select the statement you want to analyze, and launch to the SQL tab with the statement in context. Examine its execution plan, change data and statistics to determine what is causing its high resource consumption.

...

Advice

The following scenarios indicate what factors can lead to heavy resource consumption and what steps you can take:

...

  • A scalability issue was raised. Check performance over time in the Over Time tab.

...

  • In the Statements tab, tune a statement by doing one of the following:

    ...

      • If a heavy operator was identified, use the SQL findings to identify the heaviest operator.

    ...

      • If a missing index was identified (SQL Server 2005 only), this means that the SQL Server optimizer identified a missing index when the access plan was created. Detailed index information can be found in the Recommend tab in the SQL tab.

    ...

      • If missing statistics were identified this means that the SQL Server optimizer identified missing statistics when the access plan was created. Detailed information on missing statistics for the collapsed statement can be found in the Recommend tab in the SQL tab.

    ...

      • If an increase in MS-SQL time was identified, use Precise for SQL Server to try and locate the cause. Check schema changes, major table growth and scalability changes.

    ...

    Major Statement in Batch

    The statement consumed more than 50% of MS-SQL batch resources. By tuning the statement, you can free resources needed by other statements and processes.

    ...

    For example: Consider scheduling different activities that uses the same resource at different times, thereby freeing the resources for the statement.

    Anchor

    ...

    AboutObjectfindings
    AboutObjectfindings
    About Object findings

    ...

    The following object findings can help you tune your system:

    ...

    What to do next    ■    Examine the difference between the number of rows and allocated pages and consider rearranging the table by creating a cluster index and then dropping it.

     

    Anchor
    AboutInstancefindings
    AboutInstancefindings
    About Instance findings

     

    The following instance findings can help you tune your system:

    ...

    ■    Examine the overall CPU usage (using Insight OS) to find out if other processes occupy the CPUs.

     

    Anchor
    AboutStoragefindings
    AboutStoragefindings
    About Storage findings

     

    The following Storage findings can help you tune your system:

    ...