SQL Agent Insights:Documentation:Job Conflict Outlook Overview
The Job Conflict Outlook window is your view into potential job conflicts scheduled in the future. Most monitoring products can show what has happened in the past, as the data exists within SQL Server® system tables. SQL Agent Insight however, takes this one step further and attempts to show scheduled jobs 24 hours into the future, depicting on a Gantt chart, any potential conflicts. This allows savvy database administrators to see potential job conflicts, allowing them to reschedule a job if deemed necessary to avoid such conflicts. Upon opening the Job Conflict Outlook window, SQL Agent Insight immediately determines all jobs that are eligible to be predicted. For successful prediction into the future of when a job will execute the following conditions must be met:
|
Key Sections
Tool/Action Bar
The following actions are available, (left to right), within the task / action bar.
Size all Columns to Fit
- Sizes all columns (with a single click) to the size of the maximum observed cell.
Toggle Grid Visibility
- Show / hide the data grid allowing more screen real estate to show the Gantt chart.
Select and Chart All Jobs with Conflicts
- A single click action to select and chart all jobs that have at least one job conflict in the # of Conflicts column.
Select and Chart All Jobs with Frequency > 0
- A single click action to select and chart all jobs that have at least one job execution in the Frequency column.
Check All Eligible Jobs
A single click action to select and chart all jobs that are eligible to be graphed (i.e. green color band in the row header).
Uncheck All Jobs
- A single click action to unselect all jobs, effectively removing them from the chart.
Reset Chart Zoom
- Resets the Gantt chart zoom level back to the default, 100% completely unzoomed. This is the same as left double-clicking the chart area or pressing the ESCape key while the chart has focus (i.e. green border).
Plot Chart with Selected Jobs
- Charts only the selected jobs in the Gantt chart. Must have at least a single job selected for this to display the chart.
Cancel Processing and Close
- Depending on the SQL Server® instance monitored, the number of jobs, and the frequency of those jobs, it may take a long time to calculate all of the potential conflicts. Pressing the cancel button will stop that processing, throw up an application exception noting that the operation has been cancelled by the user, and close the window.
Reload Data from Server and Refresh
- Reloads all data from the monitored instance and re-calculates all columns shown.
Main Workspace / Job Pane
The job grid will show all jobs that have a single schedule at the bare minimum. Some jobs may be listed more than once if that job has more than one schedule configured. Jobs without schedules are not shown since they can only conflict with other jobs if manually run.
The job grid has the following columns which can be sorted by clicking on the column header.
- Select Jobs to Chart
- A checkbox column allowing the selection of single jobs. At least one eligible job be selected to plot in the Gantt chart. Additionally, the checkbox cannot be checked if the job is ineligible to be charted, as indicated by the red color band in the row header.
- Job
- The job name.
- Schedule
- The schedule associated with this particular job.
- Frequency
- The number of job executions for this job and associated schedule over the course of the graphing period, by default, 24 hours into the future.
- # of Conflicts
- The number of job executions for this job and associated schedule that conflict with other job executions over the course of the graphing period, by default, 24 hours into the future.
- Average Run Time
- The average run time of the job and associated schedule determined from the job execution history system tables.
- Max Run Time
- The maximum run time of the job and associated schedule determined from the job execution history system tables.
- # of Historical Executions
- The number of entries for this job and associated schedule from the job execution history system tables.
Gantt Chart / Help
Chart Controls
Additional Options
Microsoft®, Windows® and SQL Server® are registered trademarks of Microsoft Corporation in the United States and/or other countries.
Some icons courtesy of Icons8