Tag: Script Library

Accelerated Database Recovery SQL Server

An Overview of Accelerated Database Recovery

SQL Server has had a number of really wonderful new features over the last several releases. One of those features is Accelerated Database Recovery. This enhancement has received some coverage in the community and I want to make my own contribution to promoting this feature. What is Accelerated Database Recovery? Accelerated Database Recovery (ADR) came…
Read more

sql server low disk space alerts

How to Use VSSADMIN Commands To Manage Low Disk Space

Low disk space alerts are a common occurrence in I.T. For SQL Server consultants, there could be a few causes: This last scenario related to volume shadow service is what I want to talk about today. This one can be a little confusing at first because your organization may get a low disk space alert…
Read more

SQL Server resource_semaphore waits

How to Find Queries Causing RESOURCE_SEMAPHORE Waits in SQL Server

The resource_semaphore wait can have devastating consequences for SQL Server performance. This wait essentially means that some of the queries in your workload have memory grants that are larger than the memory for the server can support. When that happens, the SQL Server feels like it is frozen and unresponsive. Queries are likely running, but…
Read more

IT decisions

Why Quiet Reflection Leads to Better IT Strategy Decisions

Last Saturday, I woke up before dawn to a quiet house. My family was still asleep, as I’m the only morning person in our household. The Christmas tree lights cast a warm glow across the room, and I was alone with my thoughts and a hot cup of coffee. No urgent emails, no fire drills,…
Read more

How to Enable Query Store in SQL Server

How to Enable Query Store in SQL Server: A Step-by-Step Guide

In my previous post about Query Store, I wrote about the four key benefits to enabling Query Store. Now that I’ve convinced you to turn it on, how do you do that? One thing to point out is that in SQL Server 2022 and above, when creating a new database from the SSMS GUI or…
Read more

Query Store SQL Server

4 Key Performance Benefits of Enabling Query Store

Query Store has been around since SQL Server 2016, but its full potential often goes untapped. Some companies were initially wary of it after some edge case problems arose during its initial rollout. However, since its initial release, Query Store has undergone numerous enhancements and is rapidly establishing itself as one of the most significant…
Read more

SQL Server Database Mail Troubleshooting

How to Troubleshoot SQL Server Database Mail Issues Using Built-In View

Sending emails from a SQL Server via sp_send_dbmail is common, but troubleshooting problems can be frustrating. Fortunately, SQL Server logs every email attempt, making it easier to find and fix issues. View All Messages Processed By Database Mail The sysmail_allitems view shows every email that Database Mail has tried to process, whether it was successful…
Read more

Tail-Log Backup SQL Server

Why Tail-Log Backups Matter for SQL Server Recovery and Migration

In previous posts, we’ve covered the more routine types of backups available within SQL Server — full, differential, and transaction log backups. While you may not use them as often, you should also be aware of tail-log backups when managing SQL Server. Tail-log backups can help in two scenarios. What is a tail-log backup? Tail-log…
Read more

Undermanaged SQL Servers can lead to frustration for both your customers and your team.

The Costs of Undermanaged SQL Servers for Financial Institutions

Banks and credit unions rely on SQL Server databases to power transactions, portals, reporting, fraud detection, and core systems. Despite this, many institutions end up undermanaging or even overlooking these critical systems. The result? Performance lags, security vulnerabilities, and unplanned downtime that can cost far more than most institutions realize. If you’re responsible for operational…
Read more

How to Encrypt Sensitive Text in SQL Server with ENCRYPTBYPASSPHRASE

How to Encrypt Sensitive Text in SQL Server with ENCRYPTBYPASSPHRASE

Storing sensitive information in a database, like passwords or social security numbers, is common practice. However, storing them securely is less common. Unfortunately, one of the most typical approaches is to store sensitive information in a table as clear text. That means that anyone with access to that table can see all of that sensitive…
Read more