Posts by Brent Ozar

Office Hours: PowerBI & Fabric Q&A with Eugene Meidinger

Videos
0
Today’s Office Hours has a different topic. Eugene Meidinger dropped by to answer your business intelligence questions. Follow Eugene on YouTube and TikTok Subscribe to his 5-link weekly newsletter Check out Eugene’s new Power BI classes Read Eugene’s blog posts 00:00 Start 01:35 Tim: Can Power BI fully replace SSRS? We are looking to migrate…
Read More
Eugene Meidinger

What PowerBI Questions Do You Have for Eugene Meidinger?

Data Science
Eugene Meidinger, aka SQLGene.com, makes Power BI concepts easy and accessible. He’s got a free introduction to Power BI performance tuning here. People come to him with questions like: What kind of tools are there for performance tuning Power BI? Where should I do my logic: SQL, Power Query, or DAX? What are some best…
Read More

Query Exercise: Find Tagged Questions Faster.

Query Exercises
42 Comments
For this week’s Query Exercise, we’re going to start with an existing query that has performance problems from time to time, depending on how it’s used. This query’s goal is to find the top-voted Stack Overflow questions for any given tag – for example, here are the top-voted questions tagged “sql-server”. What are tags? I’m…
Read More

Save 10% on SQLBits Registration with BRENTO10.

SQLBits
0
Going to the SQLBits conference in March? Whether you’re registering in-person or attending virtually, save 10% on your ticket with discount code BRENTO10. During the checkout process, look for this: And save yourself some quick bucks. The screen will refresh after you hit Apply, so make a note of the price before & after. You’re…
Read More

[Video] Office Hours: The Question is Not the Problem Edition

Videos
0
I answer your top-voted Azure SQL DB and SQL Server questions from https://pollgab.com/room/brento and lose my temper about what you’re doing. Here’s what we covered: 00:00 Start 00:40 Mattia: Has bulk logged recovery model ever got you across the finish line? If so, could you share a story? 01:41 ForEachDBA: My manager wants to reduce…
Read More

Find Posts with the Wrong CommentCount: Answers & Discussion

Query Exercise Answers
4 Comments
Your Query Exercise was to find denormalization accuracy problems: checking the accuracy of a reporting column, Posts.CommentCount. There were two parts: finding the top 100 most problematic Posts with the biggest variances, and thinking about a long term solution to keep the CommentCount accuracy as high as practical. Question 1: Finding the Problematic Posts Your…
Read More

[Video] Office Hours: Ask Me Anything About the Microsoft Data Platform

Videos
0
Forgive the hoarse voice – I’m recovering from something COVID-ish. I went through your top-voted questions from https://pollgab.com/room/brento and did my best: Here’s what we covered: 00:00 Start 03:03 DBANoob: We have EF code that creates randomly generated temp table names every time it runs, while the rest of the logic remains the same, giving…
Read More

Query Exercise: Find Foreign Key Problems

Query Exercises
21 Comments
For 2024, I’m trying something new: weekly homework challenges! For this week, let’s say we’ve decided to implement foreign keys, and we need to find data that’s going to violate our desired keys. We’re going to use the Stack Overflow database, and we’ll focus on these 3 tables: dbo.Users table: with Id column as its…
Read More

[Video] Office Hours: Oddball Questions Edition

Videos
0
The last Office Hours of 2023 featured some oddball questions from https://pollgab.com/room/brento. Not bad, just … odd. https://youtu.be/prkpWssHsaE Here’s what we covered: 00:00 Start 03:04 TheMooneyFlyer: Hey Brent, how do you work on optimizing sp that performs insert/update/delete? Does putting the exec within a begin tran / rollback is a good option? 06:06 MyTeaGotCold: If…
Read More

[Video] Office Hours: Holiday Speed Round Edition

Videos
1 Comment
Most of the https://pollgab.com/room/brento questions from this episode had really short and sweet answers. Let’s take a break for the holidays and knock ’em out: Here’s what we covered this episode: 00:00 Start 03:29 TheyBlameMe: Have you ever made it across the finish line for a customer by changing the way their application connects to…
Read More