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
  • Page 2
T-SQL Tuesday
Automation T-SQL Tuesday

T-SQL Tuesday #98 – Your Technical Challenges Conquered – Corrupt Database in System Table

January 9, 2018January 9, 2018By Tracy Boggiano

This T-SQL Tuesday is brought to us by Arun Sirpal (b | t) and wants to write about a technical challenge we have conquered.  Having been a DBA for 18 years now it’s hard to pick on a technical challenge but I will stick to the more recent challenge of

Automation Scripts

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

January 2, 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 1 of 2 part series on taking smart backups.  Part 1

Automation Scripts

Automating Splitting Up a Large File in a Filegroup into Smaller Files

December 20, 2017December 9, 2017By Tracy Boggiano

Problem Recently, I read an article on extended events where you can watch proportional fill happen on your files.  It reminded of a process I wrote to solve a problem we had with page contention (PFS) with our systems processing upwards of 30K transactions per second.  So I wrote a process

Automation Scripts

Cleaning up Troublesome SQL Server Caches Using Up Memory

October 24, 2017October 30, 2017By Tracy Boggiano

Problem The current environment is rather unique, with a unique workload that requires writing things like this.  One of those being having the transactions cache on the server take up nearly 10 GBs of our memory.  Being that we would like that 10 GBs of memory go towards the Buffer Pool

Automation Scripts

Automatically Reseeding Identity Values on SQL Server

October 10, 2017October 20, 2017By Tracy Boggiano

The Problem You have tables that have a lot of data inserted into them and deleted that use identity values and run out integers to use.  I have over 3000+ databases where this can occur so we have an alerts setup that checks the tables then checks a table to

Automation Scripts

Automatically Fixing High VLF Count on SQL Server 2012+

September 19, 2017November 6, 2017By Tracy Boggiano

The Problem Our databases autogrow because we have thousands of databases and before we know we have databases with high VLF counts in the transaction logs.  If you don’t know why that is bad refer to the resources section of this article. Update – November 5, 2017 I have added

T-SQL Tuesday
Automation PowerShell Scripts

T-SQL Tuesday #94 – Automation Through PowerShell Checking the Status of AGs

September 12, 2017By Tracy Boggiano

This month Rob Sewell (Twitter | Blog) is hosting T-SQL Tuesday and wants us to automate more with PowerShell or at least learn PowerShell. My favorite thing to automate using PowerShell is checking on the status of things on multiple servers.  For example, after patching your environment running a quick

Automation Scripts

Determining Which Indexes to Compress Among Thousands

August 29, 2017February 6, 2020By Tracy Boggiano

Note: Since I wrote this dbatools had come out with an easier approach that you should check out here. Our Problem In a shared in environment you may have hundreds of databases with the same schema but depending on the data loaded into them not all of them will benefit

Automation Scripts

Setting Custom Fill Factors Based on Page Splits

July 25, 2017December 31, 2017By Tracy Boggiano

Introduction There is a lot of talk about what fill factor should be set for an index.  We know for indexes that are ever increasing the fill factor should be set to 100% but for those indexes that are on things like last name or birthday it gets a bit

Automation PowerShell

How to Install SQL Server PowerShell 2017 Remotely to Your Servers

June 27, 2017September 8, 2022By Tracy Boggiano

As part of upgrading our SQL Servers to 2017 CTP 2.1 we have a process that runs afterwards that uses Invoke-Sqlcmd cmdlet but with SQL Server 2017, SQL Server PowerShell 2017 is a separate install from the PowerShell Gallery.  So I wrote a process to that will install the SQL

Posts pagination

Previous 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.