
How to Automatically Validate SQL Server Backups With Test-DbaLastBackup (Dbatools)
June 24, 2025
In this blog post, we will audit the dbatools command Test-DbaLastBackup. I will test, review, and evaluate the script based on a series of identical steps. Our goal is to provide insights, warnings, and recommendations to help you use this script effectively and safely. Test-DbaLastBackup is a powerful tool to automate the validation of a … Read more

Accelerated Database Recovery in SQL Server 2025
June 19, 2025
Accelerated Database Recovery (ADR) was introduced in SQL Server 2019. Its main purpose is to allow for faster database recovery in the event of a crash or unexpected shutdown. Traditionally, the database engine handles crash recovery through a series of phases—analysis, redo, and undo—which can be inefficient and slow, especially when dealing with long-running transactions. … Read more

How to Restore a SQL Server Database Using dbatools Restore-DbaDatabase
June 17, 2025
In this blog post, we will audit the dbatools command Restore-DbaDatabase. I will test, review, and evaluate the script based on a series of identical steps. Our goal is to provide insights, warnings, and recommendations to help you use this script effectively and safely. Restore-DbaDatabase is powerful tool to automate the restore of any database, … Read more

Standardize SQL Server Maintenance Quickly and Easily Using Install-DbaMaintenanceSolution
May 14, 2025
Introduction In this blog post, we will audit the dbatools command Install-DbaMaintenanceSolution. I will test, review, and evaluate the script based on a series of identical steps. Our goal is to provide insights, warnings, and recommendations to help you use this script effectively and safely Install-DbaMaintenanceSolution is the key to simple, reliable, and comprehensive SQL … Read more

Introducing sp_CheckTempdb: Check Your SQL Server tempdb for Performance Issues
May 8, 2025
Most database folks might know the tempdb database in SQL Server is used for temporary tables, but many folks don’t realize all the other things that use this critical system database. It’s also used by table variables, cursors, aggregations, joins, and sorts. And by memory spills when you don’t have enough memory. And by integrity … Read more

Why Invoke-DbaQuery Is My Most-Used dbatools Query
April 24, 2025
In this blog post, we will audit the dbatools command Invoke-DbaQuery. I will test, review, and evaluate the script based on a series of identical steps. Our goal is to provide insights, warnings, and recommendations to help you use this script effectively and safely. Invoke-DbaQuery is the Swiss army knife of all dbatools commands as … Read more

Bizarre Love Triangle (Sysadmins, AV tools and DBAs)
March 25, 2025
“Every time I think of you, I feel shot right through with a bolt of blue…” – If your SQL Servers (and especially your SQL Server Availability Groups and Failover Cluster instances) could speak – that’s what they’d say about the times your security and sysadmin teams deploy a new AV tool without talking to … Read more

Blue Monday: Not for Your SQL Servers!
March 20, 2025
Monday morning: you’re back at work, but your SQL Server estate had a weekend from hell. Some companies find that out the hard way—every single Monday.It’s almost like SQL Server is taunting you, “How does it feel to treat me like you do?” I See a Ship in the Harbor (Do you watch for SQL … Read more

Regret (SQL Server Edition)
March 19, 2025
Maybe I’ve forgotten the name and the address of every patient I’ve helped throughout my years in EMS back when I was still involved, but there’s one thing I know: quite a few would say hindsight is 20/20. The older I get, the more I see how often this pattern repeats. Whether it was the … Read more

On Mentoring: A T-SQL Tuesday post
March 11, 2025
Deborah Melkin is hosting the community T-SQL Tuesday #184 carnival of blog posts. Her topic is one that is near and dear to her – and also near and dear to us here at Straight Path – Mentoring and Sponsorships. I am really looking forward to reading all of the posts this topic generates. Deb … Read more