Comments on: creating a history timeline https://dbatools.io/timeline/ the community's sql powershell module Fri, 13 Sep 2019 08:46:57 +0000 hourly 1 https://wordpress.org/?v=5.3.4 By: Tim Toennies https://dbatools.io/timeline/#comment-68613 Thu, 11 Jul 2019 14:46:45 +0000 https://dbatools.io/?p=8008#comment-68613 Is it possible to change the default row label from dd/mm hh:mm to mm/dd/yyyy hh:mm ?

]]>
By: Marcin Gminski https://dbatools.io/timeline/#comment-64546 Thu, 02 May 2019 19:54:14 +0000 https://dbatools.io/?p=8008#comment-64546 Hi, A lot has changed since the release of the history timeline. The -NoJobSteps in Get-DbaAgentJobHistory is now -ExcludeJobSteps. You can see the full reference in the docs: https://docs.dbatools.io/#Get-DbaAgentJobHistory. Any questions please let me know. Thanks.

]]>
By: Ken Hemmerling https://dbatools.io/timeline/#comment-64545 Thu, 02 May 2019 19:50:00 +0000 https://dbatools.io/?p=8008#comment-64545 I ran “remove-module dbatools” followed by “Install-module dbatools’ in an PowerShell window run as administrator to make sure I’ve got the most recent version. When I run:
> Get-DbaAgentJobHistory -SqlInstance nex-srv1\dev -StartDate ‘2019-04-01 00:00’ -EndDate ‘2019-04-20 23:59’ -NoJobSteps
I get:
> Get-DbaAgentJobHistory : A parameter cannot be found that matches parameter name ‘NoJobSteps’.
> At line:1 char:108
> + … -StartDate ‘2019-04-01 00:00’ -EndDate ‘2019-04-20 23:59’ -NoJobSteps
> + ~~~~~~~~~~~
> + CategoryInfo : InvalidArgument: (:) [Get-DbaAgentJobHistory], ParameterBindingException
> + FullyQualifiedErrorId : NamedParameterNotFound,Get-DbaAgentJobHistory

Any idea what the problem is?

]]>
By: Marcin Gminski https://dbatools.io/timeline/#comment-28536 Mon, 19 Nov 2018 14:22:37 +0000 https://dbatools.io/?p=8008#comment-28536 Yeah I like Google Charts too but they can be difficult to work with. They are really designed for a client-server architecture. Take a look at some of the SQLWATCH reports https://sqlwatch.io/ , there is a Gantt Chart in PowerBI which should get you started.

]]>
By: rich https://dbatools.io/timeline/#comment-28528 Mon, 19 Nov 2018 13:30:08 +0000 https://dbatools.io/?p=8008#comment-28528 Hmm.. ok.
I really like the google gantt chart look that dbatools provided.

Since querying the History of Jobs and Backups is not a too big a deal, it might be easier to create procedure to gather data then use PowerBI to call the procedure, that is assuming you can create a nice Gantt chart in PowerBI, which i’m not familiar with doing at this time.

I’m a newbie in PowerBi so this is a new thing for me. I literally just downloaded PowerBI about 2 weeks ago to play and learn a little. looks like i might be digging in to learn a little more about it.

BTW, thank you for the great set of tools.
dbatools is an awesome tool-set, I wish i would’ve found this earlier!!

]]>
By: Marcin Gminski https://dbatools.io/timeline/#comment-28519 Mon, 19 Nov 2018 12:53:29 +0000 https://dbatools.io/?p=8008#comment-28519 I see. Bit of a hack but if you dump both outputs from Get-DbaBackupHistory and Get-DbaAgentJobHistory into JSON (ConvertTo-JSON) and load that json into PowerBI you should be able to correlate results together. You can then refresh the JSON daily and refresh powerBI to load new data.

]]>
By: Rich https://dbatools.io/timeline/#comment-28510 Mon, 19 Nov 2018 12:06:58 +0000 https://dbatools.io/?p=8008#comment-28510 Yes, we do have an agent that manages our backups, however SQL server records the history just like if it was triggered by the agent. I have no issue running either Get-DbaAgentJobHistory or Get-DbaBackupHistory and getting the results. All i was hoping to do is run both at the same time or merge the results so Backups and Jobs would all be listed on the left and i can scan through to see what jobs were running while the backups were running or what backups were running while one of my ETL processes was running. It would be very powerful to see those all on the same chart.

]]>
By: Marcin Gminski https://dbatools.io/timeline/#comment-28508 Mon, 19 Nov 2018 11:58:43 +0000 https://dbatools.io/?p=8008#comment-28508 Hi, I presume you are asking about a scenario where backups aren’t driven by the SQL agent? Ie NetBackup or other third party solution? The simple answer is no.
If you have backups triggered by the agent then the job “Database backup” will correlate with the backup itself and will be enough to establish contention.

To address the first scenario may I recommend SQLWATCH.IO? (Disclaimer, This is a tool witten by myself, shameless self promotion but it will likely give you what you are asking for)

]]>
By: rich https://dbatools.io/timeline/#comment-28503 Mon, 19 Nov 2018 11:49:59 +0000 https://dbatools.io/?p=8008#comment-28503 Is there any way to overlay the results of both the AgenJobHistory and BackupHistory on the same gantt chart. I was thinking that would be a great tool to see if any of the jobs overlay any of the backups to identify contention of resources of long running jobs or backups within the same time slots..

thank you

]]>
By: Antonio https://dbatools.io/timeline/#comment-17578 Wed, 26 Sep 2018 14:55:58 +0000 https://dbatools.io/?p=8008#comment-17578 Amazing. Thank you so much for this.

]]>