Posts by Brent Ozar

What to Do When DBCC CHECKDB Reports Corruption

The instant you encounter corruption in a production SQL Server database, stop. Read this entire article first to understand the big picture, and then come back here to take action. First, understand that you shouldn’t start by trying to repair the corruption. You may be facing a storage subsystem problem where your storage is corrupting…
Read More

SQL Interview Question: “Talk me through this screenshot.”

After writing about “For Technical Interviews, Don’t Ask Questions, Show Screenshots”, lots of folks asked what kinds of screenshots I’d show. Here’s this week’s example. I show each screenshot on a projector (or shared desktop) to the candidate and say: What’s this screen from? What does the screen mean? If it was a server you inherited from…
Read More

Creating Tables and Stored Procedures in TempDB – Permanently

No, not #tables – actual tables. Here’s how: Transact-SQL USE tempdb; GO /* This one is only available during my session: */ CREATE TABLE #myTempTable (ID INT IDENTITY(1,1), Stuffing VARCHAR(100)); GO /* This one is global, meaning it's available to other sessions: */ CREATE TABLE ##myTempTable (ID INT IDENTITY(1,1), Stuffing VARCHAR(100)); GO /* You can…
Read More

SQL Server 2016 Release Date: June 1, 2016

SQL Server
23 Comments
It’s the news we’ve all been waiting for! Microsoft just announced the SQL Server 2016 Release Date: June 1, 2016. This PDF lays out the differences between editions, and here’s a few points that stand out: Standard Edition now goes up to 24 cores, and still just 128GB max memory Query Store is Enterprise Edition…
Read More

When Should You Hire a Consultant for Amazon RDS?

Powered By Somebody Else’s Database on Somebody Else’s Computer You’re hosting your SQL Server databases in Amazon RDS, and performance has been getting slower over time. You’re not sure if it’s storage IOPs, instance size, SQL Server configuration, queries, or indexes. What’s the easiest way to find out? Ask a few questions: Are you using…
Read More

[Video] Office Hours 2016/04/20 – Now With Transcriptions

SQL Server, Videos
2 Comments
This week, Brent, Erik, Jessica, Richie, and Tara discuss database modeling tools, how to learn about database corruption, the new cardinality estimator, and the only question that will be on our certification exams. Here’s the video on YouTube: You can register to attend next week’s Office Hours, or subscribe to our podcast to listen on the go. What ERD Tool…
Read More

Breaking News: Query Store in All Editions of SQL Server 2016

Bob Ward talking Query Store at SQL Intersection Onstage at SQL Intersections in Orlando this morning, Bob Ward announced that Query Store will be available in all editions of SQL Server 2016. This is awesome, because Query Store is a fantastic flight data recorder for your query execution plans. It’ll help you troubleshoot parameter sniffing…
Read More

Looking for a New Challenge? kCura is Hiring a DBA.

SQL Server
0
I’m a big kCura Relativity fan – it’s an application that really pushes SQL Server hard, written by people who are a ton of fun to work with. If you’re looking for a challenge in a really cool environment, check out what they’re looking for: A Production Database Administrator with a deep demonstrated knowledge of MS…
Read More

Breaking News, Literally: SQL CLR Support Removed from Azure SQL DB

Breaking News, Microsoft Azure
14 Comments
In the on-premises, boxed-product version of SQL Server, you can build your own CLR assemblies and call them from your T-SQL code. For years, this feature was missing from Azure SQL DB – Microsoft’s platform-as-a-service database offering – and users voted that they wanted it. In December 2014, Microsoft brought SQL CLR code to Azure SQL…
Read More

I’m on the RunAsRadio Podcast

SQL Server
7 Comments
Pixelated for your pleasure It’s always fun to talk to Richard Campbell about what’s going on, and this time around, it’s SQL Server 2016: Listen to me chat with Richard about what’s coming in vNext. We’re now in the second quarter of the year, and we still don’t have pricing, licensing, or edition/feature lists. Normally,…
Read More

Microsoft Discontinues SQL Server Support for Windows

Humor
13 Comments
Microsoft announced today that the forthcoming SQL Server 2016 version won’t just run on Linux – it will only run on Linux. Mark Souza, Microsoft “When we started developing the Linux port of SQL Server, we weren’t really serious about it at all,” confessed Mark Souza, lead documentation author for the project. “But after a couple of weeks, we…
Read More

Happy Fifth Birthday to Us, 50% Off for You.

SQL Server
21 Comments
Five years ago, we turned BrentOzar.com into a consulting and training company. Now look at us. (Well, maybe not too closely, we’re getting a little gray and wrinkly.) To celebrate: Video classes are now 50% off with coupon code HighFive That includes bundles, too, which brings the epic Everything Bundle down to just $449! Two of our…
Read More