SQL Server

Six Scary SQL Surprises

SQL Server
1 Comment
In the Happy Database movies, SQL Server is benign and friendly, with no scary surprises lurking around the next corner. In these movies: People work together No-one but the DBA can make changes to production People tell us in advance when they want to change something When query performance degrades, we’re notified about it Third…
Read More

Rolling Averages in SQL Server

Aggregate functions are convenient – they solve a business need and they make development easy. Unfortunately, not all business requirements are so easy to solve. Let’s look at one example: rolling averages. The Rolling Average A rolling average is a simple concept; an average is computed over a fixed subset of data. Rolling average calculations…
Read More

How Does SQL Server Store Data?

SQL Server
60 Comments
Let’s step back and take a look at the big picture.  (Today, I’m writing for beginners, so you advanced gurus can go ahead and close the browser now.  I’m going to simplify things and leave a lot out in order to get some main points across.  Don’t well-actually me.) Microsoft SQL Server databases are stored…
Read More

Why You Should Care About Lori’s New Job

Blogging, SQL Server
3 Comments
Right now is an incredible time to do what you love. Take this one-minute video from Red Bull: It’s chock full of people doing cool, crazy stuff that they’re absolutely passionate about – skating, dancing, shooting hoops, singing – all the stuff the cool kids do. Red Bull’s logo is scattered in throughout the video…
Read More

Why We’re Offering Training for Developers

SQL Server
1 Comment
DBAs have been asking me, “Brent, why do you have a book of Lady Gaga photos on your standing desk?” Also, “Brent, why are you guys offering training for developers instead of training for DBAs?  Have you lost your minds?  Why have you crossed over to the other side?  Have you forgotten that we know…
Read More

Hive Data Warehouse: Lessons Learned (video)

SQL Server
3 Comments
Your company is considering a data warehouse and you’re unsure where to start; with so many tools on the market, it can be difficult to pick a solution. Jeremiah Peschka has designed and deployed several data warehouses using Hive to scale flexibly with data volume and query complexity. Learn what Jeremiah has found in real-life…
Read More

Our 2-Day SQL Server Class in Atlanta in May!

SQL Server
2 Comments
You’re a developer stuck managing a SQL Server that you don’t really understand.  Why is it slow?  You’ve got a hunch that it’s not really your queries, but you’re not quite sure.  You’ve tried adding indexes, but you’re not confident that they’re the right ones.  The hardware guys say they don’t see a problem, but…
Read More

The DBA Comics: @DBAreactions

SQL Server
11 Comments
Database administration is an unusual job because nobody understands what we do.  You know how you get all frustrated when certain things happen, but nobody else understands what you’re thinking? Yeah, me too. I give you @DBAreactions: Twitter and Tumblr. We’ve been working on it for the last few weeks, and we’re having more fun…
Read More

The Okapis of SQL Server Indexes

SQL Server
11 Comments
They are elusive and hard to spot in the wild, but they exist: rare index options that can enhance the performance of your queries. If you have a solid knowledge of index basics and want to add to your collection, this is the session for you! In this 30-minute video, Jes will show you how…
Read More

When a Query Isn’t Quite a Query

SQL Server
2 Comments
Databases exist to store data and answer questions about that data. The way we ask questions has to change based on the database itself – SQL changes between different RDBMS vendors. Things get even stranger when you venture outside the RDBMS world and start storing your data in Hive. Even though Hive Query Language (HiveQL)…
Read More

Choosing the Right SQL Server Version: It’s Trickier than You’d Think

SQL Server
39 Comments
It’s finally time– you’ve been given the thumbs up to upgrade to SQL Server 2012. You’ve selected your SQL Server Edition and worked out your licensing agreement. You’ve sized new hardware in production and sketched out your migration plan. You’re ready to install developer edition in the test environment. You grab your installation media and……
Read More

VMware HA is Not Database Server High Availability

I served with High Availability. I knew High Availability. High Availability was a friend of mine.  VMware HA, you’re no High Availability. See, for us database administrators, high availability means protection when: The system drive fills up because some potato decided to download a bunch of files An operating system or database server update goes…
Read More

Video: Documentation – It Doesn’t Suck!

SQL Server, Videos
1 Comment
Without documentation, you could probably do your taxes, build a new piece of “some assembly required” furniture, or manage a database instance – but you’d probably end up living in prison, living with broken furniture, or living in fear of your servers. Writing documentation might not seem as important or exciting as developing or tuning…
Read More

Documentation: It Doesn’t Suck!

SQL Server
11 Comments
Some parts of our jobs are not glamorous, but necessary. For example, I have to brush Brent’s Bob Dylan wig weekly, to make sure it’s shiny and perfect. Documentation is a task many people roll their eyes at, procrastinate about starting, have a hard time keeping up-to-date, and in general avoid. Stop avoiding it, and…
Read More