Category: SQL Server

Performance Tuning

Implementing Snapshot or Read Committed Snapshot Isolation in SQL Server: A Guide

A client said the coolest thing to me the other day. He said, "We talked before about why we would want to start using optimistic locking in our code. How do we get there?" If you're not a SQL Server geek, that comment probably doesn't even make sense. But to some of us, when you…

Read more about Implementing Snapshot or Read Committed Snapshot Isolation in SQL Server: A Guide 155 comments — Join the discussion

sp_Blitz® v14 Adds VLFs, DBCC, Failsafe Operators, and More

Today, we've got a big one, and it's all thanks to you.

For the last couple of versions, I haven't added any big features because I'd been focused on the plan cache improvements. Today, though, we've got a big one with all kinds of health-checking improvements - and they're all thanks to your contributions.

Read more about sp_Blitz® v14 Adds VLFs, DBCC, Failsafe Operators, and More 11 comments — Join the discussion

SQL Server Management Studio: “Include Client Statistics” Button

I’m curious. I like to know how things work. I have to read the user manual of everything I buy so I know all of its features. I like clicking all the buttons in applications I work with. However, SQL Server Management Studio (SSMS) has so many I haven’t gotten through all of them. At SQL Saturday #118 Wisconsin earlier this year, I was watching a presentation and the presenter clicked “Include Client Statistics”.

Read more about SQL Server Management Studio: “Include Client Statistics” Button 14 comments — Join the discussion
Performance Tuning

Introducing the SQL Server Plan Cache (and a Better sp_Blitz®)

When you send your beautifully hand-crafted organic T-SQL statement to SQL Server, the database engine takes a moment to appreciate the poetry of your work.  Before it turns your request into results, it has to build an execution plan.  SQL Server considers: Which tables it needs to join together What subqueries it needs to execute…

Read more about Introducing the SQL Server Plan Cache (and a Better sp_Blitz®) 22 comments — Join the discussion

Creating Objects on a Specific Filegroup with Policy Based Management

At PASS Summit last week, I presented “The What, Why, And How of Filegroups” to a packed room. It was great to see so many people eager to learn about something that is fundamental to every SQL Server database, but often not understood well enough. As always, during and after the session, there were a…

Read more about Creating Objects on a Specific Filegroup with Policy Based Management 4 comments — Join the discussion

Who’s testing your restores? No, really – who’s testing your restores?

I recently posed the question, “Who’s taking your backups?” This is of utmost importance, because your business’s data is the business. Protecting it and backing it up need to be priorities for DBAs.

Now, for my next question: who is responsible for restoring those backups?

Read more about Who’s testing your restores? No, really – who’s testing your restores? 5 comments — Join the discussion

SQL Server Installation Best Practices Video

Wait! You only get one chance to do this right. Before you run setup.exe, there are some basic configuration steps that will make all the difference in performance and troubleshooting. Brent Ozar will explain his SQL Server Setup Checklist covering the page file, service accounts, memory settings, and hardware stress testing. We won't cover scripted installations or slipstreaming -- this half-hour session is for folks who click through the setup GUI because they only install a few servers per year.

Read more about SQL Server Installation Best Practices Video 1 comment — Join the discussion

Conference Speakers – Check Your Room Size

When you're speaking at a conference, try to get the room schedules long before the event day.  Right now, the PASS Summit conference schedule is available, and each speaker's room is listed.

Then, check out the building's floorplan - in this case, the Washington State Convention Center's floorplans page.  Check out the seating capacity for your room.

Read more about Conference Speakers – Check Your Room Size 2 comments — Join the discussion
News & Opinion

Troubleshooting the Top Five Waits Occurring in SQL Server DBAs

We’ve all been there: the SQL Server Database Administrator has been running slowly and everyone’s getting cranky. How can you tell what’s wrong and what steps you need to take to restore normal operations? Database administrators have great instrumentation. When asked, they’re happy to tell you about their bottlenecks in excruciating detail. Use this handy…

Read more about Troubleshooting the Top Five Waits Occurring in SQL Server DBAs 12 comments — Join the discussion

Microsoft SQL Server 2012 Always On AGs at StackOverflow

I recently finished helping the StackExchange team migrate their SQL Server 2008 infrastructure to SQL Server 2012. These servers power StackOverflow, DBA.StackExchange.com, the new AskPatents partnership with the US Patent and Trademark Office, and hundreds of other Q&A sites that together form one of the biggest web site networks. It's one of the most visible…

Read more about Microsoft SQL Server 2012 Always On AGs at StackOverflow 25 comments — Join the discussion