Launch week: the Season Pass & Fundamentals Week are 50% off — ends in 19d 13h 53mSee the sale

Category: SQL Server

Common SQL Server Clustering, AlwaysOn, and High Availability Answers

Our live webcast topic this week was Q&A - you could bring any HA/DR questions, and we could avoid your answers. Just kidding. Here's the webcast - we apologize for the audio, WebEx is still getting their act together. It cleans up after the first couple of minutes.

https://www.youtube.com/watch?v=G1URY5M09ic

Read more about Common SQL Server Clustering, AlwaysOn, and High Availability Answers Be the first to comment
Performance Tuning

What is the CXPACKET Wait Type, and How Do You Reduce It?

When you query sys.dm_os_wait_stats, or check your waits with sp_Blitz® or sp_BlitzFirst®, one of your biggest wait types is probably CXPACKET. Let's talk about what's really going on. Our SQL Server Stand-In: a Class. Pretend that you're a schoolteacher in a classroom with a couple dozen students. You've got a class project that you need to…

Read more about What is the CXPACKET Wait Type, and How Do You Reduce It? 122 comments — Join the discussion

Introduction to SQL Server Failover Clusters (video)

You’d love to know how to make your SQL Servers more highly available, but you’re just not sure what “clustering” is all about. We can help! In this 30 minute video Kendra Little shows you how failover clusters make your SQL Servers easier to manage. She uses diagrams and drawings to teach you the strengths and weaknesses of failover clusters and shows why clustering is becoming even more critical for high availability and disaster recovery.

Read more about Introduction to SQL Server Failover Clusters (video) 55 comments — Join the discussion

How to Use HP System Management Homepage

One of the big reasons you spend big money on server-quality hardware is to get cool stuff to make administration easier. Each hardware vendor provides their own software tools - Dell includes OpenManage, IBM includes Director, and HP includes their System Management Homepage.

To illustrate how it works without violating anybody's NDAs, I picked up a used HP DL380 off eBay to use as a demo.

Read more about How to Use HP System Management Homepage 22 comments — Join the discussion

What?! Queries are Failing in My SQL Server?

I came across an interesting case recently where queries were failing in a high transaction SQL Server. We knew that queries were occasionally failing with error severity 20 because SQL Server Agent alerts were periodically firing. However, those built in alerts don't capture exactly what has failed-- they just say "Something failed big. Good luck with that."

Read more about What?! Queries are Failing in My SQL Server? 43 comments — Join the discussion
Performance Tuning

Trivial Optimization and Missing Indexes in SQL Server

Recently, Jes asked the team an index tuning question: "If a query has an index hint in it, will the optimizer ever suggest a missing index for that query?"

I immediately loved the question because I'd never really thought about it before. I typically think of index hints as being a very risky game and avoid them whenever I can-- after all if someone drops the index you've hinted, any query hinting a non-existent index will start to fail. (That's a really bad day!)

Read more about Trivial Optimization and Missing Indexes in SQL Server 7 comments — Join the discussion

SQL Server 2014 Standard Edition Sucks, and It’s All Your Fault [UPDATE]

Every release lately, Microsoft has been turning the screws on Standard Edition users. We get less CPU power, less memory, and few (if any) new features. According to Microsoft, if you want to use more than $500 worth of memory in your server, you have to step up to Enterprise Edition. Seriously? Standard Edition licensing…

Read more about SQL Server 2014 Standard Edition Sucks, and It’s All Your Fault [UPDATE] 129 comments — Join the discussion

New DMVs in SQL Server 2014 CTP1

When you download and start playing with SQL Server 2014 CTP1, here's a few of the new instrumentation tables and views:New Internal Tablesplan_persist_context_settingsplan_persist_plan - Hey, lookie there! Implies that we can persist execution plans beyond a SQL Server service restart.plan_persist_queryplan_persist_query_textplan_persist_runtime_statsplan_persist_runtime_stats_intervalNew Viewscolumn_store_row_groupsdm_db_merge_requestsdm_db_xtp_checkpoint - Note that both the DMVs and the SSMS UI imply that Hekaton will be…

Read more about New DMVs in SQL Server 2014 CTP1 27 comments — Join the discussion
Performance Tuning

Optimize for… Mediocre?

Some query hints sound too good to be true. And, unfortunately, usually they aren't quite as magical as they might seem.
Frustration with unpredictable execution times
People often learn about parameter sniffing when query execution times stop being predictable. Occasionally you'll hear about a stored procedure taking much longer than normal, but the next time you look, it might be faster.

Read more about Optimize for… Mediocre? 36 comments — Join the discussion
Performance Tuning

The Index Your Queries will Never Request (A Clustered Index!)

When it comes to indexes, SQL Server is really helpful. It lets you see what indexes queries are asking for both in execution plans, and missing index dynamic management views ("DMVs"). I like to look at the DMV missing index requests using sp_BlitzIndex®.

When you look at missing index requests, it's always important to remember one of the biggest things: these missing index requests won't ever ask for or recommend a specific clustered index.

Read more about The Index Your Queries will Never Request (A Clustered Index!) 3 comments — Join the discussion