Author: Jeremiah Peschka

When I’m not working with databases, you’ll find me at a food truck in Portland, Oregon, or at conferences such as DevLink, Stir Trek, and OSCON. My sessions have been highly rated and I pride myself on their quality.

Collecting Detailed Performance Measurements with Extended Events

Analyzing a workload can be difficult. There are a number of tools on the market (both free and commercial). These tools universally reduce workload analysis to totals and averages - details and outliers are smeared together. I’m against using just averages to analyze workloads; averages and totals aren’t good enough, especially with the tools we…

Read more about Collecting Detailed Performance Measurements with Extended Events 22 comments — Join the discussion
Performance Tuning

Finding One Problem Query With Extended Events

It’s easy to find problem queries on your SQL Server after they’ve happened. You can open your favorite monitoring tool or look in the plan cache. Those options are great for finding things after they’ve happened, but what if you want to find problems as they happen?
Server Side Trace
You could set up a SQL Server Server Side Trace. This is an acceptable solution if you’re using SQL Server 2008 or earlier. There are a few problems with this approach.

Read more about Finding One Problem Query With Extended Events 33 comments — Join the discussion
Performance Tuning

Finding Blocked Processes and Deadlocks using SQL Server Extended Events

A lot of folks would have you think that Extended Events need to be complicated and involve copious amounts of XML shredding and throwing things across the office. I'm here to tell you that it doesn't have to be so bad. Collecting Blocked Process Reports and Deadlocks Using Extended Events When you want to find…

Read more about Finding Blocked Processes and Deadlocks using SQL Server Extended Events 64 comments — Join the discussion

Reporting in Production: SQL Server (video)

Everyone wants reports but nobody wants to build out a separate reporting server. What options do you have short of throwing up your hands in defeat? Join Jeremiah to learn about four SQL Server technologies that help with reporting in production. This session is for DBAs and developers looking for a place to get started with reporting against SQL Server.

Read more about Reporting in Production: SQL Server (video) 1 comment — Join the discussion
Performance Tuning

Exploring the Magic of the Plan Cache

The plan cache holds a lot of secrets about what’s going on inside SQL Server. In the First Responder Kit we shared one of our plan cache scripts to find the top resource consuming queries. That query works well, but over time we’ve added some additional functionality to the query. I figured it was time to share the new query that we’re using to analyze SQL Server performance.

Read more about Exploring the Magic of the Plan Cache 7 comments — Join the discussion

Getting Started with SQL Server Sample Databases

The best way to improve your skills as a database professional is to practice. If you’re like me, you might even take that practice outside of the workplace and do a bit of homework on the side. You can’t take a copy of your production database home with you, so what can you do? Thankfully, the fine people Microsoft have put together a set of databases that you can download and play with.

Read more about Getting Started with SQL Server Sample Databases 11 comments — Join the discussion
Performance Tuning

Filtered Indexes and Dynamic SQL

I’ve been told that an attendee at the PASS Summit pre-conference event asked about using dynamic SQL to get around some of the problems with filtered indexes. I’m not entirely sure what the question was, but it did give me the opportunity to play around with filtered indexes and write some simple demo code to illustrate just the kind of shenanigans that you can get up to.

Read more about Filtered Indexes and Dynamic SQL 21 comments — Join the discussion
Production DBA

Who Needs an Operating System?

In the 1950s, the global economy saw a tremendous change - container ships revolutionized global commerce. Shipping costs got 36 times cheaper with the introduction of containerization. What if you could reduce operational costs and revolutionize application and database deployment in the same way? Containers to the Future In the last few months, the developer world…

Read more about Who Needs an Operating System? 3 comments — Join the discussion

IOPS Are A Scam

Storage vendors brag about the IOPS that their hardware can provide. Cloud providers have offered guaranteed IOPS for a while now. It seems that no matter where we turn, we can't get away from IOPS.What Are You Measuring?When someone says IOPS, what are they referring to? IOPS is an acronym for Input/Output Operations Per Second.…

Read more about IOPS Are A Scam 50 comments — Join the discussion

Five SQL Server Settings to Change

SQL Server ships with sane defaults, right? Well, sort of. SQL Server ships with pretty sane defaults for a single CPU socket server or for a development work station. Honestly, the defaults are good enough for many things, but there are a few gotchas. Changing these settings is quick, relatively painless, and can result in all around stability and happiness.

Read more about Five SQL Server Settings to Change 129 comments — Join the discussion

AlwaysOn Availability Groups: The Average of its Parts

Business is booming; the sales team is bringing in more business and the software developers are successfully scaling out at the web server tier. There are signs of pressure on the database tier and you realize that it's time to scale out. You're using SQL Server 2012, you need to improve performance, and the first thought that comes to mind is the new hotness: SQL Server AlwaysOn Availability Groups.

Read more about AlwaysOn Availability Groups: The Average of its Parts 11 comments — Join the discussion

Mix and Match Databases: Dealing with Data Types

Moving between databases is hard enough, try using multiple databases in the same application and you might start thinking you've gone insane. Different application demands for accessibility, redundancy, backwards compatibility, or interoperability make this a possibility in the modern data center. One of the biggest challenges of running a heterogeneous database environment is dealing with a world of data type differences. There are two main ways to work through this situation:

Read more about Mix and Match Databases: Dealing with Data Types 3 comments — Join the discussion