Month: December 2013

How to Cache Stored Procedure Results

SQL Server, T-SQL
23 Comments
Say you run an online store, and on each item’s page, you need to show related items that people purchased. Let’s take an Amazon page for my favorite rechargeable AA batteries: Frequently Bought Together In a perfect world, we would cache this data in the web/app tier – but back here in the real world,…
Read More

Meet Doug Lane (Video)

Company News, SQL Server
0
Our mysterious employee #2 – where did he come from? How did he get into SQL Server? What does he want to learn in his first year at work with us? The answers to those questions, and more, will reveal themselves in this webcast recording:
Read More

Q: Can High MaxDOP make a query SLOWER?

SQL Server
13 Comments
Answer: Yep, sometimes it can. I used to think that higher degrees of parallelism followed a law of diminishing returns– you could add more threads, but the benefits would taper off. But it’s a bit more complicated than that. Microsoft’s recommendation to be careful when setting maxdop to values over 8 is a warning worth heeding.…
Read More

Vote for yourself in the new Tribal Awards.

SQL Server
0
When you vote for us in Simple Talk’s new Tribal Awards, you’re voting for yourself. Best Free Script – sp_Blitz® – Sure, I started this all by myself a few years ago, but it’s grown into something huge. Scroll down through the change log and get a load of the dozens of contributors who have helped…
Read More

Auto-Scaling SQL Server Always On Availability Groups with Virtualization

Time for a thought exercise. Thought exercises are hard. You’ve got a database application that has bursty and unpredictable loads. Out of nowhere, you’ll suddenly get socked with a large amount of SELECT queries. Due to the way the app is written, you can’t cache the query results – the queries keep changing, and the business…
Read More

Always On Availability Groups, Backup Checksums, and Corruption

The latest version of sp_Blitz® alerts you if you haven’t been using the WITH CHECKSUM parameter on your backups. This parameter tells SQL Server to check the checksums on each page and alert if there’s corruption. But what about corrupt backups? Books Online says: NO_CHECKSUM – Explicitly disables the generation of backup checksums (and the validation…
Read More

Keep it Constrained

Indexing, SQL Server
8 Comments
SQL Server has this fancy feature called constraints. Database constraints are used to restrict the domain (the range of allowed values) of a given attribute. That’s just a funny way of saying: through a set of carefully crafted rules, we control the shape of our universe. Our Test Table We’re going to be testing with…
Read More

Interview with Me on SQL Server Radio

SQL Server
1 Comment
At SQL Rally Amsterdam, I sat down with Matan Yungman for a half-hour interview for the SQL Server Radio Podcast. The podcast is usually in Hebrew, but Matan was nice enough to let me stick with English, heh. Matan and I had a great time. He came with a list of really good questions, and he…
Read More

The Evolution of the Company Logo

Eagle-eyed readers may have noticed a subtle change to our site, swag, and PowerPoint templates over the last few months. Here’s the evolution as seen in our company coffee mugs: Brent Ozar Unlimited® Caffeine Delivery Devices Far left, the one with the heart, is the current one, but the transition is a funny story. Our…
Read More

Database Administrators are Plumbers

SQL Server
1 Comment
It seems a like a stretch. After all, plumbers get called when sinks are running backwards and when toilets and drains are clogged. But, really, the users and developers do the same thing with DBAs that you do with a plumber – when something is broken, we get the call. Unclog Your Database Fast The…
Read More