Posts by Brent Ozar

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

Contest: SQL Server Theme Songs

Humor
244 Comments
During this month’s Senior DBA Class in Chicago, I started joking with the attendees about what songs they should play during common DBA job tasks, like: Best Song to Play During a Server Outage Best Song to Illustrate Your Predecessor’s Skills Best Song to Accompany an Index Rebuild Best Song to Play When Examining a Slow Query Best…
Read More

Microsoft SQL Server is Coming to Linux.

Licensing, SQL Server
29 Comments
Two things: SQL Server is coming to Linux, and no, this isn’t April 1st, although the meeting minutes kinda read that way. Let’s zoom back for a second: if you want to expand an existing business, you have two good options: Sell a new product to your existing customers Sell your existing product to new customers For years,…
Read More

SQL Server 2016 Installation Screenshot Tour

SQL Server
24 Comments
SQL Server 2016 Release Candidate 0 is out. Here’s what the installation process looks like: Installation Center – not much new here until you click on the Installation tab Note that on the Installation tab, though, there’s a new line for “Install SQL Server Management Tools.” Management Tools got promoted (or is it voted off…
Read More

Database-Scoped Configurations Replace Trace Flags.

SQL Server
23 Comments
Trace flags are special switches that, when you flip them, enable different behaviors in your SQL Server. Back in the SQL Server 2000-2005 days, these were super-rare undocumented tricks that were handed out by Microsoft support to fix rare cases. Over time, some trace flags have become so commonplace that they worked their way into…
Read More

My Favorite System Column: LOG_REUSE_WAIT_DESC

Hidden away in master.sys.databases is one of the coolest diagnostic tools you might ever need: Transact-SQL SELECT name, log_reuse_wait_desc FROM sys.databases; 1 SELECT name, log_reuse_wait_desc FROM sys.databases; This spiffy little snippet will tell you why each database’s log file isn’t clearing out. Possible reasons include: Log backup needs to be run (or if you could…
Read More

SQL Server Agent is an application server.

SQL Server
16 Comments
Application server. SQL Server Agent is a job scheduler. When we first get started managing SQL Server, we usually use it for backups, index maintenance, DBCC CHECKDB, and other common maintenance tasks. And then one day, we say, “Hey, I need this T-SQL script to run once a day.” We add an Agent job for it.…
Read More

What Is a Staging Environment and How Do You Build One?

Architecture, SQL Server
4 Comments
If you’re a full time production database administrator, you need a staging environment. This is where you test infrastructure tasks like failing over mirroring, doing a disaster recovery role swap, cluster quorum changes, log shipping configuration, and patching. You need to test this stuff repeatedly so that when you’re under pressure in the production environment, you…
Read More