Limits vs Goals

T-SQL Tuesday It’s that time again. Kennie Nybo Pontoppidan (b/t) is the host this month and has a fun topic for us.

The daily (database-related) WTF

Database horror stories. Things that make your eyes pop and not in a good way. What a fun topic! But not an easy one for me. Generally, when I see a WTF, I usually just go ahead and blog about it right then. Fortunately, earlier today an interesting question showed up on twitter. One with a common theme.

How many ??? can I have in a ???

It could be databases on an instance, indexes on a table, columns in a table, etc. etc. And in case you were wondering, you can get the answers here.

You see this come up every once in a while. A forum question, a question on #sqlhelp, even in *shudder* your own systems. And the answer always comes back the same: Limits are not goals! Usually accompanied by a few jokes.

But this is a serious concept. Microsoft gives us huge limits, presumably for edge cases. But what happens when you start coming close to those limits? Well, I’ve written about having Too Many Indexes. You start seeing write issues far before you hit the limit for the number of indexes. How about databases? Can you imagine an instance with 32,000 databases? Maintenance would be a nightmare, but beyond that, you’d probably be hitting resource issues long before you hit that limit.

Want an analogy? (I like analogies.) Think of a car. Do you really want to squeeze every single person in that you can? Maybe as a gag, but you wouldn’t want to drive that way.

Continue reading on SQLStudies.com.

54321
(0 votes. Average 0 of 5)
Leave a reply

Your email address will not be published. Required fields are marked *