Versions Compared

Key

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

...

The SmarTune process detects performance deterioration by regularly analyzing SQL Server performance data, and identifying less than optimal behavior.Note:

Info

You can change the frequency of how often the processes are run and configure the process parameters in AdminPoint. See the Precise Administration Guide for details.

SmarTune displays performance findings that may indicate potential problems in the database. The list of problems includes the following:

...

You can access the SmarTune tab from the following locations:

  • From the Dashboard.
    Select the SmarTune icon in the Findings table, for a given instance.
    The SmarTune tab opens with the selected instance, displaying the findings for this instance, in the context of the selected instance and timeframe.
  • From the Activity tab.
    Click SmarTune on the Tab Selection bar.
    The SmarTune tab opens with the selected instance, displaying the findings for this instance, in the context of the selected instance and timeframe.
  • From the Current, Objects, or Maintenance tabs.
    Click SmarTune on the Tab Selection bar.
    The SmarTune tab opens with the selected instance, displaying the findings for this instance, in the context of the selected instance.

...

The SmarTune tab is divided into two areas—the Findings area and the Details area. The Findings area displays all findings returned by SmarTune for the selected time frame. The Details area provides detailed information regarding the selected finding.

About the Findings area in the SmarTune tab

The Findings area lists all the statements, collapsed statements, tables or instance events that were detected for a specific instance, within the selected time frame. All problems are ranked by severity. An Ignore icon, lets you decide if you want to remove a problem from the Findings table. This does not mean that SmarTune will stop checking these findings, rather that they will not be displayed in the Findings table. Clicking on an item in the Findings list refreshes the information displayed in the Details area.

...

ColumnDescription
Severity IconIndicates how severe the detected problem really is. Calculates the severity of the finding in relation to the entire instance.
Type

Indicates the type of finding. Can be one of the following:■    Heavy

  • Heavy statement
■    Heavily
  • Heavily accessed object
■    Heavy
  • Heavy collapsed statement
■    Instance
  • Instance event
Object

Depending on the type of finding, displays one of the following:■    For

  • For a heavy statement: the statement ID
■    For
  • For a heavily accessed object: the table name
■    For
  • For a heavy collapsed statement: the collapsed statement ID
■    For
  • For an instance event: empty field
In MS-SQL

Depending on the type of finding, displays one of the following:■    For

  • For a statement: total time spent In MS-SQL, during the selected time period.
■    For
  • For an object: total In MS-SQL contribution to the table, during the selected time period.
■    For
  • For a collapsed statement: total In MS-SQL time of all statements that are part of the collapsed statement.
■    For
  • For an instance event: the In MS-SQL time related to the event, when available.
DatabaseDisplays the name of the statement or object affected by the finding. The field is left empty in the case of an instance event finding.

 

User

Depending upon the type of finding, displays one of the following:■    for

  • For a statement: parsing user
■    for
  • For an object: owner
■    for
  • For an instance event: empty field
Last DetectedDisplays the last time the finding was found.
Ignore IconClick to ignore a finding. The finding is added to an Ignore list and is no longer displayed in the Findings table. You can always redisplay a finding by turning off the Ignore list or by specifying which findings you want to restore in the Ignore list.

...

Table 12-2 About severity icons 

Severity IconLevel of Severity

...

     Low

    Medium

...

Image AddedLow
Image AddedMedium
Image AddedHigh

About the Details area in the SmarTune tab

The Details area displays comprehensive information on the problem selected in the Findings area. A set of tabs lets you page through different views to gain additional information on the selected finding. The types of tabs, and the information displayed in them, changes according to the type of finding you chose to investigate in the Findings area.

...

Table 12-3 Information displayed in the Details area when a statement is selected

Tab

 

Tab    Information displayed

...

Information Displayed
Highlights

Offers a quick overview of the major finding details.

...

The Text area displays the actual text of the statement.

The Statement Findings area presents an overview of all the findings detected within a time frame, for the selected statement.

...

  • Severity icon. Indicates how serious a problem is, in relation to the statement's activity.

...

  • Launch icon. Lets you launch, in context, to a different tab to continue your analysis. The tab you launch to depends upon SmarTune's recommendations.

...

  • Type. Shows a description of the finding.

...

  • Table Name. Displays the name of the table the finding is related to.

...

  • Potential Gain. Calculates the possible gain obtained if the suggested change is implemented.

...

  • Last Detected. Last time a problem was found for the specific finding.

The Details for Finding area points you in the direction of additional tuning and findings-related data. They direct you to other tabs that can supply additional information regarding the specific finding, or to additional views within the SmarTune tab, so that you can view additional information about the specific finding.

...

ObjectsDisplays the list of objects appearing in a statement, that are part of the performance finding. For example, Objects area can indicate if a table or index is part of the heavy operators finding, or if a table has missing indexes or statistics.
Over

...

Time

Displays the following overtime graphs:

...

  • Statement In MS-SQL

...

  • . Displays the amount of time a statement spent in MS-SQL, during the selected time period.

...

  • Statement Scalability

...

  • . Displays the number of times a statement was executed, over the selected time period.

...

  • Avg. Duration vs. Schema Changes

...

  • . Displays the types of changes made to the schema, during the selected time period, such as whether an entity was dropped, created, or changed. This enables you to analyze how a schema change affected resource consumption and system performance.

The following table shows the information displayed for problematic objects.

Table 12-4 Information displayed in the Details area when an object is selected

Tab

 

Tab    Information displayed

...

Information Displayed
Highlights

Offers a quick overview of the major finding details, such as the table's details, and a description of the findings, including an estimate of the potential improvement to performance if you choose to make the suggested change.

...

  • Severity icon. Indicates how serious a problem is, in relation to the statement's activity.

...

  • Launch icon. Lets you launch, in context, to a different tab to continue your analysis. The tab you launch to depends upon SmarTune's recommendations.

...

  • Type. Shows a description of the finding.

...

  • Potential Gain. Calculates the possible gain obtained if the suggested change is implemented.

...

  • Last Detected. Last time a problem was found for the specific finding.

The Details for Finding area points you in the direction of additional tuning and findings-related data. They direct you to other tabs that can supply additional information regarding the specific finding, or to additional views within the SmarTune tab, so that you can view additional information about the specific finding.

...

StatementsDisplays a list of statements that accessed a table, during the selected time period.
Over

...

Time

Displays the following overtime graphs:

■    Storage

  • Storage. Displays an object's space usage, during the selected time period.

...

  • Table In MS-SQL

...

  • . Displays the MS-SQL contribution of the table, during the selected time period.

The following table shows the information displayed for problematic objects.

Table 12-5 Information displayed in the Details area when a collapsed statement is selected

Tab

 

Tab    Information displayed

...

Information Displayed
Highlights

The Text area displays the actual text of the collapsed statement.

...

The Collapsed Statement Findings area presents an overview of all the findings detected within a time frame, for the selected collapsed statement.

...

  • Severity icon. Indicates how serious a problem is, in relation to the collapsed statement's activity.

...

  • Launch icon. Lets you launch, in context, to a different tab to continue your analysis. The tab you launch to depends upon SmarTune's recommendations.

...

  • Type. Shows a description of the finding.

...

  • Table Name. Displays the name of the table the finding is related to.

...

  • Potential Gain. Calculates the possible gain obtained if the suggested change is implemented.

...

  • Last Detected. Last time a problem was found for the specific finding.

The Details for Finding area points you in the direction of additional tuning and findings-related data. They direct you to other tabs that can supply additional information regarding the specific finding, or to additional views within the SmarTune tab, so that you can view additional information about the specific finding.

Statements

...

Displays the list of statements belonging to the same collapsed statement, that were executed during the selected time period.
Over

...

Time

Displays the following overtime graphs:

...

  • Statement In MS-SQL

...

  • . Displays the amount of time a statement spent in MS-SQL, during the selected time period.

...

  • Statement Scalability

...

  • . Displays the number of times a statement was executed, over the selected time period.

The following table shows the information displayed on findings, at the instance level. Findings at the instance level check general behavior and statistics counters and give a general indication of the problems influencing instance performance.

Table 12-6 Information displayed in the Details area when an instance is selected

Tab

 

Tab    Information displayed

...

Information Displayed
Highlights

Offers a quick overview of the major finding details.

...

The text area describes the problem, displays thresholds and provides links to other tabs that can supply additional information regarding the specific finding, or to additional views within the SmarTune tab, so that you can view additional information about the specific finding.

The graph presents information that is relevant to the specific finding or instance event.

Activities

...

For: Locked Instance

...

  • Table displaying information on top 10 blocked statements

...

  • Instance activity overtime graph

For: Tempdb bottleneck

...

  • Table displaying information on top 10 problematic statements

...

  • Tempdb files I/O requests pie chart

...

  • Tempdb I/O requests vs. other files I/O requests

...

  • Tempdb storage

...

Statistics

For: The transaction log bottleneck

...

  • Table displaying information on top 10 statements suffering from transaction log bottlenecks. Click on a database in the table to launch it, in context, in the Statistics tab.

...

  • Table displaying top 10 statements waiting for log.

For: Buffer cache is too small

...

  • Page life expectancy graph. Indicates the average number of seconds a page stays in cache. If this value falls below the threshold set in AdminPoint, this can indicate that SQL Server may need more memory to boost performance.

...

  • Lazy writes/sec graph. Tracks how many times a second that the Lazy Writer process moves dirty pages from the buffer to disk to free up buffer space and make them available to user processes. Should be close to zero.

...

  • Page faults/sec graph. Indicates the overall rate at which the processor handles both hard and soft page faults.

For Tempdb bottleneck, three graphs showing tempdb statistics:

...

  • Temp tables creation rate

...

  • Temp tables for destruction

...

  • Active temp tables

About Statement findings

SmarTune displays the top statements occurring in a time slice. A SmarTune time slice is updated on an hourly basis. Top statements are the statements that have the highest In MS-SQL time, computed without lock time and remote wait time, that were running more than a specified number of minutes, during the time slice.

...