+ Reply to Thread
Results 1 to 3 of 3

Graph MSSQL Job Start Time And Duration

  1. #1
    Registered User
    Join Date
    04-21-2009
    Location
    here
    MS-Off Ver
    Excel 2003
    Posts
    2

    Lightbulb Graph MSSQL Job Start Time And Duration

    Hi!

    I would like to create a Chart with start time and duration of MSSQL job history over 24 hours. The purpose of this is to show what job is running, at what time and for how long, so we can optimise the scheduling and make sure not tasks runs at the same time. I'm not sure wich type of graph is best and how to set up the data. Can you help me getting started? Here's a sample data...
    Attached Files Attached Files

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Graph MSSQL Job Start Time And Duration

    Hi,

    this is really difficult to chart, since you have data that spans a 24hr time frame and jobs that run for only a few seconds. You can chart it with a stacked bar graph, taking only two columns into the graph: the last run time and the last run duration stacked on top of each other. Then format the bars for the last run time with no border and no fill color, which leaves you with the run duration floating. Add column A as your categories to the chart. But, as I said before, since most jobs are only a few seconds long, they won't even occupy a pixel in your graph, so they won't be plotted at normal resolution. You may want to break up the data into hourly chunks and graph by hour, but even then, with a very wiiiiiiide graph, you'll only see a thin line for a job of a few seconds.

  3. #3
    Registered User
    Join Date
    04-21-2009
    Location
    here
    MS-Off Ver
    Excel 2003
    Posts
    2

    Smile Re: Graph MSSQL Job Start Time And Duration

    Thaks for you're help! I've never though about a stacked bar Graph. Of course, jobs that runs in a few seconds are not as much as a concern for me, so I might just forget about the one that are recuring to often. But most important, you got me on the right track. Very appreciated.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1