SQL Server

Getting Started with Diskspd

SQL Server
62 Comments
Diskspeed, or diskspd.exe, is Microsoft’s replacement for SQLIO. While I’m not going to replace our SQLIO tutorial, you can use the information in here to replicate the same type of tests on your systems to get the information you need. During the Dell DBA Days, Doug and I used diskspd as one of our techniques…
Read More

Performing Your Own SQL Server Triage

SQL Server
6 Comments
Our new Triage Specialist will be using tools, forms, and methodologies that we build for our SQL Critical Care® clients, but we also make a lot of those tools available to the public for free in our First Responder Kit. Here’s how to do your own quick health assessment for free: First, start your health…
Read More

Why RPO and RTO Are Actually Performance Metrics Too

Most companies come to us saying, “The SQL Server isn’t fast enough. Help us make it go faster.” They’re kinda surprised when one of the first things we fill out together is a variation of our High Availability and Disaster Recovery Planning Worksheet: Download the full PDF in our First Responder Kit They say things like, “Wait,…
Read More

Scaling Up Our SQL Critical Care®

SQL Server
7 Comments
Since we’re hiring again, it’s a good time to explain what we do and how it’s evolved over the last four years. When your SQL Server’s performance or reliability is causing you business pain, and you can’t get the relief you want, you call us for a SQL Critical Care®. We use specialized tools we’ve built…
Read More

VMware vCloud Air SQL Summarized

SQL Server, Virtualization
4 Comments
After reading through yesterday’s announcements about VMware vCloud Air SQL, here’s a quick boiled-down version for busy people with jobs: It’s Microsoft SQL Server 2008R2 and 2012 Enterprise Edition hosted in VMware’s data centers (not on-premises.) Only 3 instance sizes are available: small (2vCPU, 8GB RAM), medium (4vCPU, 16GB RAM) and large (8 vCPU). Drive…
Read More

Getting JSON out of SQL Server

SQL Server
20 Comments
SQL Server 2016 brings support for JSON. For those of you who don’t know, JSON is JavaScript Object Notation – it’s a way of representing application level objects as a string. Imagine XML without anywhere near as much line noise, and you’re pretty much there. Our Sample Document In this example, to retrieve orders and…
Read More

Fake moustaches, barbecue, and SQL Server.

SQL Server
8 Comments
Must be Dell DBA Days: https://www.youtube.com/watch?v=Gn43sOLrcVs Join us live as we performance tune – and break – SQL Servers: Thursday Morning: Finding Your Slow SQL Server’s Bottlenecks in Record Time with Wait Stats Thursday Afternoon: How to Prove Hardware is the Problem Friday Morning: SQL Server High Availability, Disaster Recovery, and Licensing Explained Friday Afternoon:…
Read More

Performance Benefits of Unique Indexes

SQL Server
30 Comments
SQL server loves unique indexes Why? Because it’s lazy. Just like you. If you had to spend all day flipping pages around, you’d probably be even lazier. Thank Codd someone figured out how to make a computer do it. There’s some code below, along with some screen shots, but… TL;DR SQL is generally pretty happy…
Read More

When Did My Azure SQL Database Server Restart?

In Azure SQL Database, no one can hear you scream query common system objects that tell you when a restart happened. You don’t get the access you need to sys.dm_os_sys_info, sys.dm_exec_sessions, sys.traces, or sys.databases. The closest I’ve been able to get is to query sys.dm_os_wait_stats for several common wait types that seem to correspond with…
Read More