This section includes the following topics:

About the Maintenance tab

Almost every SQL Server instance contains user applications along with SQL Server Agent activities (or other activities that the DBA runs to monitor the instance). The Maintenance tab mainly displays information on the SQL Agent activities and other SQL Server activities that are related to the DBA maintenance tasks.

The Maintenance tab enables you to provide answers to the following types of questions: "When was a specific SQL Agent job executed? What was the duration of the last run and which changes in the job led to performance degradation?"

How the Maintenance tab is structured

The Maintenance tab displays information on a selected entity and its associated entities. When you open the Maintenance tab from the Dashboard tab, the selected entity is by default Instance, meaning that information is displayed on the instance level.

When you open the Maintenance tab from the Activity tab, the tab is launched, in context, if the selected entity exists in the Maintenance tab. For example, if you launch the Maintenance tab from the Activity tab after examining a Job's performance, the same job entity will be displayed when you launch the Maintenance tab.

If you open the Maintenance tab from another tab, the historical settings (meaning those settings which were selected when you left the tab, such as the last entity you drilled down to) are taken into account and the information displayed the last time you viewed this tab is displayed (similar to clicking the History button and returning to a previous tab).

The selected entity is always reflected in the Tab heading, which serves as a point of orientation. The highest-level entity you can view information for in the Maintenance tab is Instance. You can select an instance from the Instance list.

The entities displayed in the Association area are associated with the selected entity displayed in the Main area. At times, the relationship between the entity displayed in the Main area and those displayed in the Association area is that of parent to child and sometimes it merely represents that there is a relationship between the selected entity and the entities displayed in the Association area.

About the Main area in the Maintenance tab

The Main area shows comprehensive information on the selected parent entity. You can choose from several views to examine the entity from different angles. You can, for example, focus exclusively on Jobs data (default), or view data on database maintenance plans or alerts.

About the Association area in the Maintenance tab

The Association area provides corresponding information on the child entities. You can view information on one type of child entity at a time, such as jobs or database maintenance plans, by selecting a control from the Association Controls list. The selection you make is reflected in the Association area only; the Main area remains unchanged. For some entities, tabs above the Association area enable you to view additional information: Clicking a tab changes the table columns for the same type of child entities.

From the Association area, you can also drill down to another parent entity by clicking a table row. A drill-down operation affects the whole tab: When you drill down to another entity, the Tab heading reflects the new selection, the Main area displays information on the new parent, and the Association area shows data on the child entities.

For example, when you want to view information on a specific alert, choose Alerts from the Association controls. The Association area changes to display alert-related information. Note that the Tab heading and the Main area remain unchanged. In the Association area, click the row of the alert you want to view detailed information for. The Tab heading indicates the newly selected entity; the Main area displays information on the selected alert, and the Association area shows information, such as jobs executed as a result of the alert.

See About Precise for SQL Server tabs.

About examining Maintenance Tab Entities

The Maintenance tab displays information on different entities. This section provides an overview of all entities, their meaning, and their views.

The following entities can be examined in the Maintenance tab:

About the Instance Entity

The Instance entity displays DBA-related information on the monitored SQL Server instance, in the following views:

About getting an overview of the OS and SQL Server instance

The Overview displays general information on the OS and the SQL Server instance. In addition, the status of the Agent (SQL Server Agent, Microsoft search and Distributed transaction coordinator) is reported.

About viewing which Job changes were carried out during a selected time period

The Job view displays the job changes that were carried out during the selected time period. The changes can occur in the job itself, and in the job's steps and schedule details.

The following information is displayed:

About the Job Entity

The Job entity displays information on the selected job. While job performance information is also available in the Activity tab, the Maintenance tab displays additional information, such as, configuration parameters and scheduling, as well as performance information on the job runs. Unlike the Activity tab, where the source of information is the Precise for SQL Server Collector, the information displayed in the Maintenance tab is retrieved directly from the SQL Server.

The following views are available:

About getting an overview of the selected job

The Overview displays information on the selected job along with information on its last run and job runs, over the selected time period, as follows:

About viewing a job configuration to send notifications

A job can be configured to notify various messages when it completes its run. The Notifications view displays how the job has been configured to send its various notification messages.

The following information is displayed:

About viewing job changes, schedules and step changes

The Job Changes view displays the job changes and job schedules and step changes that were performed over the selected time period. The following information is displayed:

The following job details are monitored by the Collect Schema Changes process:

About the Job entity Association area

You can view information on the entities associated with the selected Job entity in the Association area. It is possible to associate to the Job entity from the Instance, DB Maintenance Plan, Operator and Alert entities.

The following table describes the details displayed for each job.

Table 1 Job details table

ColumnDescription
Indicates whether the job has been changed according to the Precise for SQL Server schema change process, which runs by default once a day.
JobDisplays the name of the job. Each row in the table indicates a different job.
DurationDisplays the total time that elapsed for the executions of the job, over the selected time period.
RunsDisplays the number of job executions carried out over the selected time period.
Job StatusDisplays the current status of the job (Executing Job Step, Waiting For Thread, Between Retries, Not Running, Suspended).
OwnerDisplays the job owner, which can be one of the logins defined in the instance.
CategoryDisplays the category to which the job belongs, for example, Uncategorized (Local), Database Maintenance, Replication.
EnabledIndicates whether the job is enabled or disabled.
ScheduledIndicates whether or not a job is scheduled (YES/NO).
WarningsShows the warnings defined for a job. For example, if no schedule was defined for a job the following message is displayed: "No schedules were defined for this job."

The following table shows information on the job's last run.

Table 2 Last Run table

ColumnDescription
StatusDisplays an icon indicating the status of the last run. Status can be one of the following: Failed, Succeeded, Retry, Canceled, In Progress.
JobDisplays the job name.
Last DurationDuration of the last run.
DateDate of last run.
Last Step ExecutedThe last step executed during the last execution of the job.

About the Job Step entity

The Job Step entity displays information on the selected Job step. While Job Step performance information is also available in the Activity tab, the Maintenance tab displays additional information, such as, configuration parameters, what action to perform when the current step has succeeded, in addition to performance information on the job step runs. Unlike the Activity tab, where the source of information is the Precise for SQL Server Collector, the information displayed in the Maintenance tab is retrieved directly from SQL Server.

The following views are available:

About getting an overview of a job step

The Overview displays information on the selected job step along with information on its last run and job step runs, over the selected time period.

About viewing the command executed by a subsystem

The Command view displays the command to be executed by the subsystem during the current job step.

About viewing Job Step changes

The Job Step Changes view displays the Job Step changes that were carried out during the specified time frame, as follows:

The following job step details are monitored by the Collect Schema Changes process:

About the Job Step entity Association area

You can view information on the entities associated with the selected Job Step entity in the Association area. It is possible to associate to the Job Step entity from the Job entity.

The following table shows the general job step information displayed in the Details tab.

Table 3 General job step details

ColumnDescription
Indicates whether the job step has been changed according to the Precise for SQL Server schema change process, which runs by default once a day.
Indicates whether the current step is the first step in the job.
Step IDDisplays the ID of the step in the job.
Step NameDisplays the name of the step.
TypeThe name of the subsystem used by the SQL Server Agent to execute the job step. For example, TSQL, and Replication Distributor.
On SuccessAction to perform when the execution of the step succeeds. For example, Go to next step.
On FailAction to perform when the execution of the step fails For example, Quit the job when a failure is detected.
DatabaseThe name of the database in which the command is executed (relevant only if the subsystem is TSQL and Replication Queue Reader).

The following table displays details of the job step's last run.

Table 4 Last run tab

ColumnDescription
Indicates whether the job step has been changed according to the Precise for SQL Server schema change process, which runs by default once a day.
Indicates whether the current step is the first step in the job.
Step IDDisplays the ID of the step in the job.
Step NameDisplays the name of the step.
DateThe date and time the job step was last executed.
StatusStatus of the job step execution. The status can be one of the following: Failed, Succeeded, Retry, Canceled, In progress.
MessageDisplays an SQL Server error, if the job step finished with an error, and information on the step run, such as under which user the step was executed.
DurationAmount of time that elapsed during the last execution of the job step.

About the Text tab

The following table displays the job step command to be executed by the subsystem.

Table 5 Job Step command

ColumnDescription
Indicates whether the job step has been changed according to the Precise for SQL Server schema change process, which runs by default once a day.
Indicates whether the current step is the first step in the job.
Step IDDisplays the ID of the step in the job.
Step NameDisplays the name of the step.
Step CommandDisplays the command to be executed by the subsystem during the current job step.

About the Job Schedule entity

The Job Schedule entity displays scheduling information for the selected Job, such as schedule details, and next run date.

The following views are available:

About getting an overview of a job schedule

The Overview displays the following Job Schedule details:

About viewing Job schedule changes

The Job Schedule Changes view displays the Job Schedule changes that were carried out during the selected time frame, as follows:

The following job schedule details are monitored by the Collect Schema Changes process:

About the Job Schedule entity Association area

You can view information on the entities associated with the selected Job Schedule Changes entity in the Association area. It is possible to associate to the Job Schedule Changes entity from the Job entity.

The following table describes the information displayed on job schedule changes.

Table 6 Job Schedule Changes table

ColumnDescription
Indicates whether the job schedule has been changed according to the Precise for SQL Server schema change process, which runs, by default, once in a day.
ScheduleDisplays the name of the job schedule.
EnabledIndicates whether or not the schedule is enabled (YES/NO).
Creation DateDisplays the date the job schedule was created.
Next Run DateDisplays the date of the next job execution.
Schedule DetailsDisplays job scheduling details, such as frequency, date range, time range, and on which days of week job should be run.

About the Job Run entity

The Job Run entity displays information on the selected Job run, such as, run date, duration, last step executed.

About getting an overview of a job run

The Overview displays general information on the Job Run.

About the Job Run entity Association area

You can view information on the entities associated with the selected Job Run entity in the Association area. It is possible to associate to the Job Run entity from the Job entity.

The following table describes information displayed in the Job Run table.

Table 7 Job Run table

ColumnDescription
DateDisplays the date the job run was executed.
StatusDisplays an icon indicating the status of the job run (Failed, Succeeded, Retry, Canceled, In progress).
DurationAmount of time that elapsed during the execution of the job run.
Last Step ExecutedThe last step executed in the job run.
Steps SucceededNumber of steps that were executed successfully during the job run.
Steps FailedNumber of steps that failed during the job run.
Message

Displays general information on the job run, such as, whether or not the job was successfully executed, which schedule executed the job run and the last step that was executed.

if the text in the Message field is cut off, hold the cursor over the Message to view the rest of the text.

About the Job Step Run entity

The Job Step Run entity displays information on the selected Job Step Run, such as, run date, duration of execution, and status.

The following views are available:

About getting an overview of a job step run

The Overview displays general information on the Job Step Run, as follows:

About Command

The Command view displays the command to be executed by the subsystem during the current job step run.

The command displayed is the command currently saved in the production system table. If you change the command after this step is run you will not be observing the command that was actually executed. To view the command that was actually executed, check the Job Step Changes view for the specified step.

About the Job Step Run entity Association area

You can view information on the entities associated with the selected Job Step Run entity in the Association area. It is possible to associate to the Job Step Run entity from the Job Run and Job Step entities.

The following table describes the information displayed in the Job Step Run table.

Table 8 Job Step Run table

ColumnDescription
DateDisplays the date the selected job step run was executed.
StatusDisplays an icon that shows the status of the job step run. Status can be one of the following: Failed, Succeeded, Retry, Canceled, In progress.
DurationDisplays the time that has elapsed during the execution of the job step run.
MessageDisplays an SQL Server error, if the job step run finished with an error, and additional information on the job step run, such as under which user the step was executed.

About the Operators entity

The Operator entity displays information on the selected Operator, such as operator name, E-mail address, and pager address.

About getting an overview of a selected Operator

The Overview displays the following general details on the Operator. The following information is displayed:

About the Operators entity Association area

You can view information on the entities associated with the selected Operators entity in the Association area. It is possible to associate to the Operators entity from the Instance and Alert entities.

The following table describes the information displayed in the Operators table.

Table 9 Operators table

ColumnDescription
OperatorDisplays the operator's name.
EnabledIndicates whether or not the operator can receive notifications when an alert occurs (YES/NO).
E-mail AddressDisplays the operator's e-mail address.
Last E-Mail DateDisplays the date the operator last received an e-mail alert notification.
Pager AddressDisplays the operator's pager address.
Last Pager DateDisplays the date the operator last received a pager alert notification.
Net Send AddressDisplays the operator's Net Send address.
Last Net Sent DateDisplays the date the operator last received a network message.

About the Alert Entity

The Alert entity displays information on the selected SQL Server Alert, such as alert name, error number, and E-mail notification.

About getting general information on an SQL Server Alert

The Overview displays general information on the Alert. The following information is displayed:

About the SQL Server Alert Association area

You can view information on the entities associated with the selected Alert Entity in the Association area. It is possible to associate to the Alert entity the Instance entity.

The following table describes the information displayed in the Details table.

Table 10 Details table

ColumnDescription
AlertThe name of the alert.
EnabledIndicates whether the alert is enabled or disabled (YES/NO).
Error NumberDisplays the number of the error that occurred.
SeverityDisplays the level of severity that triggered this alert.
Last OccurredDisplays the last occurrence of this alert.
OccurrencesNumber of occurrences for this alert.
Count Reset DateDisplays the date the occurrence count will be initialized to 0.
Performance ConditionThe condition that is defined on the performance counters that trigger the alert. For example, SQLServer: Access Methods|Extent Deallocations/sec||<|15.

The following table describes the information displayed in the Notifications table

Table 11 Notifications table

ColumnDescription
AlertDisplays the name of the alert.
E-Mail NotifyIndicates whether or not an E-mail notification will be sent (YES/NO).
Pager notifyIndicates whether or not a pager notification will be sent (YES/NO).
Net Send NotifyIndicates whether or not a network message will be sent (YES/NO).
Last NotificationDisplays the alert's last notification date.
Notification MessageDisplays additional information sent with the alert.

About the Database Maintenance Plan entity

The DB Maintenance Plan entity displays information on the selected DB Maintenance Plan such as, owner, databases, and actions.

The following views are available:

About getting an overview of the database maintenance plan

The Overview displays general information on the maintenance plan. The following information is displayed:

About viewing a maintenance plan's history

The History view displays a list of the actions performed by the selected maintenance plan. The following information is displayed:

About Performance

The Performance view displays the total duration of the jobs that ere executed by the DB maintenance plan, during the selected time period.

See Focusing on information in overtime graphs.

About the Database Maintenance Plan entity Association area

You can view information on the entities associated with the selected DB Maintenance Plan in the Association area. It is possible to associate to the DB Maintenance Plan entity from the Instance entity.

The following table describes the information displayed in the DB Maintenance Plan table.

Table 12 DB Maintenance Plan table

ColumnDescription
DB Maintenance PlanThe name of the selected DB maintenance plan.
Creation DateDisplays the date the selected DB maintenance plan was created.
OwnerDisplays the owner of the selected DB maintenance plan.
DatabasesDisplays a list of the databases associated to the selected DB maintenance plan.
ActionsDisplays a list of the actions to be performed by the selected DB maintenance plan.

How the Maintenance tab can help you identify performance problems

You can identify a performance problem by doing one or more of the following:

Examining job performance

Examining job runs over time can help you identify problematic time periods and view the general trend of the job runs. Examining how the job ran, comparing its number of executions and total duration, and analyzing a breakdown of its performance in the SQL Server can help you detect bottlenecks and discover their causes. Bottlenecks can be caused by a variety of causes, such as changes in scheduling, running the job at an inappropriate time, and offending SQLs.

To examine job performance

  1. In the Time Frame list, choose the period of time you want to analyze.
  2. In the Instance list, choose the item you want to analyze.
  3. On the Association controls, in the Association area, click Jobs.
  4. On the Details tab, drill down to the job you want to analyze.
  5. On the View controls in the Main area, click Overview.
  6. In the Main area, observe how the job ran and compare the number of times it ran with the amount of time it ran.
    Compare this information to the information displayed the In MS-SQL overtime graph to see a breakdown of its performance in the SQL Server.
  7. Locate the run with the highest duration and drill down to it to view additional information.

Examining how job changes affect performance

Changing a job's details may affect the performance of your system. Some changes are implemented to improve the performance of your application. Precise for SQL Server allows you track job changes and correlate them to the resource consumption of the job. This allows you to detect changes that increase the resource consumption of the job.

The jobs that were changed are indicated by an icon in the Association area. To determine how job changes affect performance

  1. In the Time Frame list, choose the period of time you want to analyze.
  2. In the Instance list, choose the item you want to analyze.
  3. On the Association controls, in the Association area, click Jobs.
  4. In the Association area, locate the jobs that have changed (indicated by a Change icon). Drill down to one of these jobs.
  5. On the View controls in the Main area, click Job Changes.
    Observe which changes were made to the job or to its steps and schedules. Determine if the job change has affected performance. For example, if you notice that a job's schedule was changed do the following:

Examining the last execution of a job

Examining a job's last run can help you detect job failure and abnormal duration. Drilling down to the specified job run can help you learn more about its run by viewing the steps chain and the status and duration of each step.

To examine the last execution of a job

  1. In the Time Frame list, choose the period of time you want to analyze.
  2. In the Instance list, choose the item you want to analyze.
  3. On the Association controls, in the Association area, click Jobs.
  4. On the Last Run tab, drill down to the job you want to analyze.
  5. On the View controls in the Main area, click Overview.
  6. View the steps chain and the status and duration of each step.

Monitoring the occurrences of alerts

Monitoring alerts can help identify when an alert last occurred, what notifications were defined on the alert, when the notifications where last sent and which operators were involved.

To monitor the occurrences of alerts

  1. In the Time Frame list, choose the period of time you want to analyze.
  2. In the Instance list, choose the item you want to analyze.
  3. On the Association controls, in the Association area, click Alerts.
  4. On the Details tab view when the alert last occurred.
  5. Drill down to an alert to observe the actions performed when the alert was triggered and whether those actions were responsible for bottlenecks.

Monitoring a database (DB) maintenance plan

Monitoring a database (DB) maintenance plan can help you learn about the actions being performed in each maintenance plan and detect performance problems resulting from these actions. Drill down to a DB Maintenance Plan entity and choose the Performance view to analyze a plan's duration over time and detect problematic periods.

To monitor a database (DB) maintenance plan

  1. In the Time Frame list, choose the period of time you want to analyze.
  2. In the Instance list, choose the item you want to analyze.
  3. On the Association controls, in the Association area, click DB Maintenance Plan.
  4. Drill down to a DB Maintenance Plan entity.
  5. On the View controls in the Main area, click Performance. Analyze how long the plan ran, during the selected time period, and try to detect any problematic periods.
  6. On the View controls in the Main area, click History. Observe the actions performed in the specified plan.
  7. Check the jobs listed in the Association area to observe how each job contributed to the entire plan and drill down to a specific job to focus on a performance problem.


 |    |  |   |   |