Tag: database maintenance

SQL Server insights from 25+ years in the field

Performance tips, security advisories, health check findings, and industry analysis. Practical, technically accurate, no fluff.

27 May 2021 · 6 min read

Update all DB growth parameters to defined increments

Default SQL Server auto-growth settings cause VLF fragmentation and autogrowth wait events. This script analyses every database and generates the correct ALTER DATABASE statements automatically.

Read article →
4 Sep 2020 · 6 min read

Microsoft Releases Cumulative Update 7 for SQL Server 2019, Including Important Fixes.. BUT…

Microsoft released then quickly pulled Cumulative Update 7 for SQL Server 2019 after a critical defect surfaced. Here is what was fixed, what went wrong, and what it means for your patching process.

Read article →
23 Jun 2020 · 6 min read

SQL Server 2019 Cumulative Update 5: Important Fixes and Limited Documentation

SQL Server 2019 CU5 delivers critical fixes including a database corruption bug and scalar UDF inlining issues, but incomplete KB documentation means you should assess carefully before deploying.

Read article →
15 May 2018 · 5 min read

Recompile All SQL Server Stored Procedures with this Script

Recompile all stored procedures in a SQL Server database with a single script. Refresh stale execution plans after schema or statistics changes without dropping any objects.

Read article →
15 May 2018 · 6 min read

SQL Server DMV Query to Output Index Fragmentation by Database / Table

Learn how to query SQL Server index fragmentation using DMV views and identify which indexes need rebuilding or reorganising to restore query performance.

Read article →
15 May 2018 · 6 min read

How to Dynamically Backup and Compress User Databases (SQL 2008)

Stop updating maintenance plans every time a database is added or dropped. This stored procedure dynamically discovers and backs up all user databases with compression enabled.

Read article →
15 May 2018 · 4 min read

How to update DB File Growth Settings for ALL Databases at the same time

Running with SQL Server's default autogrowth settings is quietly hurting your performance. Learn how to bulk-update file growth settings across all databases using a single T-SQL script.

Read article →
15 May 2018 · 6 min read

How to Fix Very Large MSDB Database

A bloated MSDB database can cause maintenance jobs to fail and monitoring alerts to fire. Learn how to identify the cause and fix it safely.

Read article →
14 May 2018 · 6 min read

When’s the Last Time you Serviced your SQL Servers?

Most SQL Server problems build quietly over months before anything breaks. Find out what regular maintenance covers and why your environment needs it.

Read article →

SQL Server insights, monthly.

Performance tips, security advisories, and industry analysis. No fluff, no spam.