Quantcast
Channel: Brent Ozar Unlimited®
Browsing all 3153 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

SQL Server 2017: Interleaved MSTVFs Vs Inline Table Valued Functions

But is it faster? Now, I know. There are very few “always” things out there in SQL Server. This is also true for functions. A lot of the time — I might even say most of the time, inline table valued...

View Article


Image may be NSFW.
Clik here to view.

Adaptive Joins And Scalar Valued Functions

I know, I know Here we are in 2017, which means we’re about two years away from the next Ska revival effort, if my watch is correct. I hope it isn’t, but since Brent sent it to me with a note that says...

View Article


Image may be NSFW.
Clik here to view.

Building a Faux PaaS, Part 2: Choosing and Testing a Cloud Vendor

Background: I’m working with kCura to build a Faux PaaS: something akin to Microsoft’s Azure SQL DB, but internally managed. In Part 1 of this series, I talked about why we’re building it, and today,...

View Article

Image may be NSFW.
Clik here to view.

Do SQL Server 2017’s Adaptive Joins Work with Cross Apply or Exists?

I think I’ve mentioned that the most fun part of new features is testing them with old ideas to see how they react. It occurred to me that if Adaptive Joins didn’t work with APPLY, I might cry. So,...

View Article

Image may be NSFW.
Clik here to view.

What Do You Want to See in a Free Query Store Tool?

I love Query Plans No seriously, I love digging into query plans. Even writing XQuery to dig into them in sp_BlitzCache. I was both honored and horrified to take over development of it from Jeremiah....

View Article


Image may be NSFW.
Clik here to view.

[Video] Office Hours 2017/05/17 (With Transcriptions)

This week, Erik, Tara, and Richie discuss enforcing password expiration for SA logins, keeping things in sync between servers, development/prototyping missions of on-premise vs. cloud, ways of backing...

View Article

Image may be NSFW.
Clik here to view.

This Year is Your Best Chance to Speak at the PASS Summit.

Me presenting, photo by John Martin The call for speakers at the PASS Summit is open now. As of this writing, there are less than 120 sessions submitted. To put that in perspective, in 2016, there were...

View Article

Image may be NSFW.
Clik here to view.

#DevIntersection Keynote Notes: Jeffrey Snover on Azure Stack

Preface: data professionals, if you’re in a hurry, skip this post. Nothing in here is directly relevant to your career in the next couple of years. I found it interesting because it explains where...

View Article


Image may be NSFW.
Clik here to view.

Scalar Functions In Views: Where’s The Overhead?

Short winded Quite often people will inherit and rely on views written back in the dark ages, before people were aware of the deleterious effects that scalar valued functions can have on performance....

View Article


Image may be NSFW.
Clik here to view.

Building a Faux PaaS, Part 3: What the Ideal Engineering Team Looks Like

Background: I’m working with kCura to build a Faux PaaS: something akin to Microsoft’s Azure SQL DB, but internally managed. You can catch up with what we’ve discussed so far in Part 1 and Part 2 of...

View Article

Image may be NSFW.
Clik here to view.

Bad Idea Jeans: Multiple Index Hints

I hate that you can do this Here’s the thing: I’m mostly writing this because I didn’t know you could do it. But it’s cool, because it’ll reinforce some other concepts, and I’ll show you why you...

View Article

Image may be NSFW.
Clik here to view.

[Video] Office Hours 2017/05/24 (With Transcriptions)

This week, Brent, Erik, and Richie discuss disabling telemetry in SQL Server 2016, proper place for log files, Availability Groups, measuring data returned from a single query, whether CHECKDB should...

View Article

Image may be NSFW.
Clik here to view.

Announcing sp_BlitzBackups: Check Yourself Before You Wreck Yourself.

If one of your SQL Servers went down at some point over the last week: What’s the most data you could have lost? What’s the longest you would have been down for? To find out, Erik and I (mostly Erik)...

View Article


Image may be NSFW.
Clik here to view.

Direct Seeding: I’ve Got A Wizard And You Don’t

A commenter commented That the “New AG Wizard” in SSMS 2017 had surfaced the Direct Seeding mode for AGs. I was pretty psyched about this because I think it’s a great feature addition to AGs that can...

View Article

Image may be NSFW.
Clik here to view.

Logical Errors And Query Performance

Is that a nice way of saying typo? People will often tell you to clearly alias your tables, and they’re right. It will make them more readable and understandable to whomever has to read your code next,...

View Article


Image may be NSFW.
Clik here to view.

Why Your Biggest Query Plans Don’t Show Up in Some DMVs

SQL Server has three ways to get execution plans from the plan cache: sys.dm_exec_query_plan – around since SQL Server 2005 sys.dm_exec_text_query_plan – added in 2005 SP2 sys.query_store_plan – new in...

View Article

Image may be NSFW.
Clik here to view.

First Responder Kit Release: Now With 50% MORE Double Checking

So many things happen in mid-Summer. Dreams. Death. Pit stains. And FRK updates! Special thanks to @digitalohm for once again taking the axe to sp_DatabaseRestore. You are the only person on our email...

View Article


Image may be NSFW.
Clik here to view.

[Video] Office Hours 2017/05/31 (With Transcriptions)

This week, Brent and Richie discuss sp_Blitz Backups, change history tracking, exams and certifications, using Azure for DR-only, which version of SQL server to use for a new DB, adding additional data...

View Article

Image may be NSFW.
Clik here to view.

Introducing sp_BlitzQueryStore

Oh, so you’re the one While SQL Server 2016 adoption is still pretty low, and 2017 still quite isn’t out yet, that’s no reason to not invest a few days of dev time into a stored procedure that is only...

View Article

Image may be NSFW.
Clik here to view.

Automated Tuning And The Future Of Performance Tuners

Before you get too excited This isn’t a dive into any of the new automated tuning features of SQL Server 2017. I’m interested in them because Microsoft thinks they can put us out of business with them,...

View Article
Browsing all 3153 articles
Browse latest View live