SQL Server Case of the Week: SQL Server Audit Errors – Resolving a Common Error

SQL Server case study of the week

When SQL Server Audits Fail – Quick Summary SQL Server Audits – they’re running in the background, but what happens when something goes wrong? There is an alert that we have encountered that, if you follow the information in the error, typically does not lead you to the solution. What do you do then? Every minute the audit is … Read more

SQL Server Case of the Week: The Transaction Log of Your Snapshot Replication Publisher Database Won’t Truncate… But Why?

SQL Server case study of the week

Quick Summary When snapshot replication is configured with schema replication enabled, DDL changes are sometimes marked for replication but never marked for truncation, creating a false “undistributed command” that prevents log truncation and causes uncontrolled growth. The solution was to add a log reader agent using sp_addlogreader_agent on the publisher to mark all replicated commands for truncation.    Context The SQL … Read more

Our favorite FREE community supported SQL Server scripts (that we didn’t make)

DBA Toolbox

As you may have seen in some of our recent blog posts, here at Straight Path Solutions we’ve been working on a few free scripts to help you with maintaining your SQL Server instances. These include: …BUT THAT’S NOT WHAT THIS POST IS ABOUT! Instead, we want to draw attention to the scripts created by … Read more

Distributed Availability Groups – Certificates, Crash Recovery, and Headaches (Case of the Week)

SQL Server case study of the week

There are a ton of great resources out there teaching you how to build a Distributed Availability Group (DAG), but there aren’t many at all that help you troubleshoot them when they go bump. Fortunately for you (and unfortunately for me) I’ve had enough experience administering DAGs that I’d like to start to share the … Read more

Data: The Asset/Liability Paradox 

This post is written by a human; all errors and omissions are the author’s responsibility.  Data is not a cliché. We’ve all heard from technical vendors that “Data is the new oil”,  and “Data is our strategic Asset”. While those statements have a ring of truth, they lull us into a false sense of security. They emphasize only the positive aspects of creating, obtaining, storing and … Read more

T-SQL Tuesday #193 – A Note to Your Past, and a Warning from Your Future

t-sql tuesday

I last hosted T-SQL Tuesday back in 2010 (T-SQL Tuesday #4 IO), I guess it’s been a minute! This month, let’s get a little reflective/introspective. Call it an end-of-year wrap-up theme. We all have those moments where we look back and think, “I spent a lot of energy worrying about the wrong thing(s)…” After some … Read more