Operations

Windows + SQL Server: Building a Weekly Health Check with PowerShell

Every DBA needs a predictable way to keep both Windows and SQL Server systems healthy. Instead of juggling GUIs, Task Scheduler jobs, and one-off commands, a single PowerShell health check script can handle your daily or weekly routines consistently. This post walks through: The script is fully commented and written with original function names so […]

Windows + SQL Server: Building a Weekly Health Check with PowerShell Read More »

Replication Across Engines: What to Use, When, and How to Mitigate Limitations

Replication Across Engines: What to Use, When, and How to Mitigate Limitations | SQLYARD Leave a Comment / Articles, Performance Tuning / By SQLYARD Replication Across Engines: What to Use, When, and How to Mitigate Limitations By SQLYARD · SQLYARD.com · Updated June 2026 · Estimated read: 14–18 min SQL Server 2019 • 2022 •

Replication Across Engines: What to Use, When, and How to Mitigate Limitations Read More »

Why You See NT AUTHORITY\SYSTEM Updating Schema in SQL Server — and What to Do About It

One question I often get from DBAs and developers is: “Why do I see NT AUTHORITY\SYSTEM or LOCAL SERVICE in my SQL logs making schema or metadata changes?”At first glance, this can look suspicious. Did the operating system just change my database? Is this a security risk? Let’s break it down. What’s Actually Happening When

Why You See NT AUTHORITY\SYSTEM Updating Schema in SQL Server — and What to Do About It Read More »

SQL Server Trace Flags — Comprehensive Guide (with Versions & Always On AG Flags)

What trace flags are (quickly) Trace flags are switches that alter SQL Server engine behavior. Some are documented/supported by Microsoft; many are undocumented (internal, historical, or fix-gated). Use them carefully, test in lower environments first, and document who turned them on, why, when, and how to roll back. How to see / enable / disable

SQL Server Trace Flags — Comprehensive Guide (with Versions & Always On AG Flags) Read More »

Tools & Connectivity with SQL Server in 2025: The Smart DBA’s Guide

If you manage SQL Server today, chances are you touch on-prem instances, cloud databases, and maybe a few containers. The toolbelt you pick matters for performance, reliability, and day-to-day sanity. Here’s a clean, opinionated rundown of what to use (and when), with pros/cons, gotchas, and credible references. 1) Microsoft-native tools SQL Server Management Studio (SSMS)

Tools & Connectivity with SQL Server in 2025: The Smart DBA’s Guide Read More »

SolarWinds Database Performance Analyzer vs. Redgate SQL Monitor

A Detailed Comparison for DBAs and Developers When you’re responsible for keeping databases fast and reliable, two tools come up often: SolarWinds Database Performance Analyzer (DPA) and Redgate SQL Monitor. Both are strong choices, but they take different approaches. This guide combines features, pros/cons, execution plans, drill-down workflows, dashboards, alerting, authentication, and deployment models so

SolarWinds Database Performance Analyzer vs. Redgate SQL Monitor Read More »

Do We Still Need DBCC CHECKDB If We’re on All-Flash Storage?

Short answer: yes. Moving your databases to SSDs/NVMe arrays (even the fancy enterprise ones) doesn’t remove the need for DBCC CHECKDB. Fast disks reduce latency; they don’t eliminate the many other ways a database can become corrupt. Below I’ll walk through why you still run it, what CHECKDB actually checks, a few common “but we’re

Do We Still Need DBCC CHECKDB If We’re on All-Flash Storage? Read More »

Part 3 — Log, Trend, and Dashboard Your SQL Error and Warning Findings

This builds on Part 2. Instead of only emailing what happened in the last 24 hours, we will: Everything below is copy-paste ready. Replace placeholders like YourUtilityDB, YourDatabaseMailProfile, ops@example.com, and linked server names as needed. Schedule it Create a SQL Agent job that runs: Run it once daily. On critical systems, run it every hour

Part 3 — Log, Trend, and Dashboard Your SQL Error and Warning Findings Read More »

Part 2 — Automate & Prioritize the SQL Server Error Log

Group counts, suppress noise, and email a clean daily report This follow-up builds on Part 1. Instead of reading the entire error log by hand, we’ll scan the last N hours, classify messages as Errors or Warnings, suppress known noise, group duplicates with counts, and email a compact HTML report. There’s also a section for

Part 2 — Automate & Prioritize the SQL Server Error Log Read More »

Part 1 – How to Review the SQL Server Error Log like a DBA

The SQL Server Error Log is your first stop when something looks off. It records startup messages, configuration changes, critical errors, I/O problems, login failures, backup issues, and more. A fast daily review catches trouble before it becomes an outage. Where to find the Error Log In SSMS On disk (default paths) Tip: Keep several

Part 1 – How to Review the SQL Server Error Log like a DBA Read More »

Building an SSIS Multi-Server Health Sweep with Automated Email Reports

Building an SSIS Multi-Server Health Sweep with Automated Email Reports – SQLYARD Leave a Comment / Articles, SQL Server Features / By SQLYARD Building an SSIS Multi-Server Health Sweep with Automated Email Reports By SQLYARD · SQLYARD.com · May 2026 · Estimated read: 25–30 min If you are responsible for multiple SQL Server instances, one

Building an SSIS Multi-Server Health Sweep with Automated Email Reports Read More »

SQL Server Best Practices and Configurations

Summary: This document outlines essential SQL Server best practices, configuration settings, and performance optimizations. These recommendations are designed to enhance performance and efficiency. Please review and apply them according to your specific environment and requirements. NTFS Allocation Unit Sizes Microsoft recommends using a 64KB NTFS allocation unit size for all logical volumes containing SQL Server

SQL Server Best Practices and Configurations Read More »

Troubleshooting SSIS Package Failures in SQL Server Agent Jobs

Troubleshooting SSIS Package Failures in SQL Server Agent Jobs | SQLYARD Leave a Comment / Articles, Operations / By SQLYARD Troubleshooting SSIS Package Failures in SQL Server Agent Jobs By SQLYARD · SQLYARD.com · Updated June 2026 · Estimated read: 10–13 min SQL Server 2019 • 2022 • 2025 • SSISDB Catalog SSIS packages that

Troubleshooting SSIS Package Failures in SQL Server Agent Jobs Read More »

SQL Server Migration with dbatools: A Production Workflow from Start to Finish

SQL Server Migration with dbatools: A Production Workflow from Start to Finish – SQLYARD Leave a Comment / Articles, DBA Checklist / By SQLYARD SQL Server Migration with dbatools: A Production Workflow from Start to Finish By SQLYARD · SQLYARD.com · May 2026 · Estimated read: 20–25 min Most articles about dbatools list its 500-plus

SQL Server Migration with dbatools: A Production Workflow from Start to Finish Read More »

SQL Server Severity Alerts: How to Set Up Proactive Error Notifications

SQL Server Severity Alerts: How to Set Up Proactive Error Notifications – SQLYARD Leave a Comment / Articles, Scripts / By SQLYARD SQL Server Severity Alerts: How to Set Up Proactive Error Notifications By SQLYARD · SQLYARD.com · Updated June 2026 · Estimated read: 18–22 min SQL Server 2005 and later · All editions Most

SQL Server Severity Alerts: How to Set Up Proactive Error Notifications Read More »

SQL Server Reporting Services: The Complete DBA Guide

SQL Server Reporting Services: The Complete DBA Guide | SQLYARD Leave a Comment / Articles, Operations / By SQLYARD SQL Server Reporting Services: The Complete DBA Guide By SQLYARD · SQLYARD.com · Updated June 2026 · Estimated read: 16–20 min SQL Server 2016–2022 SSRS Native Mode SSRS roadmap change: SQL Server 2025. SSRS 2022 is

SQL Server Reporting Services: The Complete DBA Guide Read More »

SQL Server Agent: The Complete DBA Guide to Architecture, Configuration, and Automation

SQL Server Agent: The Complete DBA Guide to Architecture, Configuration, and Automation | SQLYARD Leave a Comment / Articles, Operations / By SQLYARD SQL Server Agent: The Complete DBA Guide to Architecture, Configuration, and Automation By SQLYARD · SQLYARD.com · Updated June 2026 · Estimated read: 14–18 min SQL Server 2019 SQL Server 2022 SQL

SQL Server Agent: The Complete DBA Guide to Architecture, Configuration, and Automation Read More »