Skip to content
Tracy Boggiano's Blog

Tracy Boggiano's Blog

Musing on more than data, trying to make a difference somewhere…

  • Home
  • About Me
  • Presentations
  • Events
  • DEI Virtual Group
  • Speaking Mentors
  • TriPass
  • WITspiration
  • Mental Health Resources
  • DBA Resources

Category: Automation

  • Home
  • Automation
Automation PowerShell

Using Azure Automation and Runbooks to Run Azure SQL Database Maintenance Tasks

June 6, 2023June 23, 2023By Tracy Boggiano

I’ve been using Azure SQL Database for quite some while and have set up it in many various ways to run Ola’s Index Optimize and Statistics Updates on them.  All of these have seemed way too complicated probably because I was setting them up once, not again for several more

Automation

Script to Install the Tools I Use on My Jumpbox

January 24, 2023February 3, 2023By Tracy Boggiano

I wrote a blog post a few months ago about the tools I use on my jumpbox you can read here.  Since then, I have automated most of the install with Chocately and so I’ll have the script later I’m going to blog it here.  First, we need to install

Automation Scripts

Automatically Take Missed Backups with Ola Hallengren’s Scripts

November 29, 2022November 28, 2022By Tracy Boggiano

I blogged a few years ago about my configuration tables for Ola Hallengren’s maintenance solution that allows me to pull the configuration parameters from tables so I don’t have to edit SQL Agent jobs and allows me to query tables to see how all my jobs are configured with Ola’s

Automation PowerShell Scripts

Run Glenn Alan Berry’s Diagnostic Notebooks Everywhere

July 26, 2022July 25, 2022By Tracy Boggiano

As part of starting a new job, you need a way to get a good inventory of basic information about SQL Server instances.  Once you have done what I outlined in this blog post.  I find it helpful to run Glenn Alan Berry’s Diagnostic Notebooks against all the instances to

Automation Scripts

Storing sp_BlitzIndex to a Table Between Reboots

July 19, 2022By Tracy Boggiano

I mentioned in my New Database Job – The 90 Day Plan blog how I have a trick for storing index usage stats up until close to the next reboot of the SQL Server.  You really can do this for any DMV-related query that you get reset at the reboot of

black server racks on a room
Automation Scripts

New Database Job – Understand What You Have

July 5, 2022July 7, 2022By Tracy Boggiano

In my previous post, I expounded on the first 30 days I had at four jobs in the last four years. and how to set up your jobs box. I commented and got quoted on the fact that if it’s documented I don’t support it. So, these are methods of

Automation Performance Scripts

Spreading Job Run Times Out on an MSX/TSX Scheduled Job

May 29, 2018May 27, 2018By Tracy Boggiano

Problem My company heavily uses MSX/TSX jobs for everything.  But our SAN doesn’t necessarily like if we run all our index maintenance, backups, and integrity checks at the same time.  So here is a quick little post on how you can schedule the workload to spread out across all your servers across

Automation Scripts

Procedure to Create New Filegroups and Files

April 3, 2018April 3, 2018By Tracy Boggiano

Problem For good database design, it is not idea to have everything in your PRIMARY filegroup so you can do partial backups, piecemeal restores, and for performance to separate your tables and indexes. You need different filegroups when looking at separating your indexes and tables and partitioning. Creating all these

Automation Performance

Setting up Telegraf to Startup on Windows

March 12, 2018July 2, 2018By Tracy Boggiano

Problem I’ve noticed on demo machines that sometimes Telegraf doesn’t start on the first try, and this seems to not happen on most of my production servers, but they have a lot more memory and CPU power. So I figured I would write a quick blog post and provide a

Automation Scripts

Implementing Smart Differential Backups Using Ola Hallengren’s Backup Scripts in SQL Server 2017

January 23, 2018April 18, 2018By Tracy Boggiano

UPDATE, April 18, 2017: Ola has added this functionality directly to his scripts. Please download his scripts instead as they have more error handling and other functionality built-in.  I will be updating my configuration tables and procedures shortly. This is part 2 of 2 on taking smart backups. I wrote a previous

Posts pagination

1 2 3 Next

Recent Posts

  • Looking Back at 2025: Volunteering Is My Way of Life January 9, 2026
  • Living with Chronic Suicidal Thoughts: A Personal Reflection November 20, 2024
  • MVP No more, But It’s OK July 12, 2024
  • Presenting at PASS Summit 2023 – Atomic Habits July 26, 2023
  • Twenty Years as a Guardian ad Litem June 26, 2023

Categories

  • Automation (24)
  • Exam Prep (9)
  • High Availability/Disaster Recovery (5)
  • Mental Health (14)
  • Miscellaneous (51)
  • Performance (14)
  • PowerShell (7)
  • Scripts (23)
  • Security (8)
  • SQLskills (1)
  • T-SQL Tuesday (32)
  • Training (4)
All Rights Reserved 2022.
Proudly powered by WordPress | Theme: Saya by Candid Themes.