The blog of Andy M. Mallon

Databases, technology & the people behind them.

Notes from the work, the community, and everything in between.

Hanging up my DBA cleats

I’m no accidental DBA. Very shortly after I started working in tech, I realized that I wanted to be a DBA when I grew up. Eventually, I landed that DBA job, and have been a DBA ever since. A couple of weeks ago, I told my manager I was leaving and gave my …

Continue reading

Generating artificial CPU load 🔥

I was recently asked: For testing, I need to generate artificial CPU load on the server, outside of SQL Server. Do you have any ideas? Maybe something with PowerShell? I quickly replied: Heck yea, PowerShell can do that. I mean, I knew PowerShell could do it. …

Continue reading

Is that share using SMBv1?

Sharing is caring, unless the share is using SMBv1. In case you’ve missed it (though, if you’re a data professional or other IT pro, you must live under a rock if you’ve missed it), SMBv1 should never ever be used. Alas, some shares out there still exist & …

Continue reading

TSQL Tuesday #99: Tabs vs Spaces

The great tabs vs spaces debate is often framed as a matter of opinion or coding style. “As long as you’re consistent, it doesn’t matter.” Keep in mind that unlike your choice in footwear, coding style can’t be personal. I’m going to draw a line in the sand …

Continue reading

TSQL Tuesday #99: SQL Tourism

When I started travelling to speak at SQL Server events, I committed that I would make the most of it. To me, that means a lot more than just attending the event where I’m speaking. Sure, I want to learn and network at the event, but it means more than that, …

Continue reading

Finding active transactions

Confessions of a carbaholic: When I start thinking about `ROLLBACK`, I start thinking about rolls. Have you ever forgot to commit a transaction? Maybe you’ve even left for lunch and caused a problem while you were gone. Uncommitted transactions can cause all …

Continue reading

Backing up to NUL:

Backing up to NUL is like backing up directly to the trash Linux folks have lots of jokes & fun t-shirts about /dev/null/. The null device is a handy location to dump output to, when you don’t actually care about the output. In PowerShell, you can use …

Continue reading

Q&A with the MVP Award Program

I was recently interviewed by the Microsoft MVP Award Program about organizing the LGBT meetup at PASS Summit last year, and about running diverse, inclusive tech events here in Boston. We discuss why it’s important to have LGBT events, and other events that …

Continue reading

Ten tips for PASS Summit Attendees

I won’t be at PASS Summit this year, but that doesn’t mean I can’t give advice to those who will be there. I got an email asking for advice for Summit First-Timers, and after sending over the list of tips, I figured I’d write a blog post on the topic while I …

Continue reading

Finding the Leader Blocker

Who's at the front of the line blocking all the traffic? During the course of normal processing in a database, blocking happens. Blocking is “by design” because your database is on ACID. In an OLTP database, most of your transactions are short in duration, so …

Continue reading

SentryOne Community Ambassador

1947 Nash Ambassador. Unfortunately, the SentryOne Community Ambassador program does not provide me with one of these. Last week, SentryOne announced their new PAC Community Ambassador program. I’m incredibly excited to be part of this new program. PAC? Huh? …

Continue reading