Launch week: the Season Pass & Fundamentals Week are 50% off — ends in 20d 18h 27mSee the sale

Category: Production Database Administration

Production DBA

Let’s Build a Better KILL. What Do We Need to Consider?

When there's a performance emergency, a lot of us perform the same manual tasks over and over. We run sp_BlitzWho or sp_WhoIsActive, look for blocking, long-running or out-of-control queries, and kill them. I'm going to build a new sp_kill for the First Responder Kit to make that easier, faster, and safer, and I want your…

Read more about Let’s Build a Better KILL. What Do We Need to Consider? 62 comments — Join the discussion
Performance Tuning

The Version Store Won’t Clear If ANY Database Has Open Transactions.

Short story: what the title says.

This is especially problematic for folks who merge multiple databases onto the same server. All it takes is one badly-behaving application to leave its transactions open, and suddenly it causes the rest of the databases to run TempDB out of space. That app's transaction might not even be changing anything, and it might have never caused problems for that application before - but once it shares a TempDB with other apps, it causes cascading problems.

Read more about The Version Store Won’t Clear If ANY Database Has Open Transactions. 11 comments — Join the discussion
Production DBA

Why Generative AI Scares the Hell Out of DBAs

I was chatting with a client's DBA about this thought-provoking blog post about data governance in the age of generative AI. The DBA's concern was, "What if we hook up generative AI tools to the production database, and someone asks for, say, recommended salary ranges for our next CEO based on the current CEO's salary? Will the AI tool basically bypass our row-level security and give the querying person information that they shouldn't be allowed to see?"

Read more about Why Generative AI Scares the Hell Out of DBAs 9 comments — Join the discussion
Production DBA

ChatDBA: ChatGPT 4 Answers 5 Office Hours Questions

Every now and then, someone asks a question on PollGab about why I don't use ChatGPT to answer these questions. And sometimes, I wonder that myself - I wonder why people don't put their questions into ChatGPT, especially GPT 4, because it's pretty damned good. I did this a while ago using ChatGPT 3.5, which…

Read more about ChatDBA: ChatGPT 4 Answers 5 Office Hours Questions 22 comments — Join the discussion
Production DBA

It’s Friday. I’m Not Answering These 14 Office Hours Questions.

Sometimes, I don't care if questions get a lot of upvotes at https://pollgab.com/room/brento - I just don't wanna answer 'em. They're not necessarily bad questions, but I'm just not interested in them, or I've answered them repeatedly, or I don't have a good answer.

Maybe y'all do, though, so I've numbered these. If you want to leave your answer in the comments, prefix it with the question number you're answering.

Read more about It’s Friday. I’m Not Answering These 14 Office Hours Questions. 30 comments — Join the discussion

What Does Setting the SQL Server Compatibility Level Do?

If you right-click on a database in SQL Server Management Studio, you get an option to set Compatibility Level at the database level:

When you upgrade SQL Server or you want to improve performance, which option should you choose? Should you always go with the newest compatibility level? If you have an old application, can you upgrade SQL Server but still keep the old compat level without the vendor knowing? Let's hit the common questions.

Read more about What Does Setting the SQL Server Compatibility Level Do? 25 comments — Join the discussion

This is the Last Week of Free PowerShell Training.

You've been working hard all month to get through our newest class, Fundamentals of PowerShell for DBAs. This week, it all starts to come together as you put together PowerShell plus SQL Server to automate tasks on a regular basis:

March 27, Mon: Objects and Namespaces
March 28, Tues: PowerShell and the SQL Server Agent
March 29, Weds: Creating Agent Jobs
March 30, Thurs: Scheduling PowerShell Job Scripts
March 31, Fri: Auditing Permissions with PowerShell and Demos

Read more about This is the Last Week of Free PowerShell Training. 11 comments — Join the discussion