The 2017 Data Professional Salary Survey Results
We asked to see your papers, and 2,898 people from 66 countries answered. Download the raw data in Excel, and you can slice and dice by country, years of experience, whether you manage staff or not,...
View Article[Video] Office Hours 2017/01/18 (With Transcriptions)
This week, Brent, Erik, Tara, and Richie discuss sp_Blitz capabilities, what’s best to use for resolving SQL performance issues, CDC, tools for capturing wait stats, their favorite monitoring tools,...
View ArticleAnalyzing Temporary Stored Procedures with sp_BlitzCache
All the cool kids Know that when you’re trying to figure out why a stored procedure is slow sometimes, you should use a temporary stored procedure instead of pulling the code out and running it ad hoc....
View ArticleWhen Always On Isn’t: Handling Outages in Your Application
Today’s brief Stack Overflow outage reminded me of something I’ve always wanted to blog about: Stack Overflow is in limp-home mode There’s a gray bar across the top that says, “This site is currently...
View ArticleWhat Do You Wanna Know About Storage?
The Great Hardware Robbery of 2016 During Dell DBA Days 2016, we got to hang out with Doug Bernhardt of Dell’s storage team. He’s the guy who publishes Dell’s SQL Server documentation, builds their...
View ArticleHigh Compiles and Multi-Statement Table Valued Functions
Way back in 2016 I wrote about what to do if sp_BlitzFirst warns about high compiles. During GroupBy, Adam Machanic gave a great talk on new features in SQL Server 2016. It reminded me of a blog post I...
View ArticleFirst Responder Kit Updates: So Many Updates, Brent Quit
I got 128 GB of RAM just to develop sp_BlitzCache with! Also, thanks to @RichBenner @BrentOzar and @douglane for code, and @LitKnd and @HenrikStaunPoulsen for great ideas! Grab the newly updated First...
View Article[Video] Office Hours 2017/01/25 (With Transcriptions)
This week, Brent, Erik, Tara, and Richie discuss whether an antivirus can corrupt a database or remove data files, the biggest node clusters they’ve worked with, whether cursors are a good idea for...
View ArticleUpdating the Stack Overflow Demo Database
StackOverflow.com shares your questions, answers, comments, votes, users, badges, etc by doing a public data dump that you can download via BitTorrent. I take that data, and I turn it into a SQL Server...
View ArticleAlways On Availability Groups Now Supported in Google Compute Engine
I’m excited to finally be able to talk about something Erik, Tara, and I have been working on for the last few months. Here in the SQL Server community, when I mention cloud, you probably think of two...
View ArticleSQL Server DBA’s Guide to the Gitlab Outage
This week, developer tools company GitLab had a serious database outage. The short story: An admin was trying to set up replication The site had an unusual load spike, causing replication to get behind...
View ArticleMemory Grants and Data Size
What does memory do? In SQL Server, just about everything. We cache our data and execution plans in it (along with some other system stuff), it gets used as scratch space for temporary objects, and of...
View Article[Video] Office Hours 2017/02/1 (With Transcriptions)
This week, Brent, Erik, and Richie discuss AlwaysOn Availability Groups, execution plans, speeding up log shipping, applying wrong service packs, why servers “page wildly” when copying mid to...
View ArticleUsing Trace Flag 2453 to Improve Table Variable Performance
I recently saw a server with trace flag 2453 configured. I hadn’t come across this trace flag before, so I did a little research. Microsoft says it allows “a table variable to trigger recompile when...
View ArticleInline Table Valued Functions: Parameter Snorting
You’ve probably heard about parameter sniffing But there’s an even more insidious menace out there: Parameter Snorting. It goes beyond ordinary parameter sniffing, where SQL at least tried to come up...
View ArticleA Tourist’s Guide to the sp_Blitz Source Code, Part 1: The Big Picture
sp_Blitz is our open source free SQL Server health check script. From a really high level, here’s what it does: Create #BlitzResult, a temp table to hold its output Check something on your SQL Server,...
View ArticleThe Blog Posts You Loved to Talk About: Top-Commented Posts
In WordPress, I happened to sort our posts on the comment count column and got a huge laugh. I figured you’d like to see this list too, dear reader: 20. SQL Server 2014 Standard Edition Sucks, and It’s...
View Article[Video] Office Hours 2017/02/08 (With Transcriptions)
This week, Brent, Erik, Tara, and Richie discuss compatibility levels, SQL server SPN problems, Always On Availability Groups, failover clustering, capturing DML stuff, disc defragmentation,...
View ArticleSimulating Workload With ostress And Agent Jobs
This question comes up a lot Especially during Office Hours, and the answer is usually… not great. You can spend a lot of money on people and complicated software to design, run, and monitor workloads...
View ArticleWhat is Batch Requests/sec?
When I first look at a server, I want to know how busy it is, where its bottlenecks are, what is SQL Server waiting on and many other things. Batch Requests/sec is one of the data points that is used...
View Article